Skip to Content

Print raw ZPL commands to Zebra printer

Aug 08, 2017 at 12:22 PM


avatar image


I have seen several questions asked on scn about the scenario I am trying to achieve but none of them really answered the question.

I am in a use-case where I already have the label formated in ZPL commands, and I simply want to send this file or generate a spool from these commands in order to print the label that will be used for handling units (each label should be unique for one EXIDV, so if I call the web service for 3 different EXIDV, the content of the label will be diferent).

I have a first step where I call an external Web Service that provides me with the ZPL commands sequence, so this quite easy because I do not need to edit any form since it is already well formated.

The Web service sends me back:

- The label header: string of ZPL commands

- The label body: string of ZPL commands

- The label footer: string of ZPL commands

The label body is quiet long since it is 256 characters long.

I am using a Zebra ZT410 printer and the installed driver in SPAD TCode is LZEB2.

SAP does not directly communicate with the printer since ther is a print server in between.

Any idea on how I could generate a spool or maybe simply move the flat file to the printer in order to trigger the print output ?

Thanks in advance for your help,



10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers