Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there any way to automatically rescale a print job to a paper size supported by the printer even if the application printing has used a different paper size?

I have lot of problems with different clients trying to print US Letter on a printer with A4 paper. It is very easy to miss setting up the correct paper size and then the printer job fails and the printer has to be physically accessed to reset the error. Also any jobs submitted after the error is silently ignored resulting in missing printouts.

I am using Ubuntu and CUPS together with a Konica Minolta network printer.

Ideal CUPS would silently accept any paper size and rescale it to fit into A4 paper and send it to the printer. Is this possible somehow?

Any ideas?

share|improve this question
Yes, it's possible - because I have the opposite problem. – user46971 Dec 20 '11 at 21:50
Do you mean that you don't want automatic scaling and rather have an error instead? – Anders Hansson Dec 21 '11 at 17:28
Yes, I'm getting automatic scaling (from legal to letter) when I'd rather prompt the user to insert the correct paper size. – user46971 Dec 21 '11 at 17:34
Interesting... Are you using CUPS? What printer? – Anders Hansson Dec 21 '11 at 17:36
Yes, I'm using CUPS. The main printer we're testing with is a Lexmark T640. I found a workaround using -o raw and PJL commands, but I'd prefer a way to do it with CUPS options (in case we ever need to print to a non-PJL printer). – user46971 Dec 21 '11 at 17:39

Something that worked for me was going to the CUPS website for the printer (http://localhost:631/printers) and choosing the printer. Then under maintenance choose modify printer. Under that page should be an option for scaling. If not, try the manufacturers PPD file or use Acrobat Reader which scales pages automatically. There probably is an extremely complicated ghostscript command for this but I have yet to figure it out.

share|improve this answer
I'll try to test this out and let you know how it turns out! Thanks! – Anders Hansson Sep 26 '12 at 8:11

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .