Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2007 Jul : Shellexecute to create a PDF from a Word .DOC
| Subject: | Shellexecute to create a PDF from a Word .DOC |
| Posted by: | "Kerry Frater" (ker..@jcs.co.uk) |
| Date: | Tue, 24 Jul 2007 22:17:01 |
Hi,
Not sure if this is the right group but here goes.
I am looking to convert Word documents into PDFs, but I am looking for a
general mechanism. I have found "conversion" mechanisms on the web which
work via the "Printer" mechanism so if I install the s/w and call the
printer "MakePDF" all I need do is print to "MakePDF".
Now I know that the ShellExecute call allows me to set the lpoperation
parameter to "print".
I was wondering if it is possible to use the call to ShellExecute the file
to "print" to a specific printer.
Or am I looking at an awkward solution to a problem where there's a simpler
solution.
Kerry