Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

form.PrintForm to a .PDF?

Status
Not open for further replies.

UBfoolin

Programmer
Nov 29, 2001
32
US
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.

Thank you for your time.
 
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?

Thank you
 
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.

Hope this helps

Harleyquinn

---------------------------------
For tsunami relief donations
 
Okay, that works! Thank you.

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?

Thank you
 
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top