public static bool ConnectUsb() { if (Is64Bit()) { return(BXLLApi_x64.ConnectUsb()); } else { return(BXLLApi_x86.ConnectUsb()); } }
public static bool RFIDCalibration() { if (Is64Bit()) { return(BXLLApi_x64.RFIDCalibration()); } else { return(BXLLApi_x86.RFIDCalibration()); } }
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)); } }
public static int CheckStatus() { if (Is64Bit()) { return(BXLLApi_x64.CheckStatus()); } else { return(BXLLApi_x86.CheckStatus()); } }
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)); } }
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)); } }
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)); } }
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)); } }
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)); } }
public static int GetPrinterDPI() { if (Is64Bit()) { return(BXLLApi_x64.GetPrinterDPI()); } else { return(BXLLApi_x86.GetPrinterDPI()); } }
public static bool GetDllVersion(StringBuilder strDllVersion) { if (Is64Bit()) { return(BXLLApi_x64.GetDllVersion(strDllVersion)); } else { return(BXLLApi_x86.GetDllVersion(strDllVersion)); } }
public static bool DisconnectPrinter() { if (Is64Bit()) { return(BXLLApi_x64.DisconnectPrinter()); } else { return(BXLLApi_x86.DisconnectPrinter()); } }
public static bool ConnectNet(string szIpAddr, int nPortNum) { if (Is64Bit()) { return(BXLLApi_x64.ConnectNet(szIpAddr, nPortNum)); } else { return(BXLLApi_x86.ConnectNet(szIpAddr, nPortNum)); } }
public static bool ConnectParallel(string szPortName) { if (Is64Bit()) { return(BXLLApi_x64.ConnectParallel(szPortName)); } else { return(BXLLApi_x86.ConnectParallel(szPortName)); } }
public static bool PrintDirect(string pDirectData, bool bAddCrLf) { if (Is64Bit()) { return(BXLLApi_x64.PrintDirect(pDirectData, bAddCrLf)); } else { return(BXLLApi_x86.PrintDirect(pDirectData, bAddCrLf)); } }
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)); } }
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)); } }
public static bool Prints(int nLabelSet, int nCopiesOfEachLabel) { if (Is64Bit()) { return(BXLLApi_x64.Prints(nLabelSet, nCopiesOfEachLabel)); } else { return(BXLLApi_x86.Prints(nLabelSet, nCopiesOfEachLabel)); } }
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)); } }
public static bool SetCharacterset(int nInternationalCharacterSet, int nCodepage) { if (Is64Bit()) { return(BXLLApi_x64.SetCharacterset(nInternationalCharacterSet, nCodepage)); } else { return(BXLLApi_x86.SetCharacterset(nInternationalCharacterSet, nCodepage)); } }
public static bool SetShowMsgBox(bool bShow) { if (Is64Bit()) { return(BXLLApi_x64.SetShowMsgBox(bShow)); } else { return(BXLLApi_x86.SetShowMsgBox(bShow)); } }
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)); } }
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)); } }
public static bool ClearBuffer() { if (Is64Bit()) { return(BXLLApi_x64.ClearBuffer()); } else { return(BXLLApi_x86.ClearBuffer()); } }
///////////////////////////////////////////////////////////////////////////////////////////////////// // 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)); } }
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)); } }
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)); } }
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)); } }
public static bool RFIDLock() { if (Is64Bit()) { return(BXLLApi_x64.RFIDLock()); } else { return(BXLLApi_x86.RFIDLock()); } }
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)); } }