I'm currently working on an app which needs to open files in their
native application, print to a PDF (temp file) and then load the PDF
and programmatically manipulate it. The main issue I am having is
finding the correct API for implementing the printing (saving to a
PDF) portion.
Essentially this is the "Print" action found in Finder so I expected
to find something appropriate in "Launch Services" but that doesn't
seem to contain what I need. I figured I could create a default
printer that prints to temp PDF files, fire off a "print method" that
would load the native app and print to the default printer, look in
the temp folder for the new PDF, load that into my app, do what I need
to do with it and then delete the temp file.
Sounds easy in theory, but I'm just not seeing what I need in the
standard APIs, either Cocoa or Core Foundation.
Any ideas or nudges in the right direction are greatly appreciated.
Thank you,
Jeff
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com