Saturday, 15 June 2013

zebra printers - ZPL Center text vertically -



zebra printers - ZPL Center text vertically -

is there way in zpl center text vertically?

i know can utilize ^fo0,0^asn,50^fb200,3,0,c,0^fd text ^fs. how can create print on 2nd line if it's short enough?

there isn't vertical centering feature, can false it, if know in advance string short plenty fit on middle line.

your ^fb defines field block 3 lines. best alternative determine if string fits on 1 line... , if does, insert "\&" before string.

^fo0,0^asn,50^fb200,3,0,c,0^fd\&text^fs

zebra-printers zpl

No comments:

Post a Comment