Bold text in ^FB

// Expert user has replied.
D Dmitriy Abramkin 3 years 7 months ago
60 1 0

Hi,
I need to write long text with line breaks and I use ^FB command, some of words I need to mark as bold. But ^FB command it’s not supporting spaces in line breaks, in documentation it says "Normal carriage returns, line feeds, and word spaces at line breaks are discarded.", so it's not working (see example on attached screenshots)
Is there workarraound for this issue?
Thanks.

Please Register or Login to post a reply

1 Replies

S Steven Si

On the ZPL Programming Manual, it is said that "Normal carriage returns, line feeds, and word spaces at line breaks are discarded", which means that the spaces & line feeds around the carriage returns put there by the text editors will be ignored. However, you can use the \& as the carriage return at where you think the line should break inside the textbox. the spaces around \& are not ignored or discarded. See the following example for line breaks of \&. Hope this helps.

^XA^CI28
^FO1,9
^FB664,5,5,L,0
^AA,26,12
^FDOne, two, three, four, five, six, seven, eight, nine, \&one,
two, three, four, five, six, seven, eight, nine, \&one, two, three, four, five six, seven, eight, nine
^FS

^FO2, 10
^FB664,5,5,L,0
^AA,26,12
^FDOne, two, three, four, five, six, seven, eight, , \&. , , three,
four, five, six, seven, eight, nine
^FS
^XZ 

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