by Bj?rn ?kesson (4 Submissions)
Category: Miscellaneous
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Wed 5th April 2000
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Print in VB. Simple code showing how to print text to the default printer.
'this decides the position of the text
Print.CurrentX = 1000
Print.CurrentY = 1000
'Printer print this, and you can put in text1 instead of "This is pri...."
Print.Printer = "This is printed by your application in VB, Have a nice day"
'End Printer session
Print.EndDoc
End Sub
No comments have been posted about Print in VB. Simple code showing how to print text to the default printer.. Why not be the first to post a comment about Print in VB. Simple code showing how to print text to the default printer..