473,769 Members | 2,348 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

Hi! I am programmaticall y 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_MACH INE\SOFTWARE\Mi crosoft\Windows
NT\CurrentVersi on\Print\Printe rs\Adobe PDF.
I need to programmaticall y 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 2284

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
4488
by: Andy W | last post by:
I'm wanting to automate Adove Acrobat Reader using Com thru Python and win32com, but i can't find any documentation for the Adobe stuff? Has anyone done anything with Acrobat COM ? I've searched Google groups and the web but am unable to find anything. Thanks Andy
3
2020
by: Hank Reed | last post by:
I have been using the ShellExecute command for about a year to print out a list of PDF files. It's a great capability. Of course, the documents are actually printed by the Adobe application. We have recently added a new, high speed, black and white, printer which would be perfect for the engineering documents I want to print. Does anyone know if the destination printer can be selected when using ShellExecute? There is a string field...
6
5271
by: jdph40 | last post by:
We recently had to upgrade the computers in our company. Now our office's website on our company intranet no longer recognizes reports saved in snapshot format. We get an error message that the file we are downloading "cannot be opened by the default program. It is either corrupted or it has an incorrect file type." We had no problem until our upgrade, but our IT department says there's no fix. My question is concerning Adobe Acrobat....
1
1638
by: pigge79 | last post by:
Hi there, We are thinking of developing a product that needs to be able to parse data printed via some printer driver. The data will then be used to fill a PDF form. We believe the printer solution will be best as there are multiple applications that we need to retrieve data from. This is a brand new area for us, so I'm basically wondering if there is any out-of-the-box printer drivers that create files with a structure that we can...
11
2071
by: saintor1 | last post by:
I can't believe how much time I spent on this. I finally found the cause and it was Adobe 7.0 Professional. What happened was that a database could be opened once, but the subsequent users got a message that it was already opened in exclusive mode. First I fighted with all kind of permissions - no result. At the end of my research, I found that my CUSTOM menu bar was
3
3402
by: billelev | last post by:
Hi there, I have some code that prints a report to a pdf driver (Adobe). I am using this code on two different machines, and hence two different installations of Access. On one machine the pdf prints in color, on the other it prints only in black and white. I have traced the problem to the Adobe PDF printer properties menu WITHIN Access. On the machine that works, the color button is selected on the "Paper/Quality" tab by default,...
3
2009
by: veaux | last post by:
Adobe has WAY to many forums and I wasn't sure which was correct so thought I'd try here first. I'm trying to see if there is a product that will allow us to create a large (1,100 pg) directory, similar to creating one with MS Word. We have Access tables and want to create a healthcare provider directory. Table has ~30,000 records. We'd also want to create a master index and TOC. We want to set this up so each time we update the...
1
6251
by: billelev | last post by:
Here is some code that I have adapted slightly. It allows a report to be printed to a specific location. It works by calling SaveReportAsPDF and specifying the access report name, and the root directory to which the filename should be saved. The routine adjusts registry values to achieve its aim. Now, it works, but not quite as I would like it. I originally thought that I would be able to adjust a registry key (such as...
0
1419
by: shaif | last post by:
Hello Friends, I am facing a problem to create PDF from excel to specific location by using Adobe PDF Printer ib VB. I used code: Dim xlbook As Excel.Workbook . . . . xlbook.PrintOut , , 1, 0, "Adobe PDF", True, True, "C:\Test.pdf"
0
9586
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10210
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9861
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7406
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5298
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5446
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3956
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3561
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2814
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.