How can I form.PrintForm to a .PDF? Maybe a better question is how do I print a form so that I get the normal Windows print dialog box? If I could get that, I could pick Adobe PDF just as I do for Word, Excel, etc.
I am certainly willing to give it a try, but need to know that the CommonDialog works with form.PrintForm. I can not find where it does. Has anyone done this?
Use the common dialog to change the settings for the default printer and then use the .PrintForm. The .PrintForm command uses the default printers current settings to determine how the document is printed. Therefore, if you change those settings you change the values used in the .PrintForm command.
Now, how can I read what the default Windows printer is before I change it? After I print my form, how do I then reset the default Windows printer back to it's original value?
1. Have a look at faq222-2244 to see how to get the best from this forum overall
2. The FAQ button at the top of the page will take you to several FAQs which deal with the Printer object
2. Using the Search button at the top of this window will sjow a number of previous questions (and answers) to this - for instance thread222-1017932
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first
'If we're supposed to work in Hex, why have we only got A fingers?' Essex Steam UK for steam enthusiasts
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.