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: Some Questions about Parsing data from PostScript file



Regarding:
On Oct 27, 2005, at 11:58 PM, Henry Lai wrote:

It looks like PDF is a better candidate for me. Besides, the filter path I need to change to below.
*cupsFilter: "application/pdf  0  pdftoMyprinter"
 
1.Under this path, no matter it is pure bitmap image file or hybrid file, all of them will pipe into pdftoMyprinter and no more pass through rastertoMyprinter. Right? 

What this says is that your printer accepts PDF data and the cups printing system will convert everything to that format and passed to your driver. You will not see cups raster data if this is the only cupsFilter entry in your PPD.

 2.In  Quartz 2D Programming Guide, I found the section"PDF Document Parsing" and
planed to make use of those steps to implement pdftoMyprinter. Does it fit into CUPS's filter architecture? ( calling CGPDFDocumentCreateWithURL, CGPDFDocumentIsEncrypted...)

You can of course use these functions to parse the PDF data passed to you however you should be aware that most of the functions you would need are available in Tiger only and I couldn't say whether there is enough there for your needs. I believe others who are parsing PDF data for reasons similar to yours are choosing to use code that is not part of Mac OS X. 

As I said in my earlier message, readers of this list or others outside of Apple will most likely have information to steer you in a good direction.

David
  
 _______________________________________________
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: 
 >Re: Some Questions about Parsing data from PostScript file (From: Henry Lai <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.