protected override void AddiPrint(iPrintPrinter printer)
 {
     var proc = new Process
     {
         StartInfo =
         {
             FileName = @"c:\windows\system32\iprntcmd.exe",
             Arguments = " -a no-gui \"" + printer.Port + "\"",
             CreateNoWindow = true,
             WindowStyle = ProcessWindowStyle.Hidden
         }
     };
     proc.Start();
     proc.WaitForExit(120000);
     Log.Entry(LogName, "Return code " + proc.ExitCode);
 }
 protected override void AddiPrint(iPrintPrinter printer)
 {
     throw new NotImplementedException();
 }
 protected abstract void AddiPrint(iPrintPrinter printer);