Actions28
- Document Actions
- Traceability Actions
- Lookup Table Actions
- Printer Actions
- Label Actions
Printer → Send Print Job
AI-generatedSummary
Send a print job to a DataMagik printer. Supports ZPL, PDF, and HTML formats with data sourced inline, via URL, or as Base64.
Inputs
- printerId (required) — The ID of the printer
- siteId — Site ID for printer assignment (auto-resolved from printer if not specified for print jobs)
- printFormat — Format of the print data (zpl, pdf, or html)
- printDataSource — Source of the print data (inline, url, or base64)
- printData (required) — The data to print (ZPL code, HTML, or base64 PDF). Visible when printDataSource is inline or base64.
- printDataUrl (required) — URL to fetch the print data from. Visible when printDataSource is url.
- printTemplateData — Template data for variable substitution in ZPL (JSON object)
Output shape
object
Returns the API response from the DataMagik print job endpoint, containing job acknowledgment or status.
Examples
Example 1: Print ZPL code directly to a printer
Select inline data source, set printFormat to ZPL, paste ZPL code in printData, and provide the printer ID.