Using PDF Printer
-
Hey, I have a file path, and from this i want to select a printer on the client by using its name (PDF Printer) and choose to print the file. When the printer is passed a file to print it opens a 'Save File As' dialog box where you choose the save destination and file name of the PDF. I need a way to specify the destination path and filename of the PDF to be saved and to be able to hide this 'Save File As' dialog box so the user never sees it. I am using CutePDF Writer and there is a code sample to help here[^] But i am unable to have any luck Can anybody help with any hints or suggestions Thanks you for your time Chris
-
Hey, I have a file path, and from this i want to select a printer on the client by using its name (PDF Printer) and choose to print the file. When the printer is passed a file to print it opens a 'Save File As' dialog box where you choose the save destination and file name of the PDF. I need a way to specify the destination path and filename of the PDF to be saved and to be able to hide this 'Save File As' dialog box so the user never sees it. I am using CutePDF Writer and there is a code sample to help here[^] But i am unable to have any luck Can anybody help with any hints or suggestions Thanks you for your time Chris
What do you mean by "not having any luck"? What's happening? What's not happening? What does your code look like? Are you typing the Registry path names and values names EXACTLY as shown? Normally, you would go to the products support site for assistance with the component. CodeProject deals with the languages themselves, not 3rd party components... RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-
What do you mean by "not having any luck"? What's happening? What's not happening? What does your code look like? Are you typing the Registry path names and values names EXACTLY as shown? Normally, you would go to the products support site for assistance with the component. CodeProject deals with the languages themselves, not 3rd party components... RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-
hey, i was typing it as shown. i dont have much experience of registry values. First of is all is it possible to make the 'save as' dialog not show and pass information and key presses to it? Cheers Chris
No, you can't prevent it from happening unless the driver exposes any interface to do so. It looks like the only interface supplied by the manufacter of the .PDF Printer Driver is the registry hack. If it doesn't work, then your best bet is to either contact the manufacturer for support on the component (and possibly an update) or find another component that has the (working) functionality you need. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome