[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

cups gets page sizes wrong



Hi,

I'm trying to get cups to print using the correct pages sizes.

I'm running testing and using an hp laserjet 6l with the pcl-6
gimp-print driver.

The values for page sizes / imagable area / etc in the ppd file all
appear to be correct, but when I print a test page for cups, it gives
this (my default page size is set to A4):

Imageable Area

	  Page Size:   8.0x10.67in
	               203.2x270.9mm

          Lower-Left:  0.25x0.17in
		       6.4x4.2mm

          Upper-Right: 8.25x10.83in
	               209.6x275.2mm


The page sizes according to the ppd file (in /etc/cups/ppd/) are:

*DefaultPageSize: A4
*PageSize A4/A4: "<</PageSize[595 842]/ImagingBBox null>>setpagedevice"
*DefaultPageRegion: A4
*PageRegion A4/A4: "<</PageRegion[595 842]/ImagingBBox null>>setpagedevice"
*DefaultImageableArea: A4
*ImageableArea A4/A4:   "18 12 577 830"
*DefaultPaperDimension: A4
*PaperDimension A4/A4:  "595 842"

These values (in points I assume) match exactly what the printer
manual suggests, but fail completely to be what cups is using as per
the above imageable area data.

How can I make cups use the data in the ppd file rather than data from
its (colourful) imagination?

cheers

dc

-- 
David Purton
dcpurton@chariot.net.au

If you, O LORD, kept a record of sins, O Lord, who could stand?
					Psalm 130:3

Attachment: pgpsSX9JH2hn9.pgp
Description: PGP signature


Reply to: