Saving NSTextView to PDF
Saving NSTextView to PDF
- Subject: Saving NSTextView to PDF
- From: Ben Mackin <email@hidden>
- Date: Mon, 25 Mar 2002 16:52:18 -0800
I have an NSTextView that I need to save as PDF file on the computer. What
he purpose is so that people using my program can write a quick cover sheet
and save it using my program. Then they can choose this cover sheet.
If anyone can point me to some docs that would be great. I tried searching
on Apple's site, but no luck for any objective-c stuff on pdf.
While I am at it, how exactly does print preview convert any kind of a
document to PDF? What I mean is, if I choose Preview from the print menu, a
PDF file will open up (which I can then save in Preview). Is there some
calls I can make to convert files to PDF, or is this done somehow through
the printer drivers?
What I would like to be able to do is let the user select a file on there
hard drive, and my code would, "behind the scenes", create a pdf file from
this (and store it /tmp) and then I can deal with that file. Help on this
would be great as well.
Thanks,
Ben
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.