public static int ConnectPrinterEx(int nInterface, string szPortName, int nBaudRate, int nDataBits, int nParity, int nStopBits)
 {
     if (Is64Bit())
     {
         return(BXLLApi_x64.ConnectPrinterEx(nInterface, szPortName, nBaudRate, nDataBits, nParity, nStopBits));
     }
     else
     {
         return(BXLLApi_x86.ConnectPrinterEx(nInterface, szPortName, nBaudRate, nDataBits, nParity, nStopBits));
     }
 }