[cups.general] ImageableArea.origin on Mac OS X

Stroller linux.luser at myrealbox.com
Tue Apr 10 04:42:43 PDT 2007


Hi there,

I'm trying to print an A4 sheet to my Canon Pixma ip3000 using the  
command line on Mac OS X (10.4.8). This printer is a consumer inkjet  
of about 3 years age, and the document prints perfectly from Apple's  
Preview.app. When printing from the command-line, however, this  
landscape document prints about 1cm too far to the right, b0rking all  
my margins.

When I set "LogLevel debug" in /etc/cups/cupsd.conf I find the  
difference to be thus:

   $ grep -i origin /var/log/cups/error_log
   D [09/Apr/2007:19:17:22 +0100] [Job 281] ImageableArea.origin.x =  
18.1417, ImageableArea.origin.y = 14.1732, ImageableArea.width = 576,  
ImageableArea.height = 769.323
   D [09/Apr/2007:19:18:19 +0100] [Job 282] ImageableArea.origin.x =  
-0, ImageableArea.origin.y = 0, ImageableArea.width = 595.276,  
ImageableArea.height = 841.89
    $

   (the first document (281) was printed using the command line, `lpr  
-o orientation-requested=4,media=DMSIZE_MINUS_A4 -P iP3000   
invoice_00704.pdf`, the second (282) from Preview. Note that I have  
tried using the default A4 media, too, and that made no difference.)

This offset (approximately) does appear in the printer's PPD file,  
but strangely not for this particular size of paper:

   $ grep 18.14 /etc/cups/ppd/iP3000.ppd
   *ImageableArea na-letter/US Letter: "18.14 14.17 594.14 783.50"
   *ImageableArea na-legal/US Legal: "18.14 14.17 594.14 999.50"
   $

Does anyone have any suggestions, please? I guess I installed the  
printer either using Apple's Printer Utility or using a software  
download from Canon's site. Would I be advised to edit the  
"ImageableArea" entry & see if it makes any difference? Is there any  
way simply to tell CUPS (or lpr) to change the ImageableArea.origin.x  
& ImageableArea.origin.y both to 0, just for this job?

I attach the full log for the two print jobs - 281 is the job I  
printed using `lpr`, 282 from Apple's PDF Preview program. I was  
going to include the .ppd, but it has a section entitled "%APLWORKSET  
START", some XML and a big bunch of text-encoded data which push it  
over the size limit for the list. Please let me know if you want to  
see a copy & I'll post it on the web somewhere.

Stroller.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cups.txt
URL: <https://lists.cups.org/pipermail/cups/attachments/20070410/27f0ff4f/attachment-0001.txt>


More information about the cups mailing list