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
Printer.EndDoc
End
Sub