[cups.development] Custom Page Size

Michael R Sweet msweet at apple.com
Fri Apr 18 09:08:06 PDT 2008


Kai Zhu wrote:
> I cannot print with custom margin.
> 
> I want to print one job with custom page size in Mac OS 10.4.11(Intel), CUPS 1.1.23. In Page Setup panel, I set options as below:
> Page Size: width to 18.00cm, height to 27.00cm;
> Printer Margins(User defined) : Left to 4.00cm, Top to 0.42cm, Right to 0.63cm, Bottom to 0.42cm.
> 
> The problem is that left margin of printing result is not 4.00cm, but 0.63cm.
> Why is real left margin not the defined margin?

The margins passed to the driver are the ones that come from the
HWMargins keyword in the PPD file.  The margins you enter in the UI
only affect formatting of content by applications.

-- 
______________________________________________________________________
Michael R Sweet                        Senior Printing System Engineer





More information about the cups mailing list