예제 #1
0
 public static bool PrintPDF417(int nXPos, int nYPos, int nMaxRow, int nMaxCol, int nECLevel, int nDataType, bool bHRI, int nOriginPoint, int nModuleWidth, int nBarHeight, int nRotation, string pData)
 {
     if (Is64Bit())
     {
         return(BXLLApi_x64.PrintPDF417(nXPos, nYPos, nMaxRow, nMaxCol, nECLevel, nDataType, bHRI, nOriginPoint, nModuleWidth, nBarHeight, nRotation, pData));
     }
     return(BXLLApi_x86.PrintPDF417(nXPos, nYPos, nMaxRow, nMaxCol, nECLevel, nDataType, bHRI, nOriginPoint, nModuleWidth, nBarHeight, nRotation, pData));
 }
예제 #2
0
 public static bool PrintDataMatrix(int nXPos, int nYPos, int nSize, bool bReverse, int nRotation, string pData)
 {
     if (Is64Bit())
     {
         return(BXLLApi_x64.PrintDataMatrix(nXPos, nYPos, nSize, bReverse, nRotation, pData));
     }
     return(BXLLApi_x86.PrintDataMatrix(nXPos, nYPos, nSize, bReverse, nRotation, pData));
 }
예제 #3
0
 public static bool PrintMaxiCode(int nXPos, int nYPos, int nMode, string pData)
 {
     if (Is64Bit())
     {
         return(BXLLApi_x64.PrintMaxiCode(nXPos, nYPos, nMode, pData));
     }
     return(BXLLApi_x86.PrintMaxiCode(nXPos, nYPos, nMode, pData));
 }
예제 #4
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));
     }
 }
예제 #5
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));
     }
 }
예제 #6
0
 public static bool DisconnectPrinter()
 {
     if (Is64Bit())
     {
         return(BXLLApi_x64.DisconnectPrinter());
     }
     else
     {
         return(BXLLApi_x86.DisconnectPrinter());
     }
 }
예제 #7
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));
     }
 }
예제 #8
0
 public static bool RFIDCalibration()
 {
     if (Is64Bit())
     {
         return(BXLLApi_x64.RFIDCalibration());
     }
     else
     {
         return(BXLLApi_x86.RFIDCalibration());
     }
 }
예제 #9
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));
     }
 }
예제 #10
0
 public static int CheckStatus()
 {
     if (Is64Bit())
     {
         return(BXLLApi_x64.CheckStatus());
     }
     else
     {
         return(BXLLApi_x86.CheckStatus());
     }
 }
예제 #11
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));
     }
 }
예제 #12
0
 public static bool Prints(int nLabelSet, int nCopiesOfEachLabel)
 {
     if (Is64Bit())
     {
         return(BXLLApi_x64.Prints(nLabelSet, nCopiesOfEachLabel));
     }
     else
     {
         return(BXLLApi_x86.Prints(nLabelSet, nCopiesOfEachLabel));
     }
 }
예제 #13
0
 public static bool SetCharacterset(int nInternationalCharacterSet, int nCodepage)
 {
     if (Is64Bit())
     {
         return(BXLLApi_x64.SetCharacterset(nInternationalCharacterSet, nCodepage));
     }
     else
     {
         return(BXLLApi_x86.SetCharacterset(nInternationalCharacterSet, nCodepage));
     }
 }
예제 #14
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));
     }
 }
예제 #15
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));
     }
 }
예제 #16
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));
     }
 }
예제 #17
0
 public static bool GetDllVersion(StringBuilder strDllVersion)
 {
     if (Is64Bit())
     {
         return(BXLLApi_x64.GetDllVersion(strDllVersion));
     }
     else
     {
         return(BXLLApi_x86.GetDllVersion(strDllVersion));
     }
 }
예제 #18
0
 public static int GetPrinterDPI()
 {
     if (Is64Bit())
     {
         return(BXLLApi_x64.GetPrinterDPI());
     }
     else
     {
         return(BXLLApi_x86.GetPrinterDPI());
     }
 }
예제 #19
0
 public static bool ClearBuffer()
 {
     if (Is64Bit())
     {
         return(BXLLApi_x64.ClearBuffer());
     }
     else
     {
         return(BXLLApi_x86.ClearBuffer());
     }
 }
예제 #20
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));
     }
 }
예제 #21
0
 public static bool SetShowMsgBox(bool bShow)
 {
     if (Is64Bit())
     {
         return(BXLLApi_x64.SetShowMsgBox(bShow));
     }
     else
     {
         return(BXLLApi_x86.SetShowMsgBox(bShow));
     }
 }
예제 #22
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));
     }
 }
예제 #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));
     }
 }
예제 #24
0
 public static bool PrintDirect(string pDirectData, bool bAddCrLf)
 {
     if (Is64Bit())
     {
         return(BXLLApi_x64.PrintDirect(pDirectData, bAddCrLf));
     }
     else
     {
         return(BXLLApi_x86.PrintDirect(pDirectData, bAddCrLf));
     }
 }
예제 #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));
     }
 }
예제 #26
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));
     }
 }
예제 #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));
     }
 }
예제 #28
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));
     }
 }
예제 #29
0
 public static bool RFIDLock()
 {
     if (Is64Bit())
     {
         return(BXLLApi_x64.RFIDLock());
     }
     else
     {
         return(BXLLApi_x86.RFIDLock());
     }
 }
예제 #30
0
 public static bool ConnectNet(string szIpAddr, int nPortNum)
 {
     if (Is64Bit())
     {
         return(BXLLApi_x64.ConnectNet(szIpAddr, nPortNum));
     }
     else
     {
         return(BXLLApi_x86.ConnectNet(szIpAddr, nPortNum));
     }
 }