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!

how can I print??

Status
Not open for further replies.

octane

Programmer
Aug 19, 2001
12
MX
I have this example:

Private Sub Command2_Click()
Dim objPrint As Printer
CommonDialog1.Flags = cdlPDDisablePrintToFile
CommonDialog1.Copies = 3
CommonDialog1.PrinterDefault = True
CommonDialog1.ShowPrinter

'what's next??

MsgBox "The default printer is:" & Printer.DeviceName
End Sub

but I don't know how to print, I need to print a text box or just give me an example to print a messaje.

Thanx for your cooperation!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top