/** Creates new form DeviceFiscalPrinterJavaPOSPanel */
public DeviceFiscalPrinterJavaPOS(String sDeviceFiscalPrinterName) throws TicketPrinterException {
m_sName = sDeviceFiscalPrinterName;
m_fiscal = new FiscalPrinter();
try {
m_fiscal.open(m_sName);
m_fiscal.claim(10000);
m_fiscal.setDeviceEnabled(true);
// m_printer.setMapMode(POSPrinterConst.PTR_MM_METRIC); // unit = 1/100 mm - i.e. 1 cm = 10 mm = 10 * 100 units