471,071 Members | 913 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,071 software developers and data experts.

Determining location of Adobe PDF printer output (C# 1.1).

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

Apr 18 '06 #1
0 2083

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Andy W | last post: by
3 posts views Thread by Hank Reed | last post: by
1 post views Thread by pigge79 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.