Send a file. Get paper.
One call for each paper. Each job is checked against its printer before it waits.
What you send
A PDF, a ZPL label or a PNG, by URL or in the body. Up to 20 MB.
Size
paper_size for pages (A4, Letter), label_size for labels (100x150mm). Without one, the printer's own.
Settings
copies, orientation, scaling, duplex, colour and tray, and for labels darkness and speed. What you leave out, the printer decides.
Never twice
Send the same Idempotency-Key again and you get the same job, for 30 days. The same key with another body is refused.
Never late
A job that can't print in 15 minutes expires. Set ttl_seconds from 1 minute to 14 days.
Its states
queued, claimed, spooled, printed, then confirmed or failed; or expired, or cancelled. Printed means the printer took all of it. Confirmed means a person said it came out right.
queued | Waiting for its printer. |
|---|---|
claimed | Its computer has it. |
spooled | In the printer's queue. |
printed | The printer took all of it. |
confirmed | A person said it came out right. |
failed | It did not print, or a person said it did not come out right. |
expired | It did not reach its printer in time, and never prints. |
cancelled | Someone cancelled it before it printed. |
Why
A job that waits or fails says why, with a stable code and a message in your user's language.
Came out right?
confirm with ok or not_ok. Only the person who saw the paper knows.
Again
reprint makes a new job, tied to the first, with the same file and settings.
Cancel
Before it prints. If its computer has it already, it takes it out of the printer's queue, or says it was too late.
Your own id
Put your order or invoice number in reference, and find the job by it.