Re: Graphics to PDF file?
Re: Graphics to PDF file?
- Subject: Re: Graphics to PDF file?
- From: "Andre John Mas" <email@hidden>
- Date: Tue, 10 Jul 2001 12:38:20 -0400
Examining the problem I think I might have come up with a solution, but I
will
have to check it out when I get my Mac in front of me. The solution appears
to be to use NSPrintOperation to do the job. Although this is typically
intended for printing to a printer, I could set up the NSPrintInfo to
specify
a file to print to instead. If anyone has managed to do this successfully
I would appreciate knowing.
Andre
Andre Mas wrote:
>
Hi,
>
>
I am wanting to create a program that reads some data from a file,
displays
>
it to some
>
virtual 'paper' and then save it as a PDF. This could either be in the
form
>
of a stand alone
>
application or a plug-in to preview, if it supports plug-ins. Does anyone
>
know how I
>
would go about this? Are there any examples that demonstrate how to do
>
this?
>
>
The application is intended to work in the form of a dropplet, so I don't
>
particuarly
>
want the user to have to go through the printer dialog.
>
>
Andre