Make your own free website on
Print Text In Specific Position


Add 1 Command Button to your form.

Form Code

Private Sub Command1_Click()
' this example will print "hello" 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
End Sub

Go Back