Click here to Skip to main content
15,939,853 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have developed an application (C# - VS 2008) that, among other things automatically creates 2 reports. These reports are always in the same format and always going to the same location on our network. In my code I am able to set the "Document.PrinterSettings.PrinterName" to a PDF creator that automatically creates the PDF document but so far I have been unable to bypass the Save As Dialog that pops up. I would like to hard code the file names and save locations so that when the reports have been generated they are auto-saved without user intervention.

Any ideas?
Posted
Updated 27-Jun-11 8:49am
v2

1 solution

Are you using CutePDF? In that case it might not be possible. Try PDF995. Check out this link, this user has the exact same issue as you:

http://www.pcreview.co.uk/forums/help-cutepdf-t2246639.html[^]
 
Share this answer
 
v2
Comments
Eagle8 27-Jun-11 16:08pm    
I'm using neither - the PDF compiler is part of another corporate application called Tempest. I will try the PDF995 solution
Eagle8 27-Jun-11 16:23pm    
Checked out a few of the suggestions cutePDF, PDF995 and PrimoPDF and all of these require separate installations. I know that it probably isn't available, but what I'm looking for is an embeddable solution. Oh well, I just may have to separate out some "spare time" and develop it.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900