Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Leopard CUPS filter cgpdftoraster error



Bill Marr wrote:
Hello everyone,

   I recently wrote a filter for my employer's line of thermal-transfer
printers, which worked okay under Tiger, but now I get the following
error in the CUPS error log:

   cgpdftoraster: got an error from cupsRasterInterpretPPD


I'm not sure why this happens, as everything worked great under Tiger. This happens when upgrading from Tiger to Leopard, and when doing a fresh/full install of Leopard. I have submitted this to the Apple BugReporter (problem ID 5594485) and thought that perhaps some fellow devs here on the mailing list might have some insight or clues as to what's happening.

Run cupstestppd on your PPD file. More than likely your PPD file contains bad PostScript code. You can also do:

    cupsctl --debug-logging

in a Terminal window to get more information logged in the
error_log file.

Basically, cupsRasterInterpretPPD() is responsible for setting
the page device dictionary values - previously we just looked
for "/name value" pairs, but now we actually interpret a (small)
subset of PostScript to get the values.  This is documented here:

    http://localhost:631/help/spec-ppd.html
    http://www.cups.org/documentation.php/spec-ppd.html

--
______________________________________________________________________
Michael R Sweet                        Senior Printing System Engineer
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Printing mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/printing/email@hidden

This email sent to email@hidden
References: 
 >Leopard CUPS filter cgpdftoraster error (From: Bill Marr <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.