Advertisement
Guest User

Print sub VB.Net

a guest
Apr 21st, 2012
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 0.19 KB | None | 0 0
  1. Public Sub PrintDocument(ByVal strTxt As String)
  2.     Dim printer As New PCPrint()
  3.     printer.PrinterFont = New Font("Verdana", 10)
  4.     printer.TextToPrint = strTxt
  5.     printer.Print()
  6. End Sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement