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

Stroller linux.luser at myrealbox.com
Tue Apr 10 05:58:10 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 my .ppd & the full log for the two print jobs (281 is the  
lpr, 282 from Apple's PDF Preview program).

Stroller.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cups.txt
URL: <https://lists.cups.org/pipermail/cups/attachments/20070410/01a6f25b/attachment-0001.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: iP3000.ppd
Type: application/octet-stream
Size: 280267 bytes
Desc: not available
URL: <https://lists.cups.org/pipermail/cups/attachments/20070410/01a6f25b/attachment-0001.obj>


More information about the cups mailing list