Printer working for multiinvoice printing