Click to See Complete Forum and Search --> : Changing printer page size??


Bill Case
05-16-2006, 02:27 PM
Hi;

I've looked in man lpr, a2ps, enscript, CUPS and googled for a way to temporarily change the page size of my printers. Both are postscript and take custom page sizes. The best suggestion I have received so far is to create a new printer in CUPS with the new paper size installed and call them something like HP psc 1315 - custom and Epson stylus color - custom.

There has to be a better solution. I don't want to create a whole new printer profile for a seldom used but necessary page size.

This is for printing text files from the command line only.

Regards Bill

Icarus
05-16-2006, 04:38 PM
This looks like it might be the answer..
The -o media switch allows you to specify the paper size, paper type and paper tray to take from, examples include:
lpr -o media=Letter filename
lpr -o media=A4,MultiPurpose,Transparency filename

http://www.fmrib.ox.ac.uk/computing/docs/printing-linux-commandline.html