Click to See Complete Forum and Search --> : printing..how to?
jrap
Nov 11th, 1999, 02:41 AM
OK, I need help on how I can print a certain document with the Prinet Box that comes with the Common Dialog Control.
I have
CommonDialog1.showprint
But how do I print a document with the settings they made in the showprint (ie- How many pages etc)
Thanks
Juan Carlos Rey
Nov 11th, 1999, 09:08 AM
Here is how: -------
CommonDialog1.ShowPrinter 'Show Printer Dialog
BeginPage = CommonDialog1.FromPage
EndPage = CommonDialog1.ToPage
NumCopies = CommonDialog1.Copies
For m = 1 To Numcopies
Printer.Print Text1.Text
Printer.EndDoc 'Send a end document to the Printer
Next m
-------
I think you can figure out OK whith this, but if you need more help, see post #009564 in this forum. (I copied this post from there- I'm lazy) :)
[This message has been edited by Juan Carlos Rey (edited 11-11-1999).]
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.