[Okular-devel] [kdelibs] [Bug 332331] PDF margins are incorrect when printing because of fit-to-page option
pres1234 at teewars.org
pres1234 at teewars.org
Fri Mar 21 04:06:14 UTC 2014
https://bugs.kde.org/show_bug.cgi?id=332331
pres1234 at teewars.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|general |print-dialog
Version|0.18.3 |4.12.3
Product|okular |kdelibs
--- Comment #4 from pres1234 at teewars.org ---
> I think if you edit the ppd file by hand it should be possible:
> /etc/cups/ppd/yourpostscriptprinter.ppd
>
> but I never tried this.
Thanks for pointing that out. I set the hardware margins to "0 0 612 792"
within my ppd file. Before printing, this appeared as if it would work. Under
the printer "Properties" in the print dialog, all of the margins had been set
to 0 (automatically) and the bounding box in the small preview next to it
exactly matched the page size, but when printing, the margins were still off as
before. Setting the margins to 0 explictly within the print dialog (with a
normal ppd) still results in the correct size being printing, so I'm not sure
what's different between the two.
I'm done fooling around with this for now (wasted too much ink/paper). The best
option would be to have a way to disable the "fit-to-page" option sent to CUPS.
Since that doesn't seem possible currently, I'll just print using lp from the
command line.
Also moved this under kdelibs/print-dialog, since it's a better fit there. This
isn't an issue specific to Okular.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Okular-devel
mailing list