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 2014/04/18 09:06:14 UTC

[jira] [Created] (PDFBOX-2033) Narrow long pdf is printed blank

Tilman Hausherr created PDFBOX-2033:
---------------------------------------

             Summary: Narrow long pdf is printed blank
                 Key: PDFBOX-2033
                 URL: https://issues.apache.org/jira/browse/PDFBOX-2033
             Project: PDFBox
          Issue Type: Bug
          Components: Rendering
    Affects Versions: 2.0.0
         Environment: W7
            Reporter: Tilman Hausherr


Based on the post of Norbert Sándor to the user list:

When printing a 198.425 x 1700.787 sized page (70 x 600 mm) using new PDFPrinter(pdfDocument, printJob).silentPrint() to a virtual printer (e.g. PDFCreator or CIB), then the resulting PDF has a page size of 8,26x11,69 and the content is horizontally centered on the page. I was able to reproduce the problem, and also to print on a virtual printer that creates new PDFs of that size, by using the longest constructor of PDFPrinter(), but then the output is blank.

While it is probably irrelevant to print a PDF to a PDF, the problem might make sense when printing to a cash register receipt printer.



--
This message was sent by Atlassian JIRA
(v6.2#6252)