-
Printer.Line Question
Hi Everyone,
Why is this not working correctly? I am trying to print a line that is as long as a string of text, but everytime I print the line is about 2/3 the length of the string. I would appreciate any help. Thanks.
Code:
Printer.Line (800, Printer.CurrentY)-(Printer.TextWidth("Attn:" & " " & varMembers(14, Index) & Space(3) & "Acct #:" & " " & varMembers(7, Index)), Printer.CurrentY)
-
Oh. I finally get it.
Use the Printer.Textwidth method to see how long your text is, then build a row of dashes (or whatever) until it matches the textwidth parameter (your primary form also has .TextWidth so
if you are using the same font both places, you can do testing on your form method.)