Esempio n. 1
0
 public static bool ConnectUsb()
 {
     if (Is64Bit())
     {
         return(BXLLApi_x64.ConnectUsb());
     }
     else
     {
         return(BXLLApi_x86.ConnectUsb());
     }
 }
Esempio n. 2
0
 public static bool RFIDCalibration()
 {
     if (Is64Bit())
     {
         return(BXLLApi_x64.RFIDCalibration());
     }
     else
     {
         return(BXLLApi_x86.RFIDCalibration());
     }
 }
Esempio n. 3
0
 public static bool RFIDPassword(string OldAccessPwd, string OldKillPwd, string NewAccessPwd, string NewKillPwd)
 {
     if (Is64Bit())
     {
         return(BXLLApi_x64.RFIDPassword(OldAccessPwd, OldKillPwd, NewAccessPwd, NewKillPwd));
     }
     else
     {
         return(BXLLApi_x86.RFIDPassword(OldAccessPwd, OldKillPwd, NewAccessPwd, NewKillPwd));
     }
 }
Esempio n. 4
0
 public static int CheckStatus()
 {
     if (Is64Bit())
     {
         return(BXLLApi_x64.CheckStatus());
     }
     else
     {
         return(BXLLApi_x86.CheckStatus());
     }
 }
Esempio n. 5
0
 public static bool ReadBuff(byte[] pBuffer, int dwNumberOfBytesToRead, ref int dwReaded)
 {
     if (Is64Bit())
     {
         return(BXLLApi_x64.ReadBuff(pBuffer, dwNumberOfBytesToRead, ref dwReaded));
     }
     else
     {
         return(BXLLApi_x86.ReadBuff(pBuffer, dwNumberOfBytesToRead, ref dwReaded));
     }
 }
Esempio n. 6
0
 public static bool PrintVectorFontW(int nXPos, int nYPos, string FontSelection, int FontWidth, int FontHeight, string RightSideCharSpacing, bool bBold, bool ReversePrinting, bool TextStyle, int Rotation, string TextAlignment, int TextDirection, string pData)
 {
     if (Is64Bit())
     {
         return(BXLLApi_x64.PrintVectorFontW(nXPos, nYPos, FontSelection, FontWidth, FontHeight, RightSideCharSpacing, bBold, ReversePrinting, TextStyle, Rotation, TextAlignment, TextDirection, pData));
     }
     else
     {
         return(BXLLApi_x86.PrintVectorFontW(nXPos, nYPos, FontSelection, FontWidth, FontHeight, RightSideCharSpacing, bBold, ReversePrinting, TextStyle, Rotation, TextAlignment, TextDirection, pData));
     }
 }
Esempio n. 7
0
 public static bool PrintImageLibW(int nHorizontalStartPos, int nVerticalStartPos, string pBitmapFilename, int nDither, bool bDataCompression)
 {
     if (Is64Bit())
     {
         return(BXLLApi_x64.PrintImageLibW(nHorizontalStartPos, nVerticalStartPos, pBitmapFilename, nDither, bDataCompression));
     }
     else
     {
         return(BXLLApi_x86.PrintImageLibW(nHorizontalStartPos, nVerticalStartPos, pBitmapFilename, nDither, bDataCompression));
     }
 }
Esempio n. 8
0
 public static bool Print1DBarcode(int nHorizontalPos, int nVerticalPos, int nBarcodeType, int nNarrowBarWidth, int nWideBarWidth, int nBarcodeHeight, int nRotation, int nHRI, Byte[] pData)
 {
     if (Is64Bit())
     {
         return(BXLLApi_x64.Print1DBarcode(nHorizontalPos, nVerticalPos, nBarcodeType, nNarrowBarWidth, nWideBarWidth, nBarcodeHeight, nRotation, nHRI, pData));
     }
     else
     {
         return(BXLLApi_x86.Print1DBarcode(nHorizontalPos, nVerticalPos, nBarcodeType, nNarrowBarWidth, nWideBarWidth, nBarcodeHeight, nRotation, nHRI, pData));
     }
 }
Esempio n. 9
0
 public static bool PrintDeviceFontW(int nHorizontalPos, int nVerticalPos, int nFontName, int nHorizontalMulti, int nVerticalMulti, int nRotation, bool bBold, string szText)
 {
     if (Is64Bit())
     {
         return(BXLLApi_x64.PrintDeviceFontW(nHorizontalPos, nVerticalPos, nFontName, nHorizontalMulti, nVerticalMulti, nRotation, bBold, szText));
     }
     else
     {
         return(BXLLApi_x86.PrintDeviceFontW(nHorizontalPos, nVerticalPos, nFontName, nHorizontalMulti, nVerticalMulti, nRotation, bBold, szText));
     }
 }
Esempio n. 10
0
 public static int GetPrinterDPI()
 {
     if (Is64Bit())
     {
         return(BXLLApi_x64.GetPrinterDPI());
     }
     else
     {
         return(BXLLApi_x86.GetPrinterDPI());
     }
 }
Esempio n. 11
0
 public static bool GetDllVersion(StringBuilder strDllVersion)
 {
     if (Is64Bit())
     {
         return(BXLLApi_x64.GetDllVersion(strDllVersion));
     }
     else
     {
         return(BXLLApi_x86.GetDllVersion(strDllVersion));
     }
 }
Esempio n. 12
0
 public static bool DisconnectPrinter()
 {
     if (Is64Bit())
     {
         return(BXLLApi_x64.DisconnectPrinter());
     }
     else
     {
         return(BXLLApi_x86.DisconnectPrinter());
     }
 }
Esempio n. 13
0
 public static bool ConnectNet(string szIpAddr, int nPortNum)
 {
     if (Is64Bit())
     {
         return(BXLLApi_x64.ConnectNet(szIpAddr, nPortNum));
     }
     else
     {
         return(BXLLApi_x86.ConnectNet(szIpAddr, nPortNum));
     }
 }
Esempio n. 14
0
 public static bool ConnectParallel(string szPortName)
 {
     if (Is64Bit())
     {
         return(BXLLApi_x64.ConnectParallel(szPortName));
     }
     else
     {
         return(BXLLApi_x86.ConnectParallel(szPortName));
     }
 }
Esempio n. 15
0
 public static bool PrintDirect(string pDirectData, bool bAddCrLf)
 {
     if (Is64Bit())
     {
         return(BXLLApi_x64.PrintDirect(pDirectData, bAddCrLf));
     }
     else
     {
         return(BXLLApi_x86.PrintDirect(pDirectData, bAddCrLf));
     }
 }
Esempio n. 16
0
 public static bool SetConfigOfPrinter(int nSpeed, int nDensity, int nOrientation, bool bAutoCut, int nCuttingPeriod, bool bBackFeeding)
 {
     if (Is64Bit())
     {
         return(BXLLApi_x64.SetConfigOfPrinter(nSpeed, nDensity, nOrientation, bAutoCut, nCuttingPeriod, bBackFeeding));
     }
     else
     {
         return(BXLLApi_x86.SetConfigOfPrinter(nSpeed, nDensity, nOrientation, bAutoCut, nCuttingPeriod, bBackFeeding));
     }
 }
Esempio n. 17
0
 public static bool PrintTrueFontLibWithAlignW(int nXPos, int nYPos, string strFontName, int nFontSize, int nRotaion, bool bItalic, bool bBold, bool bUnderline, string strText, int nPrintWidth, int nAlignment, bool bDataCompression)
 {
     if (Is64Bit())
     {
         return(BXLLApi_x64.PrintTrueFontLibWithAlignW(nXPos, nYPos, strFontName, nFontSize, nRotaion, bItalic, bBold, bUnderline, strText, nPrintWidth, nAlignment, bDataCompression));
     }
     else
     {
         return(BXLLApi_x86.PrintTrueFontLibWithAlignW(nXPos, nYPos, strFontName, nFontSize, nRotaion, bItalic, bBold, bUnderline, strText, nPrintWidth, nAlignment, bDataCompression));
     }
 }
Esempio n. 18
0
 public static bool Prints(int nLabelSet, int nCopiesOfEachLabel)
 {
     if (Is64Bit())
     {
         return(BXLLApi_x64.Prints(nLabelSet, nCopiesOfEachLabel));
     }
     else
     {
         return(BXLLApi_x86.Prints(nLabelSet, nCopiesOfEachLabel));
     }
 }
Esempio n. 19
0
 public static bool PrintQRCode(int nXPos, int nYPos, int nModel, int nECCLevel, int nSize, int nRotation, Byte[] pData)
 {
     if (Is64Bit())
     {
         return(BXLLApi_x64.PrintQRCode(nXPos, nYPos, nModel, nECCLevel, nSize, nRotation, pData));
     }
     else
     {
         return(BXLLApi_x86.PrintQRCode(nXPos, nYPos, nModel, nECCLevel, nSize, nRotation, pData));
     }
 }
Esempio n. 20
0
 public static bool SetCharacterset(int nInternationalCharacterSet, int nCodepage)
 {
     if (Is64Bit())
     {
         return(BXLLApi_x64.SetCharacterset(nInternationalCharacterSet, nCodepage));
     }
     else
     {
         return(BXLLApi_x86.SetCharacterset(nInternationalCharacterSet, nCodepage));
     }
 }
Esempio n. 21
0
 public static bool SetShowMsgBox(bool bShow)
 {
     if (Is64Bit())
     {
         return(BXLLApi_x64.SetShowMsgBox(bShow));
     }
     else
     {
         return(BXLLApi_x86.SetShowMsgBox(bShow));
     }
 }
Esempio n. 22
0
 public static bool SetPaper(int nHorizontalMagin, int nVerticalMargin, int nPaperWidth, int nPaperLength, int nMediaType, int nOffSet, int nGapLengthORThicknessOfBlackLine)
 {
     if (Is64Bit())
     {
         return(BXLLApi_x64.SetPaper(nHorizontalMagin, nVerticalMargin, nPaperWidth, nPaperLength, nMediaType, nOffSet, nGapLengthORThicknessOfBlackLine));
     }
     else
     {
         return(BXLLApi_x86.SetPaper(nHorizontalMagin, nVerticalMargin, nPaperWidth, nPaperLength, nMediaType, nOffSet, nGapLengthORThicknessOfBlackLine));
     }
 }
Esempio n. 23
0
 public static bool WriteBuff(byte[] pBuffer, int dwNumberOfBytesToWrite, ref int dwWritten)
 {
     if (Is64Bit())
     {
         return(BXLLApi_x64.WriteBuff(pBuffer, dwNumberOfBytesToWrite, ref dwWritten));
     }
     else
     {
         return(BXLLApi_x86.WriteBuff(pBuffer, dwNumberOfBytesToWrite, ref dwWritten));
     }
 }
Esempio n. 24
0
 public static bool ClearBuffer()
 {
     if (Is64Bit())
     {
         return(BXLLApi_x64.ClearBuffer());
     }
     else
     {
         return(BXLLApi_x86.ClearBuffer());
     }
 }
Esempio n. 25
0
 /////////////////////////////////////////////////////////////////////////////////////////////////////
 // RFID Functions
 /////////////////////////////////////////////////////////////////////////////////////////////////////
 public static bool RFIDSetup(int RFIDType, int NumberOfRetries, int NumberOfLabel, int RadioPower)
 {
     if (Is64Bit())
     {
         return(BXLLApi_x64.RFIDSetup(RFIDType, NumberOfRetries, NumberOfLabel, RadioPower));
     }
     else
     {
         return(BXLLApi_x86.RFIDSetup(RFIDType, NumberOfRetries, NumberOfLabel, RadioPower));
     }
 }
Esempio n. 26
0
 public static bool PrintBlock(int nHorizontalStartPos, int nVerticalStartPos, int nHorizontalEndPos, int nVerticalEndPos, int nOption, int nThickness)
 {
     if (Is64Bit())
     {
         return(BXLLApi_x64.PrintBlock(nHorizontalStartPos, nVerticalStartPos, nHorizontalEndPos, nVerticalEndPos, nOption, nThickness));
     }
     else
     {
         return(BXLLApi_x86.PrintBlock(nHorizontalStartPos, nVerticalStartPos, nHorizontalEndPos, nVerticalEndPos, nOption, nThickness));
     }
 }
Esempio n. 27
0
 public static bool RFIDWrite(int DataType, int StartingBlockNumber, int WriteByte, string Data)
 {
     if (Is64Bit())
     {
         return(BXLLApi_x64.RFIDWrite(DataType, StartingBlockNumber, WriteByte, Data));
     }
     else
     {
         return(BXLLApi_x86.RFIDWrite(DataType, StartingBlockNumber, WriteByte, Data));
     }
 }
Esempio n. 28
0
 public static bool PrintCircle(int nHorizontalStartPos, int nVerticalStartPos, int nDiameter, int nMulti)
 {
     if (Is64Bit())
     {
         return(BXLLApi_x64.PrintCircle(nHorizontalStartPos, nVerticalStartPos, nDiameter, nMulti));
     }
     else
     {
         return(BXLLApi_x86.PrintCircle(nHorizontalStartPos, nVerticalStartPos, nDiameter, nMulti));
     }
 }
Esempio n. 29
0
 public static bool RFIDLock()
 {
     if (Is64Bit())
     {
         return(BXLLApi_x64.RFIDLock());
     }
     else
     {
         return(BXLLApi_x86.RFIDLock());
     }
 }
Esempio n. 30
0
 public static bool ConnectSerial(string szPortName, int nBaudRate, int nDataBits, int nParity, int nStopBits)
 {
     if (Is64Bit())
     {
         return(BXLLApi_x64.ConnectSerial(szPortName, nBaudRate, nDataBits, nParity, nStopBits));
     }
     else
     {
         return(BXLLApi_x86.ConnectSerial(szPortName, nBaudRate, nDataBits, nParity, nStopBits));
     }
 }