In organisation there is need to print bar code labels on stickers. One possibility
is to use sticker printer and send to it PostScript or any other general purpose
printing command. But for heavy-duty usage, when count of labels is high, such
scenario has disadvantages - in such case printer prints slow, and quality of
labels isn't acceptable.
Table of Contents
There is special language - Zebra Programming Language (ZPL) - which is optimised
for printing bar code labels. This how-to describes usage of ZPL in ERP5 from
user and developer point of view.
Download newest version of ventis_zebra_gpl from the list. Install it and read this how-to.
The Business Template attached, demonstrates how to use a ZPL script with Page
Templates. For more information about ZPL please read 'ZPL II Programming Guide',
which is available on-line on Zebra's website.
This BT is connecting to Zebra printer via FTP port and it is sending pure ZPL
data. While creating ZPL templates you may set print quality and any other
printing properties. Images can also be attached to the template.
The template can be put as a Page Template in Zope instance and can be 'TALed'.
This example was tested on Zebra Z4Mplus printer, but should also work on any
other ZPL network enabled printer.
This BT was made in Ventis by Łukasz Nowak.