Adding custom paper size?

Martin mprowe at gzunder.homeip.net
Mon Dec 19 06:33:49 PST 2011


Hi,

I'm new to CUPS printing so please be gentle....

I am running SuSE 11.4_64 and I want to use a Canon MP600. In general, things are running okay, but (isn't there always!) I'd like to add a custom page size so that I can print UK cheque stationary from a LibreOffice mail merged template.

I have tried adding a new paper size to the canonmp600en.ppd file supplied in the CanonLinux_Print_Filterv270tgz package. That did not work - don't know why! So I then tried hi-jacking an existing paper size and changing the four sets of parameters (*PageSize, *PageRegion, *ImageableArea & *PaperDimension) to reflect the real-world cheque size that I wish to use (89x165mm / 252x468point).

That sort'a works. It prints to the correct media slot (cassette) in the correct orientation (landscape), but what I can't get right is the scaling? It seems to be "fitting" the 89x165mm dimensions into the original (hi-jacked) page size.

Are there another set of page sizes defined for this printer, other than the ppd file? For example, I am wondering if the binary back-end or filter applications maintain page size information? So, no mater how hard I try and change them in a ppd, everything is going to get scaled to fit on this hidden/background table of page sizes?

Looking forwards to any thoughts or comments.

Regards, Martin






More information about the cups mailing list