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.
Bold text in ^FB// Expert user has replied. |
1 Replies
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