So, the issue was How to send many documents (let's say ten thousend Invoices) to a printer as one printing task.
It's so simple I hated myself, here it is:
First of all you need a query like "select customer_id, invoice_number, invoice_date, detail_id, quantity, price, vat, total from my_invoices". The result is expected to be:
-----------------------------------------------------------------------------------------------------------
customer_id | invoice_number | invoice_date | detail_id | quantity | price | vat | total
------------------------------------------------------------------------------------------------------------
1 | 000001 | 27.12.2012 | Coca-Cola | 10.00 | 1.00 | 18%| 1.18
1 | 000001 | 27.12.2012 | Pepsi-Cola| 5.00 | 0.80 | 18%| 0.94
1 | 000001 | 27.12.2012 | Fanta | 3.00 | 0.90 | 18%| 1.06
13 | 000002 | 28.12.2012 | Coca-Cola | 100.00 | 1.00 | 18%| 1.18
13 | 000002 | 28.12.2012 | Cigarets | 120.00 | 10.00| 18%| 11.80
and so on...
Start creating a new report. When you try to add a band, make that band "Group Header". Lazreport asks about what is the grouping condition, you should name your query and the field "invoice_number". And after you place the band on the empty page, right-click on it and choose "Force New Page". Now you have a "Group Header", and naturally that could require a "group footer" if you need calculated sums or similar. Enjoy.