I am working on a Windows tablet application that generates ZPL label formats from a database and send them to a ZQ520 printer over a Generic/Text printer driver. Generating the ZPL format and sending it to the printer works like a charm. I am running into an issue where the multiline text in either Table Block, Field Blocks or simply Field Data tags has extraneous spaces between several words. Even after changing the font for the fields, I still get the same spacing between the same words. I have examined the text of the ZPL file in a hexadecimal editor and there are no extraneous characters in the fields, the placement seems to be random in that there is no common combination of characters triggering the extraneous spaces.
One of the attempts I have made to try to narrow the problem down is:
^XA
^LL800
^LH15,15
^FO15,0
^A022,22
^TBN,752,250^FDLorem ipsum dolor sit amet, consectetur adipiscing elit. Proin porttitor porta urna sed pharetra. Quisque at malesuada dolor. Cras mollis justo neque, quis commodo arcu condimentum molestie. Ut elit justo, tempus vitae nulla sed, rutrum fringilla dui. Proin scelerisque nisi pretium arcu tristique, eu mollis ante fermentum. Ut eu imperdiet sem. Proin ultricies sit amet sem sodales fermentum. Morbi vehicula elementum tempor. Suspendisse ut ligula ac nunc aliquam consectetur. Nullam nec scelerisque ante. Nam sodales justo at velit vestibulum, non dignissim risus feugiat. Morbi consectetur sit amet ligula ut dictum. Quisque efficitur, lorem vel ullamcorper blandit, magna nibh sodales metus, non egestas felis erat pretium justo. Aliquam pulvinar ex eget condimentum suscipit. Pellentesque sed ornare nibh. Nunc commodo ullamcorper tincidunt.^FS
^XZ
The spaces appear between adipiscing and elit, malesuada and dolor, condimentum and molestie, dui. and Proin and many others. I have also tried using fonts C, D, F and 0 (zero). Additionally, I have also used the ZPL and the CPCL Zebra printer drivers as well as the Seagull Scientific driver with the same results on both a Windows tablet and a Windows PC.
Odd spacing in multi-line format fields// Expert user has replied. |
2 Replies
Hi Russel,
What firmware version is on your ZQ520 printer?
Greg
The firmware version is V76.19.15Z. It was updated earlier this month from 13Z on the advice of our vendor.