A packing table runs on paper. Orders get printed, the stack gets worked through, and each sheet goes in a box. Printing them one at a time from the order screen turns a morning’s packing into a morning of clicking Print.
The same filters, a different output
The invoice printer sits beside the CSV export and shares its query builder. Whatever set of orders the export would produce — a status, a date range, a payment method — the printer renders as a stack of invoices, one per page, with a page break between them and the store’s own name, address and logo pulled from the WooCommerce settings that already hold them.
Sharing the query means a filter fixed in one place is fixed in both. The two features are genuinely one feature with two renderers.
Saying so when the stack is cut short
Printing is capped, because a thousand invoices in one request is a timeout rather than a document. When the cap is reached the page says so at the top, in print, instead of silently handing over a shorter stack than expected. A packer who trusts the pile and finds it three short has lost more time than the warning would have cost.
It is still a bulk data endpoint
An invoice stack is the customer list with addresses and phone numbers, formatted for a printer. The endpoint verifies the user’s capability before reading a single order and checks a nonce so the URL cannot be triggered from somewhere else. Convenience features that emit personal data deserve the same scrutiny as the ones labelled as exports.
Key takeaways
- Build the print view on the same query as the export — one filter set, two renderers.
- Cap batch rendering, and tell the user when the cap was hit.
- A print page full of names and addresses is a data endpoint; check capabilities first.
- Match the tool to the physical workflow: packers work from a stack, not a screen.
Related reading: when a CSV export becomes an attack vector, and bulk-dispatching a day of orders.
Running into a similar limitation in your own WooCommerce or WordPress store? Let’s Talk — ArtinTech Solution builds exactly this kind of custom store tooling.