Error when printing multiple sales invoices. You do not have enough permissions to complete the action

When trying to print multiple invoices(more than 3) at once I get this error.
You do not have enough permissions to complete the action.
However, when printing 1-3 invoices it is fine.