Live with Dot Net Just another Programming weblog

How to get System’s active printer name

Posted on April 22, 2009

Here is the code to get the System's active printer name:

1
2
3
4
    Private Function GetActivePrinter() As String
        Dim ps As New Drawing.Printing.PrinterSettings()
        Return ps.PrinterName
    End Function

About admin

No description. Please complete your profile.
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


No trackbacks yet.