CodeItBetter Programming Another VB Programming Blog

How to Set the Printer Font

Posted on January 5, 2009
1
2
3
4
5
6
7
8
9
10
11
12
13
14
'Miscellaneous - How to Set the Printer Font

Private Sub Main()
    With Printer
        .FontName = "Arial"
        .FontUnderline = False
        .FontBold = False
        .FontItalic = True
        .FontSize = "30"
        .Print "hello"
        'use the EndDoc command if this text is the last thing you want to print on the paper
        .EndDoc
    End With
End Sub
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


 

No trackbacks yet.