CodeItBetter Programming Another VB Programming Blog

How to Print Text in specific position

Posted on January 5, 2009
1
2
3
4
5
6
7
8
9
10
'Miscellaneous - How to Print Text in specific position

Private Sub Main()
    'this example will print "http://codeitbetter.com" in the coordinates 100, 300
    Printer.CurrentX = 100
    Printer.CurrentY = 300
    Printer.Print "hello"
    'use the EndDoc command if this text is the last thing you want to print on the paper
    Printer.EndDoc
End Sub
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


 

No trackbacks yet.