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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printing With Common Dialog Control and Win2K

Status
Not open for further replies.

1SorryDog

Technical User
Jul 15, 2002
25
US
I have an app that prints two different documents through the common dialog control. I want 3 copies of the first document and only 1 of the second document. The problem is no matter how many copies I set in commondialog, I only get what currently set on the local machine (Win2K). Example: If the local printer properties are set to 1 copy then that's what I get even though I changed it to 3 when my program runs through the common dialog control. Anyone seen this problem before ? Any suggestions ???

Thanks...

 


The common dialog is only there to receive the input. You need to set the values that the Commdlg returns to the Printer Object in question:

VB.Printer.Copies = CommonDialog1.Copies [/b][/i][/u]*******************************************************
General remarks:
If this post contains any suggestions for the use or distribution of code, components or files of any sort, it is still your responsibility to assure that you have the proper license and distribution rights to do so!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top