/* ----------------------------------------------------------------- */ /// /// Printer /// /// <summary> /// Initializes a new instance of the Printer class with the /// specified arguments. /// </summary> /// /* ----------------------------------------------------------------- */ private Printer(PrinterInfo2 core) { Environment = this.GetEnvironment(); RetryCount = 5; _core = core; }
public static extern IntPtr AddPrinter( string pName, uint Level, ref PrinterInfo2 pPrinter );