I have examined the spooler data in "raw" mode, and there is always an ASCII character 28 (hex 1C) in front of the characters that SAP think are control codes, and this is why I think these non-printable characters are the reason for the problems.
The printer ctrl code differs, depending om the label. Print ctrl S_0D_ is not defined for this printer. The error we see in the spooler entry is this: UPS has also tested the labels, and rejected them because of incorrect data in the barcode.įor printing, we are using printers defined as type "PLAIN", but I also tried using the "LZEB2" device type with the same result. The MaxiCode (the big 2D barcode) is different in these labels. I then print this raw data and compare the output with the labels printed from the spooler. I have verified this by saving the ZPL data to a local file, before printing it through the SAP spooler. When passed to the SAP printer spooler (see code example below), the data gets corrupted because SAP interprets these non-printable characters as printer control codes. The problem with the UPS label data is that it contains non-printable characters (in the MaxiCode data field). We have already implemented this with Fedex and some custom labels, and it works perfectly. In case you feel the need to read some more about a certain device, the 'Resources' tab will lead you to the location where you can seek for the necessary manuals.Īll in all, since it is a highly specialized tool, Zebra ZPL II Utility is suited for a limited number of scenarios, but the ease of use makes it usable by everyone, regardless of their level of experience.We are printing shipping labels from UPS, with a process where we recive the ZPL label code directly from UPS, and we just need to pass the data to the printer to get the labels.
Zebra ZPL II Utility will also make it possible for you to try and update, save or recall configurations and also send 'Power on Reset' commands to the target printer. You have the possibility to test out basic instructions like 'pause', 'resume' or 'cancel all', as well as print configuration labels or object lists. When it comes to testing the administration commands, each of them can be individually selected and dispatched to the printer. For instance, inside the ZPL tab of the utility you will be able to write or paste the code, then send it to a Zebra Printer with a single click. Grouped inside a simple interface, all the functions are at hand and there are only a few things you can customize.
The great thing about this application is that you can run it as such, without installation or any special configurations. One such program goes by the name of Zebra ZPL II Utility and comes in an extremely small package to offer you several handy features. The Zebra Programming Language is no exception and it even has some dedicated tools for checking the code before it is produced as output. There are many types of programming languages and even printers have their specific codes that are employed to send commands and have specific content displayed accordingly.