Ejemplo n.º 1
0
 public static int ClearLine(int line)
 {
     if (Is64Bit())
     {
         return(BXLAPI_x64.ClearLine(line));
     }
     else
     {
         return(BXLAPI_x86.ClearLine(line));
     }
 }
Ejemplo n.º 2
0
 public static int PrintGS1DataBar(Byte[] Data, int Symbology, int ModuleSize, int Alignment)
 {
     if (Is64Bit())
     {
         return(BXLAPI_x64.PrintGS1DataBar(Data, Symbology, ModuleSize, Alignment));
     }
     else
     {
         return(BXLAPI_x86.PrintGS1DataBar(Data, Symbology, ModuleSize, Alignment));
     }
 }
Ejemplo n.º 3
0
 public static int ClearScreen()
 {
     if (Is64Bit())
     {
         return(BXLAPI_x64.ClearScreen());
     }
     else
     {
         return(BXLAPI_x86.ClearScreen());
     }
 }
Ejemplo n.º 4
0
 public static int SetInternationalCharacterset(int characterSet)
 {
     if (Is64Bit())
     {
         return(BXLAPI_x64.SetInternationalCharacterset(characterSet));
     }
     else
     {
         return(BXLAPI_x86.SetInternationalCharacterset(characterSet));
     }
 }
Ejemplo n.º 5
0
 public static int SetPagemode(long pageMode)
 {
     if (Is64Bit())
     {
         return(BXLAPI_x64.SetPagemode(pageMode));
     }
     else
     {
         return(BXLAPI_x86.SetPagemode(pageMode));
     }
 }
Ejemplo n.º 6
0
 public static int DisplayStringAtLine(int line, string Data)
 {
     if (Is64Bit())
     {
         return(BXLAPI_x64.DisplayStringAtLine(line, Data));
     }
     else
     {
         return(BXLAPI_x86.DisplayStringAtLine(line, Data));
     }
 }
Ejemplo n.º 7
0
 public static int DisplayImage(int index, int x, int y)
 {
     if (Is64Bit())
     {
         return(BXLAPI_x64.DisplayImage(index, x, y));
     }
     else
     {
         return(BXLAPI_x86.DisplayImage(index, x, y));
     }
 }
Ejemplo n.º 8
0
 public static int SetPrintWidth(int width)
 {
     if (Is64Bit())
     {
         return(BXLAPI_x64.SetPrintWidth(width));
     }
     else
     {
         return(BXLAPI_x86.SetPrintWidth(width));
     }
 }
Ejemplo n.º 9
0
 public static int CutPaper()
 {
     if (Is64Bit())
     {
         return(BXLAPI_x64.CutPaper());
     }
     else
     {
         return(BXLAPI_x86.CutPaper());
     }
 }
Ejemplo n.º 10
0
 public static int SetUpsideDown(int mode)
 {
     if (Is64Bit())
     {
         return(BXLAPI_x64.SetUpsideDown(mode));
     }
     else
     {
         return(BXLAPI_x86.SetUpsideDown(mode));
     }
 }
Ejemplo n.º 11
0
 public static int SetLeftMargin(int margin)
 {
     if (Is64Bit())
     {
         return(BXLAPI_x64.SetLeftMargin(margin));
     }
     else
     {
         return(BXLAPI_x86.SetLeftMargin(margin));
     }
 }
Ejemplo n.º 12
0
 public static int GetInterChrSet()
 {
     if (Is64Bit())
     {
         return(BXLAPI_x64.GetInterChrSet());
     }
     else
     {
         return(BXLAPI_x86.GetInterChrSet());
     }
 }
Ejemplo n.º 13
0
 public static int SetInterChrSet(int Value)
 {
     if (Is64Bit())
     {
         return(BXLAPI_x64.SetInterChrSet(Value));
     }
     else
     {
         return(BXLAPI_x86.SetInterChrSet(Value));
     }
 }
Ejemplo n.º 14
0
 public static int PrintCompositeSymbology(Byte[] Data1d, int Symbol1d, Byte[] Data2d, int Symbol2d, int ModuleSize, int Alignment)
 {
     if (Is64Bit())
     {
         return(BXLAPI_x64.PrintCompositeSymbology(Data1d, Symbol1d, Data2d, Symbol2d, ModuleSize, Alignment));
     }
     else
     {
         return(BXLAPI_x86.PrintCompositeSymbology(Data1d, Symbol1d, Data2d, Symbol2d, ModuleSize, Alignment));
     }
 }
Ejemplo n.º 15
0
 public static int DisplayString(string Data)
 {
     if (Is64Bit())
     {
         return(BXLAPI_x64.DisplayString(Data));
     }
     else
     {
         return(BXLAPI_x86.DisplayString(Data));
     }
 }
Ejemplo n.º 16
0
 public static int DirectIO(Byte[] Data, uint uiWrite, ref Byte pRequest, ref uint uiRead)
 {
     if (Is64Bit())
     {
         return(BXLAPI_x64.DirectIO(Data, uiWrite, ref pRequest, ref uiRead));
     }
     else
     {
         return(BXLAPI_x86.DirectIO(Data, uiWrite, ref pRequest, ref uiRead));
     }
 }
Ejemplo n.º 17
0
 public static int DisplayStringW(string Data, int codepage)
 {
     if (Is64Bit())
     {
         return(BXLAPI_x64.DisplayStringW(Data, codepage));
     }
     else
     {
         return(BXLAPI_x86.DisplayStringW(Data, codepage));
     }
 }
Ejemplo n.º 18
0
 public static int WriteBuff(Byte[] pBuffer, int nNumberOfBytesToWrite, ref int lWritten)
 {
     if (Is64Bit())
     {
         return(BXLAPI_x64.WriteBuff(pBuffer, nNumberOfBytesToWrite, ref lWritten));
     }
     else
     {
         return(BXLAPI_x86.WriteBuff(pBuffer, nNumberOfBytesToWrite, ref lWritten));
     }
 }
Ejemplo n.º 19
0
 public static int DisplayStringAtLineW(int line, string Data, int codepage)
 {
     if (Is64Bit())
     {
         return(BXLAPI_x64.DisplayStringAtLineW(line, Data, codepage));
     }
     else
     {
         return(BXLAPI_x86.DisplayStringAtLineW(line, Data, codepage));
     }
 }
Ejemplo n.º 20
0
 public static int ReadBuff(Byte[] pBuffer, int nNumberOfBytesToWrite, ref int lReaded)
 {
     if (Is64Bit())
     {
         return(BXLAPI_x64.ReadBuff(pBuffer, nNumberOfBytesToWrite, ref lReaded));
     }
     else
     {
         return(BXLAPI_x86.ReadBuff(pBuffer, nNumberOfBytesToWrite, ref lReaded));
     }
 }
Ejemplo n.º 21
0
 public static int StoreImageFile(string fileName, int index)
 {
     if (Is64Bit())
     {
         return(BXLAPI_x64.StoreImageFile(fileName, index));
     }
     else
     {
         return(BXLAPI_x86.StoreImageFile(fileName, index));
     }
 }
Ejemplo n.º 22
0
 public static int TransactionStart()
 {
     if (Is64Bit())
     {
         return(BXLAPI_x64.TransactionStart());
     }
     else
     {
         return(BXLAPI_x86.TransactionStart());
     }
 }
Ejemplo n.º 23
0
 public static int OpenDrawer(int pinNumber)
 {
     if (Is64Bit())
     {
         return(BXLAPI_x64.OpenDrawer(pinNumber));
     }
     else
     {
         return(BXLAPI_x86.OpenDrawer(pinNumber));
     }
 }
Ejemplo n.º 24
0
 public static int TransactionEnd(bool SendCompletedCheck, int Timeout)
 {
     if (Is64Bit())
     {
         return(BXLAPI_x64.TransactionEnd(SendCompletedCheck, Timeout));
     }
     else
     {
         return(BXLAPI_x86.TransactionEnd(SendCompletedCheck, Timeout));
     }
 }
Ejemplo n.º 25
0
 public static int SetPagemodePrintArea(int x, int y, int width, int height)
 {
     if (Is64Bit())
     {
         return(BXLAPI_x64.SetPagemodePrintArea(x, y, width, height));
     }
     else
     {
         return(BXLAPI_x86.SetPagemodePrintArea(x, y, width, height));
     }
 }
Ejemplo n.º 26
0
 public static int PrintDataMatrix(Byte[] Data, int ModuleSize, int Alignment)
 {
     if (Is64Bit())
     {
         return(BXLAPI_x64.PrintDataMatrix(Data, ModuleSize, Alignment));
     }
     else
     {
         return(BXLAPI_x86.PrintDataMatrix(Data, ModuleSize, Alignment));
     }
 }