public boolean print(PosContext c, Sale s, int index, int total) { parseHeader(getHeader(c, index, total)); parseSale(getSale(s)); printer.println(margin(format("", seperator, ticketWidth, LEFT))); net_printer.printpage(); net_printer.clearPrintpage(); return true; }
protected String parseTable(Element table) { String s = super.parseTable(table); if (s != null) net_printer.addPrintline(s); return s; }