Example #1
0
 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;
 }
Example #2
0
 protected String parseTable(Element table) {
   String s = super.parseTable(table);
   if (s != null) net_printer.addPrintline(s);
   return s;
 }