GetPrinter (winspool)
Last changed: -80.120.27.82

.
Summary
Retrieves information about a specified printer.

C# Signature:

    [DllImport("winspool.drv", EntryPoint = "GetPrinterA", SetLastError = true,
         CharSet = CharSet.Ansi, ExactSpelling = true,
         CallingConvention = CallingConvention.StdCall)]
    private static extern bool GetPrinter(IntPtr hPrinter, int dwLevel,
        IntPtr pPrinter, int dwBuf, out int dwNeeded);

VB Signature:

TODO

User-Defined Types:

None.

Alternative Managed API:

Do you know one? Please contribute it!

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Documentation
getprinter on MSDN