Send print job to printer Required permissions: PRINTER
Sends print data straight to the printer, exactly as you supply it. Flow applies no rendering and no formatting, so the data has to be in the language the printer speaks: ESC/POS for a receipt printer, ZPL for a label printer, PDF for a general printer.
Send the data either as a binary body with content type application/octet-stream, or base64 encoded in a JSON body with content type application/json. The two are equivalent.
A 202 means the printer accepted the job. A 502 means the printer, or the connection to it, reported an error - the message field carries what it reported.
For a CloudPRNT printer, 202 means the job is queued; the printer fetches it on its next poll. Look up the result with GET .../jobs/{printJobUid}.
Access token recevied after user login with a deviceToken
Reference to a tenant.
^[A-Za-z0-9-_]+Reference to a printer
^[A-Za-z0-9-_]+Print job accepted. For a CloudPRNT printer it is queued, and printJobUid is set.
Set when the printer fetches its jobs itself (CloudPRNT). Look the job up with GET .../jobs/{printJobUid}.
Linking failed. Ther error message will have information about what failed.
Linking failed. Ther error message will have information about what failed.
Linking failed. Ther error message will have information about what failed.
Linking failed. Ther error message will have information about what failed.
POST /v2/tenants/{tenantUid}/printers/{printerUid}/jobs HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/octet-stream
Accept: */*
Content-Length: 8
"binary"{
"printJobUid": "text"
}Last updated
Was this helpful?

