I cannot print invoices in a range, it only print the first invoice.

I cannot print invoices in a range, it only print the first invoice.