[cups.general] Scale documents from one page size to an other
h.blischke at acm.org
Fri Nov 2 09:54:42 PDT 2012
Alex Dyas wrote:
> Env - Ubuntu 12.04, Cups 1.5.3
> I have successfully managed to use the lpr command to print an A4 PDF
> scaled up to A3 paper using this command :
> $ lpr -o fitplot -o media=A3 someA4file.pdf
> What I would like is this flexibility available from any GUI application.
> Meaning that no matter what size the page has been defined as in the
> application, that the user may print it scaled up, or down, to any other
> size paper.
> I have looked at using the lpoptions command, and creating a new instance
> of the printer with these options hard coded:
> $ lpoptions -p
> Hewlett-Packard-HP-Color-LaserJet-CP5520-Series-2-Socket/a42a3 -o fitplot
> -o media=A3
> But this doesn't work, the pages always come out unscaled even when
> directed to A3 paper. I have checked in /etc/cups/lpoptions and the
> options are there.
> Can anyone suggest what I'm doing wrong, or an other approach? This has
> to be application agnostic.
> Thanks in advance,
It depends on the filter chain involved if you will have a chance to force
the scale to fit behaviour.
Set the log level to debug (cupsctl --debug-logging), print a test PDF, and
post (an URL to) the portion of the error_log that contains all the messages
related to the testjob.
More information about the cups