Virtual Printer. Port Forwarding
this time i开发者_Python百科m trying to develop a "printer application" which allow me to transform that input to a xml and pdf format, some research point me into a print port forwarding solution, like this http://www.codeproject.com/KB/printing/PDFWriter.aspx, but at this point i'm stuck, because i don't know how to deal with postscript and how to converted into the desired xml format, if any one have a better idea or can put into the right direction, i will appreciate
The link you provided gives you everything you need to generate PDF. Generating XML is going to require either a postscript-to-XML converter or a print driver that generates XML directly. Unless you can find existing code that converts postscript to XML, I think the print driver would be the easier approach. Or simpler still, you can use this product, which is free for non-commercial use.
精彩评论