-
printer object
Printer.Print
All I'm printing are first name last name birthdate
ie
Jamie Gartner 2000/07/02
William Tell 1896/20/06
May West 1890/21/01
I want it to align in 3 columns..can't remember the syntax
tab(bla bla) I think or
maybe I should use spacers..
Jamie Gartner 2000/07/02
William Tell bla bal
etc etc etc
anyone?
-
If you want each row to be aligned then use the CurrentX property of the Printer Object, i.e.
Code:
Private Sub Command1_Click()
Dim nCount As Long
Dim nCol As Long
For nCount = 1 To 10
For nCol = 1 To 5
Printer.CurrentX = Printer.ScaleLeft + ((Printer.ScaleWidth / 5) * (nCol - 1))
Printer.Print "Column" & nCol;
Next
Printer.Print
Next
Printer.EndDoc
End Sub