What is the equivalent b4a code for the java code shown below? I'm not familiar with Java. This is a code for barcode printing for bixolon printer
it has a library bixolon_printer_v2.1.4.jar. Please help me
import com.bxl.config.editor.BXLConfigLoader;
import jpos.config.JposEntry;
import jpos.POSPrinter;
import jpos.POSPrinterConst;
import com.bxl.BXLConst;
try
{
POSPrinter posPrinter = new POSPrinter(this);
posPrinter.open(“SPP-R200III”);
posPrinter.claim(5000);
posPrinter.setDeviceEnabled(true);
posPrinter.printBarCode(POSPrinterConst.PTR_S_RECEIPT,
“123456789”,
POSPrinterConst.PTR_BCS_QRCODE,
8,
8,
POSPrinterConst.PTR_BC_CENTER,
POSPrinterConst.PTR_BC_TEXT_BELOW);
}
catch(JposException e)
{
e.printStackTrace();
}
it has a library bixolon_printer_v2.1.4.jar. Please help me
import com.bxl.config.editor.BXLConfigLoader;
import jpos.config.JposEntry;
import jpos.POSPrinter;
import jpos.POSPrinterConst;
import com.bxl.BXLConst;
try
{
POSPrinter posPrinter = new POSPrinter(this);
posPrinter.open(“SPP-R200III”);
posPrinter.claim(5000);
posPrinter.setDeviceEnabled(true);
posPrinter.printBarCode(POSPrinterConst.PTR_S_RECEIPT,
“123456789”,
POSPrinterConst.PTR_BCS_QRCODE,
8,
8,
POSPrinterConst.PTR_BC_CENTER,
POSPrinterConst.PTR_BC_TEXT_BELOW);
}
catch(JposException e)
{
e.printStackTrace();
}