Example

void Sample117() {

   ECLPrinterSettings PrSet('A');

   try {
      PrSet.SetPDTMode(TRUE, "epson.pdt");
      const char *PDTFile = PrSet.GetPDTFile();
      printf("PDT File = %s\n", PDTFile);
      if (PrSet.IsPDTMode())
         printf("PDTMode\n");
      else
         printf("Not PDTMode\n");
      PrSet.SetPDTMode(FALSE);
      PrSet.SetPDTMode(TRUE);
   }
   catch (ECLErr Err) {
      printf("ECL Error: %s\n", Err.GetMsgText());
   }
} // end sample