|
Hi! I am programmatically converting Excel to PDF using Adobe PDF printer
installed with Adobe Acrobat 6 and above.
When I initiate Print command for this printer, a window comes up which
allows users to pick a location that’s different than the one specified in
the Port’s settings which I can read off the registry
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Print\Printers\Adobe PDF.
I need to programmatically take the PDF file and upload it to a network
share.
I am thinking of using FileWatcher to monitor the new location, so when the
file is added I can move it.
How can I intercept this new PDF file location? Is there anything I can do
with System.Drawing.Printing? I’ve been trying to figure this out with no
success. I’ve run some samples but they seem to be geared towards regular
printers.
Is there anything else I can use to convert Excel to PDF with the following
requirements?
1) Must have API's I can call from a C# application
2) Does not have to be installed on user workstations - I need to include it
with my C# application
3) Conversion must be completely silent and I have a total control over the
resulting file name and location.
4) The API should be able to report when conversion is completed.
Infinite thanks in advance,
--Michael |