Mailing Lists: Apple Mailing Lists

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

Some Questions about Parsing data from PostScript file



Hello Everyone,

 

 

My printer, it is a Laser engraver, which can accept PCL raster command and HPGL vector command.

 

1.Because that, I had implemented a raster driver which serves bitmap image file only. But for other hybrid files, like .cdr or .ai, which include bitmap and vector data, I also want to implement a driver to filtering PostScript file to parsing raster and vector data. Is it possible?


2.I had successfully let the bitmap image file to output to my printer. And the filter path I added in PPD file is:
*cupsFilter: "application/vnd.cups-raster 0 rastertoMyprinter"

 

If I want to add the parsing PostScript driver to PPD file and let it and rastertoMyprinter driver exist at the same. Is below filter path correct?
*cupsFilter: "application/vnd.cups-postscript 0 posttoMyprinter"


3.Any sample is good for me to achieve parsing PostScript file and get raster and vector data?
(At least, I can separate this two kind of data from PostScript.)


Regards,
-

___________________________________________________ 郔陔唳 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.