Skip to content

Print from ERP and WMS systems ​

When an order is ready to ship, your ERP or WMS can send the packing slip to the printer in the warehouse handling that order. Your software prepares the PDF and selects the warehouse. CloudPrint delivers the job to its assigned printer.

Suppose warehouse B releases order 1024. Look up warehouse B’s saved printer_id, generate the packing slip, then create a print job from its PDF URL. Store the returned print_job_id alongside order 1024 so support can follow the job without printing it again.

Start from a business event ​

Create a print operation when a meaningful event occurs: an order is released, a pick is completed, goods are received or an operator approves a document. Generate the invoice, packing slip or label in the source system before calling CloudPrint. This keeps business rules in ERP or WMS instead of hiding them in the printing layer.

Assign printers by purpose and location ​

During setup, call GET /api/v1/printers, let an administrator choose the queue for each warehouse, workstation and document type, and store its stable printer_id. Display names help people, but they are not routing keys. Do not silently fall back to a printer at another site.

Choose a format the queue can print ​

Use PDF for invoices, packing lists and page-based documents. For device commands, send RAW data and declare ZPL, TSPL or CPCL for compatible label printers, or ESC/POS for a compatible receipt printer. Compare the document with the capabilities returned for the selected queue; CloudPrint does not translate printer languages.

Send from a trusted backend ​

The ERP or WMS integration service should call CloudPrint Public API from a trusted server environment. Keep credentials there, use one stable Idempotency-Key for the business operation, and save both your operation ID and the returned print_job_id.

Treat printing as an observable workflow ​

Follow the job until printed, failed or cancelled. If the agent or printer is offline, show that the operation is waiting or needs attention instead of creating another copy. A network retry keeps the original idempotency key; an operator-approved reprint is a new recorded operation.

Next steps ​

Guides for integrating CloudPrint, connecting the local agent and operating print workflows.