Ribbon for WinForms | ComponentOne
C1.Util.Win Namespace / Win32 Class / OpenPrinter Method

In This Topic
    OpenPrinter Method (Win32)
    In This Topic
    Syntax
    'Declaration
     
    
    Public Shared Function OpenPrinter( _
       ByVal printerName As String, _
       ByRef hPrinter As IntPtr, _
       ByVal pDefaults As IntPtr _
    ) As Boolean
    public static bool OpenPrinter( 
       string printerName,
       ref IntPtr hPrinter,
       IntPtr pDefaults
    )

    Parameters

    printerName
    hPrinter
    pDefaults
    See Also