Created at 10:58 Jul 23, 2004 by mike, last modified at 10:58 Jul 23, 2004
First, read Adobe's PPD specification. You need to know how PPD files are organized. You want to look at the ImageableArea section of the page size stuff, which defines a bounding box for the area of the page that can be printed on, e.g.:
*ImageableArea Letter/US Letter: "18 36 594 756"
The numbers are the left, bottom, right, and top coordinates on the page in points; 0,0 is the lower-lefthand corner. Floating point numbers are allowed as well.
Second, you can edit either the printer's PPD file in
/etc/cups/ppd, the "original" one in
/usr/share/cups/model, or the source file in the
ppd subdirectory of the CUPS source distribution.
Third, you can't set side margins less than 0.25in with North American sizes and 0.135in with European sizes due to the way the PCL logical page is defined. Yes, this is frustrating, but the only way around that is to use PCL 6 (aka PCL XL) or PostScript.
Download · Home Page · Listing