Printing RTL and LTR text on Label

Hello there,


I have a situation where I need to print English text (LTR) and Persian text(RTL) on a label. I set my ^LH0,0 which is set from left of the label(my label is 4x4 inch) and I have no issue when it prints the first section that is English text. In the second half of my label I print the English translated text in Persian which need to start from right side of the label. Now my problem is when my Persian text is long for some values then it cannot print it as it goes outside the label. Is there some command where I can reset the LH again from the right of the label after I finish my English text and am about to start the Persian text. I have copied my ZPL2 command below.Please help!!



















^FO50,190^AEN,20,20^FPH\^FD English Text ^FS

^FO50,220^AEN,20,20^FPH\^FD Some English Text ^FS

^FO50,250^AEN,20,20^FPH\^FD Some English Text Text^FS

^FO50,410^ARN,10,10^FPH\^FD Some English Text Text^FS

^FO50,470^ADN,18,10^FPH\^FDManufactured By:^FS





^FO400,550^A@N,35,35,E:RA000.TTF^FPH\^FH^FDSome Persian Text^FS

^FO400,580^A@N,35,35,E:RA000.TTF^FPH\^FH^FDSome Persian Text^FS

^FO400,610^A@N,35,35,E:RA000.TTF^FPH\^FH^FDSome Persian Text^FS

^FO400,655^A@N,30,30,E:RA001.TTF^FPH\^FH^FDSome Persian Text^FS

^FO350,700^A@N,25,25,E:RA000.TTF^FPH\^FH^FDSome Persian Text^FS

^FO485,730^A@N,25,25,E:RA000.TTF^FPH\^FH^FDSome Persian Text^FS



Anonymous (not verified)
Hi Zolf,You don't need to

Hi Zolf,

You don't need to change the origin point.  You might find this page of the ZPL manual useful.

In essence, you can adjust the origin point of each field, or you can create a field block (^FB) and justify the text as it makes sense for your use case.




^FO600,50^A0N,35,35^FPR^FB550,,,R^FDSome Persian Text^FS



Vote up!
Vote down!

Points: 0

You voted ‘up’

Log in to post comments