printing - How can I preserve leading whitespace in this ZPL? -


i trying print receipt zebra qln320 printer. sending whitespace ":" characters appear aligned in ticket:

^xa^ll256^poi^fo20,20^adn,10,8^ci10^fb550,9999,,l^fd \&            cra : jab \&    contrato no : \&      domicilio : rambla del poblenou \& ^fs^xz 

however, printer striping leading whitespaces , printed result is:

cra : jab contrato no : domicilio : rambla del poblenou  

so, how can add "indent" without having set ^fo each line?

^xa^ll256^poi^fo20,20^adn,10,8^ci10^fd             cra : jab     contrato no :       domicilio : rambla del poblenou  ^fs^xz 

i don't have printer available @ present, haven't tested this.

i believe it's ^fb that's causing problem - l option that's left-justifying data.


Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -