| | |
Printing in VB
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Mar 2009
Posts: 832
Reputation:
Solved Threads: 152
The simple answer is...
Good Luck
Visual Basic 4 / 5 / 6 Syntax (Toggle Plain Text)
Printer.Print Text1.Text
Good Luck
If anyone has helped you solve your problem, please mark your thread as solved.
Thanks
Thanks
•
•
Join Date: Mar 2009
Posts: 832
Reputation:
Solved Threads: 152
A couple of ways...
or by using the common dialog control
Good Luck
Visual Basic 4 / 5 / 6 Syntax (Toggle Plain Text)
Dim P As Printer Debug.Print Printer.DeviceName For Each P In Printers Debug.Print P.DeviceName If P.DeviceName = "The Name of the printer" Then Set Printer = P Exit For End If Next P Debug.Print Printer.DeviceName
Visual Basic 4 / 5 / 6 Syntax (Toggle Plain Text)
Debug.Print Printer.DeviceName CD.ShowPrinter Debug.Print Printer.DeviceName
Good Luck
If anyone has helped you solve your problem, please mark your thread as solved.
Thanks
Thanks
![]() |
Similar Threads
- edges of print missing when printing web pages (Web Browsers)
- Windows 2000 Adv Server and "Printing Subsystem" (Windows NT / 2000 / XP)
- Problem printing from IE6 (Web Browsers)
- Mac10.3 Printing Problems (OS X)
- WinXP, RH9, Samba, and Printing (*nix Software)
- Printing pictures (Windows NT / 2000 / XP)
- Linux printing questions (*nix Hardware Configuration)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: creating a license ?
- Next Thread: im looking for a Point of Sale System that made in Vb?.
| Thread Tools | Search this Thread |
* 6 429 2007 access activex add age append application basic beginner birth bmp calculator cd cells.find click client code college column component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report retrieve save search sendbyte sites sort sql sql2008 sqlserver subroutine table tags textbox time urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows





