You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2016/07/09 11:08:10 UTC

[jira] [Comment Edited] (PDFBOX-3117) Left margin cut off when printing

    [ https://issues.apache.org/jira/browse/PDFBOX-3117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15369060#comment-15369060 ] 

Tilman Hausherr edited comment on PDFBOX-3117 at 7/9/16 11:08 AM:
------------------------------------------------------------------

PDFBOX-3117.pdf is the file I created.

PDFBOX-3117-1468001565.pdf is from Frank Malenfant who created it to be printed on a Zebra ZT230 label printer.

Both files are cut off at the left when printing on my HP1020 printer on ordinary A4 paper with this code:
{code}
                PrinterJob job = PrinterJob.getPrinterJob();
                job.setPageable(new PDFPageable(document, Orientation.PORTRAIT, false, 0));
                if (job.printDialog())
                {
                    job.print();
                }
{code}



was (Author: tilman):
PDFBOX-3117.pdf is the file I created.

PDFBOX-3117-1468001565.pdf is from Frank Malenfant who created it to be printed on a Zebra ZT230 label printer.

Both files are cut off at the left when printing on my HP1020 printer on ordinary A4 paper with this code:
{code}
                PrinterJob job = PrinterJob.getPrinterJob();
                job.setPageable(new PDFPageable(document, Orientation.PORTRAIT, false, 0));
                if (job.printDialog())
                {
                    job.print();
                }
{code}


> Left margin cut off when printing
> ---------------------------------
>
>                 Key: PDFBOX-3117
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3117
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 1.8.10, 1.8.11, 2.0.0
>            Reporter: Tilman Hausherr
>              Labels: printing
>         Attachments: PDFBOX-3117-1468001565.pdf, PDFBOX-3117.pdf
>
>
> This is about the margin problem when printing that was mentioned on the user mailing list. What I know at this time:
> - media box is (0 0 233.29 3600)
> - used fonts: Times-Roman and ArialUnicodeMS not embedded
> Effect happens with a real printer, but not when printing to PDF or to XPS.
> First todo is to create such a file in the hope of getting the effect because the file can't be shared.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org