[Poppler-bugs] [Bug 73452] New: pdftocairo doesn't seem to set page size

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jan 9 13:17:54 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=73452

          Priority: medium
            Bug ID: 73452
          Assignee: poppler-bugs at lists.freedesktop.org
           Summary: pdftocairo doesn't seem to set page size
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: korobkin+lpad at gmail.com
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: cairo backend
           Product: poppler

Created attachment 91778
  --> https://bugs.freedesktop.org/attachment.cgi?id=91778&action=edit
tabloid1.pdf

In brief, if I print a 11x17 size PDF to a printer, it prints to 11x17 when the
renderers are pdftops or gs. It prints a cropped image on a Letter size when
pdftocairo is specified. 

cups-filters 1.0.43, 
CUPS 1.6.4, 
Ubuntu 12.04, 
poppler 0.24.5, 
libcairo 1.12.16. 

Printer Ricoh MP C3300 with PostScript PPD.

How to reproduce: 
1. Send attached file with this command line:
lp pdftops-renderer=pdftops ./tabloid1.pdf
2. Send attached file with this command line:
lp pdftops-renderer=pdftocairo ./tabloid1.pdf

First job will be printed on 11x17 page. 
Second job will be printed on default page size, Letter, with only part of the
original page being visible (and no scaling was done).

Here is the pdf setup section from pdftops and pdftocairo outputs:

pdftops:
%%BeginPageSetup
%%PageOrientation: Portrait
792 1224 pdfSetupPaper
pdfStartPage
0 0 792 1224 re W
%%EndPageSetup

pdftocairo (looks like there are comments only, no actual setup):
%%BeginPageSetup
%%PageOrientation: Portrait
%%PageMedia: Tabloid
%%PageBoundingBox: 63 56 737 1163
%%EndPageSetup

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20140109/a6c5d525/attachment.html>


More information about the Poppler-bugs mailing list