apple / cups

Apple CUPS Sources
https://www.cups.org
Apache License 2.0
1.85k stars 453 forks source link

fit-to-page doesn't work with pdf files #3376

Closed michaelrsweet closed 14 years ago

michaelrsweet commented 14 years ago

Version: 1.4.1 CUPS.org User: cyberpatrol

The option fit-to-page doesn't work with pdf files. If I print pdf files which are bigger than the printable area of my printer (HP DeskJet 960C) they are printed in the original size and the bottom of the page is cut.

This bug was already existing with the option fitplot at least in version 1.3.11.

In earlier versions fitplot worked perfectly with pdf files.

michaelrsweet commented 14 years ago

CUPS.org User: mike

Please provide a sample PDF file along with the PPD file for your printer (/etc/cups/ppd/printername.ppd) and any options you are supplying in addition to the "fitplot" or "fit-to-page" option.

michaelrsweet commented 14 years ago

CUPS.org User: cyberpatrol

See the last line (the document number) on page 2 of file 248.pdf. But you can take every pdf file which is printed to the bottom.

These are my default settings: lpoptions -o media=A4 -o outputorder=reverse -o number-up=2 -o prettyprint

For printing pdf files I'm using this command: lp -o number-up=1 -o fit-to-page

These were my default settings for cups 1.3.11: lpoptions -o media=A4 -o outputorder=reverse -o number-up=2 -o prettyprint -o fitplot=false

For printing pdf files with cups 1.3.11 I used this command: lp -o number-up=1 -o fitplot=true

michaelrsweet commented 14 years ago

CUPS.org User: cyberpatrol

HP_DeskJet_960C.ppd is a new PPD after deleting and readding the printer. The previous PPD was created by cups with hplip (hpijs), this one was created by cups with hpcups.

The problem still exists.

michaelrsweet commented 14 years ago

CUPS.org User: mike

OK, are you using Xpdf, poppler, or Ghostscript on your system? Both Xpdf and poppler provide their own "pdftops" program while Ghostscript will have a "gs" program - both are usually installed in /usr/bin.

michaelrsweet commented 14 years ago

CUPS.org User: mike

This STR has not been updated by the submitter for two or more weeks and has been closed as required by the CUPS Configuration Management Plan. If the issue still requires resolution, please re-submit a new STR.

ccding commented 5 years ago

have the same issue after almost 10 years

mabra commented 7 months ago

Now 14Y later and no changes!