Width of page when printing 2D barcodes to a Zebra 220 from AS400/iSeries using ZPL2 (SOLVED)

N Neil Carter 3 years 7 months ago
5 0 0

Hi,
We have been using Ethernet attached Zebra printers to print from the AS400 (iSeries) for a number of years, using ZPL2.
We now need to print 2D/QR barcodes for Hermes (Distribution company) and the QR description could well exceed 198, 255 and possibly 378.
Does anyone producing Hermes labels know how to get over the problem of carriage return appearing in the description? This is appearing because of the page width limitations.
Thanks for reading,
Neil
EDIT: I've worked out how to do this.
Program
FQSYSPRT O F 350 OF PRINTER
CL
OVRPRTF FILE(QSYSPRT) DEV(&PRTR) PAGESIZE(*N 350 +
*ROWCOL) RPLUNPRT(*NO) FONT(290) +
FORMFEED(*CONT) OUTQ(*DEV) SAVE(&SAVE) +
SPLFNAME(HERMES)
Font 290 is 27cpi and 350 is about the maximum number of characters that can be 'printed'.

CONTACT
Can’t find what you’re looking for?