Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change printer font
Message
From
02/04/2003 16:35:52
 
 
To
All
General information
Forum:
Visual Basic
Category:
Other
Title:
Change printer font
Miscellaneous
Thread ID:
00773272
Message ID:
00773272
Views:
47
Can someone tell me how to change the font in the following code? I need a font where all the characters are the same length.

Thanks

Private Sub mnuPrint_Click()
Dim BeginPage, EndPage, NumCopies, i

CommonDialog1.CancelError = True
On Error GoTo ErrHandler
CommonDialog1.ShowPrinter
BeginPage = CommonDialog1.FromPage
EndPage = CommonDialog1.ToPage
NumCopies = CommonDialog1.Copies
Printer.FontSize = 12
For i = 1 To NumCopies
Printer.Print txtTerm.Text
Printer.EndDoc
Next i
Exit Sub
ErrHandler:
Next
Reply
Map
View

Click here to load this message in the networking platform