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



David,
 
Thank you.
Not exactly. My printer DOESN' T accept PDF data. As the first mail says, my printer accepts PCL raster command and HPGL2 vector command at the same time. So, I expect the printer driver pdftoMyprinter could render the bitmap content to PCL raster data and transfer vector content to HPGL compatible data at the same time.
 
In other words, the main purpose is specific to some vector drawing application. For example, like CorelDraw and Illustrator. I don't know whether it is still possible? If it isn't, for those old HPGL2 plotter, they will not be used in Mac OS X any more?
 
After browsing some web resources, GNU and FSF, except pdf viewer, I can't see any source mention it. I feel so sadly:-(  Can you provide some hints or directions?
 
>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.
 
Regards,
--Henry
 
 
 
 
 
 
 
 
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

___________________________________________________ 郔陔唳 Yahoo!✽藻撈�r籵�� 7.0 betaㄛ轎愐鋒繚����¦斕湖ㄐ http://messenger.yahoo.com.tw/beta.html

 _______________________________________________
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



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.