Print ESC/POS receipts from an application
After a sale, your POS app can send a prepared ESC/POS receipt to the thermal printer assigned to that checkout. CloudPrint delivers the bytes and reports the job status. Any required fiscal registration stays in your POS or fiscal system.
Print a receipt at checkout 2
For a test sale, prepare a receipt with one line item and its total in your POS. Use the saved printer_id for checkout 2, confirm ESC/POS support and send the prepared receipt. Check the amount, accents and final paper cut on that printer before enabling automatic printing. See supported print formats.
Separate receipt layout from fiscalization
Build the receipt data only after the sales or order system has completed the business operation. If local law requires a fiscal device, registration, signature or tax reporting, complete that process in the certified fiscal system. CloudPrint may print a prepared customer or service receipt, but it is not a fiscalization service.
Prepare ESC/POS bytes in your application
Generate the text, barcode, QR code, feeds and cuts supported by the target model. Test character encoding, code page and the real 58 mm or 80 mm paper width. CloudPrint passes the byte stream through; it does not rewrite commands or repair unsupported characters.
Declare and validate the language
Upload the payload with document_format=raw and document_raw_language=escpos. Before creating the job, call GET /api/v1/printers and confirm that the selected queue advertises escpos in capabilities.language_profiles and has RAW passthrough available.
Assign the correct receipt printer
Store the stable printer_id for each till, service counter or kitchen station. If one order produces several documents, model each destination explicitly. Never choose by queue name alone and never reroute a customer receipt to another location without an operator decision.
Prevent duplicate receipts
Use one Idempotency-Key per intended output and persist the returned print_job_id. Follow the status to printed, failed or cancelled. A timeout retry reuses the same key and payload; a deliberate second copy is a new, auditable reprint.