Private Sub Detail_Print(Cancel As Integer, PrintCount As Integer)
' Specify unit of measurement for coordinates on a page...
Me.ScaleMode = 5 ' Specify that measurement occur in inches.
Me.DrawWidth = 8 ' Width of the line (in pixels). Note: Some printers do not accept odd numbers.
' Draw the lines with the Line method.
Me.Line (5.5, 0)-(5.5, 21), 0
Me.Line (7.5, 0)-(7.5, 21), 0
Me.Line (9.5, 0)-(9.5, 21), 0
End Sub
|