RAW print request
RAW is a special type of print request that can be included in an XML- or ULD-format print request.
Starting in 9.8.1, EPP allows an inbound print request to contain ZPL encoded in Base64 in an ASCII string in an XML or ULD print request. This allows you to print already-designed certified labels (such as those you might receive from common carriers like FedEx or UPS) without the need for an associated data dictionary or label template item.
Print requests must include a label format of _RAW and a Base64 encoded ASCII string in a reserved variable labeled _PRINTRAW.
If you have an Enhancement Engine license, the print request can be routed through the Enhancement Engine. You can determine the printer destination or add metadata to the request. You must not change the Base64 encoded string.
RAW requests have been tested only with ZPL, but this feature may work for other printer languages and use cases. EPP does not check the encoded printer language, and there is no attempt to ensure that the language being sent is valid for the printer destination.
The following is an example of a RAW print request in XML format. Due to the fact that Base64 encoding is very large, this sample is abbreviated.
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!DOCTYPE labels SYSTEM "label.dtd"> <labels _FORMAT="_RAW" _PRINTERNAME="siteName#printerName" _QUANTITY="1"> <label> <variable name="_PRINTRAW"> XlhBXklEUjoqLioNCl5NQ1kNCl5YWg0KfkVHfkVGDQp+REdSOlBDWDAwMDAwLkdS RiwxMDkyLDEyLDAzRkZGRkZGRkZGRkZGRkZGRkZGRjgwMDA3RkZGRkZGRkZGR kZGRkZGRkZGRkUwMDBGRkZGRkZGRkZGRkZGRkZGRkZGRkUwMDFGODAwMDA wMDAwMDAwMDAwMDAwM0YwMDNFMDAwMDAwMDAwMDAwMDAwMDAwMU Y4MDNFMDAwMDAwMDAwMDAwMDAwMDAwMDc4MDdDMDAwMDAwMDAwMD AwMDAwMDAwMDdDMDc4MDAwMDAwMDAwMDAwMDAwMDAwMDNDMEY4MD AwMDAwMDAwMDAwMDAwMDAwMDNDMEY4MDAwMDAwMDAwMDAwMDAwM ... F5GUw0KXkZUNDgsMTEzNF5CWTQsMi42LDEwXkJDTiwyMDMsWSxZLE4sVV5GRD AwMDEyMzQ1MTIzNDU2Nzg5XkZTDQpeUFExLDAsMCxODQpeWFo= </variable> </label> </labels>
The following is an example of a RAW print request in ULD format. Due to the fact that Base64 encoding is very large, this sample is abbreviated.
/L=_RAW /P=siteName#printerName /C=1 /DR=_PRINTRAW XlhBXklEUjoqLioNCl5NQ1kNCl5YWg0KfkVHfkVGDQp+REdSOlBDWDAwM DAwLkdSRiwxMDkyLDEyLDAzRkZGRkZGRkZGRkZGRkZGRkZGRjgwMDA 3RkZGRkZGRkZGRkZGRkZGRkZGRkUwMDBGRkZGRkZGRkZGRkZGRkZG RkZGRkUwMDFGODAwMDAwMDAwMDAwMDAwMDAwM0YwMDNFMDA ...
Loading...
There was a problem loading this topic