示例#1
0
 /// <summary>
 /// Presents card out back of card Printer
 /// </summary>
 public void PrinterCardOutBack()
 {
     //Move Card Out
     if (hsmartprinterid != 0 && printerHasCard)
     {
         Int32 nres2;
         nres2 = SmartComm2.SmartComm_CardOutBack(hsmartprinterid);
         if (printerresponse == SmartComm2.SM_SUCCESS)
         {
             printerStatus   = "Card in back";
             printerresponse = nres2;
         }
     }
 }
示例#2
0
        private int PresetCard(int nres)
        {
            // card out
            if (hsmartprinterid != 0 && nres == SmartComm2.SM_SUCCESS)
            {
                Int32 nres2;
                nres2 = SmartComm2.SmartComm_CardOutBack((long)hsmartprinterid);
                if (nres == SmartComm2.SM_SUCCESS)
                {
                    nres = nres2;
                }

                printerStatus = "Card in back";
            }

            return(nres);
        }