Example #1
0
 /// <summary>
 /// Create a new printer object
 /// </summary>
 /// <param name="po">printer object</param>
 public static void New(ref PrinterObject po)
 {
     if (po != null)
     {
         po = PrinterObject.Create(new PrinterVersion(po.CurrentDirectory, "code.prt"));
     }
     else
     {
         po = PrinterObject.Create(new PrinterVersion(Path.Combine(PrinterObject.PrinterDirectory, "languages"), "code.prt"));
     }
     alreadyOpen = false;
 }