开发者

How to print PostScript from an iPad programmatically?

开发者 https://www.devze.com 2023-03-15 00:02 出处:网络
I\'m comfortable coding in PostScript, which is a stack开发者_运维百科-based language for printing on which PDF is based. I\'d sure like to be able to generate my PostScript code as a string and then

I'm comfortable coding in PostScript, which is a stack开发者_运维百科-based language for printing on which PDF is based. I'd sure like to be able to generate my PostScript code as a string and then send it to a printer from inside my iPad app.

But is there a way to do so?


I'm not an iOS developer, and haven't look at AirPrint at all, so this might be a naive comment. Could you just open up port 9100 and fire the data directly at the IP address of the printer?


There ought to be a way to convert PS to PDF by slapping on a header, assuming the PS is simple enough. Once the file is a PDF, you should be able to convey it to iBooks.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号