SAP labels with ZPL
Preview the ZPL that SAP generates, convert it to PDF, or generate labels from SAP by calling a REST API with the document's data.
Your file is downloading.
Free, with no daily limit. A free account also saves your designs and gives you an API key.
How it fits
SAP output for Zebra printers is ZPL, often from Smart Forms or Adobe Forms with a ZPL device type. Paste it into the viewer to see it without wasting labels, or into the validator to find errors.
Example
cl_http_client=>create_by_url( EXPORTING url = 'https://api.openzpl.com/v1/templates/d123'
IMPORTING client = lo_http ).
lo_http->request->set_header_field( name = 'X-API-Key' value = lv_key ).
lo_http->request->set_header_field( name = 'Accept' value = 'text/plain' ).
lo_http->request->set_cdata( lv_json ).
Setting it up
Design the label in the designer with {{variables}}, save it, and copy its ID from the dashboard. Create an API key, then send your data to POST /v1/templates/{id}. The API docs have the details.
Questions
Can it replace our SAP label forms?
For many labels, yes: the layout moves to a saved design and SAP sends only the data. Test yours first.
Do I need to install anything?
Not to render labels: it's an HTTP API. To send them to a printer on your network, run the [print agent](/print-agent/) next to it.
What does it cost?
A free key allows 20 labels a day. Pro is $29 a month for 100,000 labels, and Business $99 for 1,000,000. See [pricing](/pricing/).
Related
Need something we don't have yet?
A connector for your system, a label format or a new tool: tell us what you use and we'll look at building it.