changing/scaling paper size in CUPS on OS X?

Jurgen poddie80 at gmx.de
Mon Oct 22 01:40:56 PDT 2007


Hi there,

I have a project I would like to do with CUPS on Mac OS X 10.4 Server.

I have several virtual printers set up and shared on the server, clients can print on these printers and depending on which virtual printer they chose, the print comes out of the correct paper tray of the printer (there are 8 different types of media loaded).

There are two types of print job I have not yet been able successfully implement:

1. a print job from a database application can only be output to DIN A4 format. However, I want this to be printed on A5 media in the printer. So what I would like CUPS to do is to scale the A4 print job down 1:2 and print it on the A5 media.

Is this possible?

2. same database application prints invoices in fixed layout. However, the media the invoices are printed on has a special layout. Unfortunately, the print job overprints the media layout. A solution to this is to set the print size of the database application (under Mac OS X's page setup) to 80%, everything is a little smaller but looks perfect on the media.

Is it possible to set up the virtual printer pointing to this media to always print to 80%?

Furthermore, can I somehow "hardcode" in CUPS that page 1 is printed from media bay x, while all following pages are printed from media bay y?

Thanks in advance for anybody who can shed some light on these issues! I'm not very familiar with CUPS other than what I can configure via web interface...

Greetings from germany,

-- Jurgen




More information about the cups mailing list