Exemple #1
0
 public static int PrinterOpen(int nInterface, string szPortName, int nBaudRate, int nDataBits, int nParity, int nStopBits)
 {
     if (Is64Bit())
     {
         return(BXLAPI_x64.PrinterOpen(nInterface, szPortName, nBaudRate, nDataBits, nParity, nStopBits));
     }
     else
     {
         return(BXLAPI_x86.PrinterOpen(nInterface, szPortName, nBaudRate, nDataBits, nParity, nStopBits));
     }
 }