开发者

How to start writing a virtual printer for Mac OSX?

开发者 https://www.devze.com 2023-04-13 01:23 出处:网络
I am new to mac OS world. Please suggest me how to start writing for a virtual printer which fulfill the following requirement:

I am new to mac OS world. Please suggest me how to start writing for a virtual printer which fulfill the following requirement:

  • Software installation process should install it on the target system as a printer driver which should be available for selection from any application installed on the target system.
  • Can export image(can be any file type like word document, image etc) to pdf.

Welcome for providing any suggestions like how to go for it(Api's, Framework开发者_开发知识库s) or any links for proof concept projects/content which can help me out.


OS X comes with PDF printer support built-in. You don't need to build anything if you select print to PDF in the standard OS X application Print dialog. You can also easily supply links to specific directories or scripts to run in conjunction with printing to PDF. Google for OS X PDF Services.


After lot of research I have found that below link and knowledge of cups(www.cups.org/)will give you great help to create your own custom virtual printer.

Please refer to this link:- http://developer.apple.com/library/mac/#samplecode/SampleRaster/Listings/sampletopdf_c.html#//apple_ref/doc/uid/DTS40009295-sampletopdf_c-DontLinkElementID_17

Also search for "CUPS-PDF print to pdf" great help guys.

0

精彩评论

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