0 Replies Latest reply on Aug 6, 2017 9:43 PM by Zolf Jafari

    Printing RTL and LTR text on Label

    Zolf Jafari

      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!!

       

      cheers

      Zolf

       

      ^XA

      ^LH0,0

      ^FO50,50

      ^BXN,4,200,26,26

      ^FD${fnc}^FS

      ^FO168,50^AE,18,10^FPH\^FDGTIN:^FS

      ^FO265,50^AEN,18,10^FPH\^FD12345678901234^FS

      ^FO168,80^AEN,18,10^FPH\^FDUID:^FS

      ^FO265,80^AEN,18,10^FPH\^FD$8888888888888888888^FS

      ^FO168,110^AEN,18,10^FPH\^FDEXP:^FS

      ^FO265,110^AEN,18,10^FPH\^FD2017-08-07^FS

      ^FO168,140^AEN,18,10^FPH\^FDLOT:^FS

      ^FO265,140^AEN,18,10^FPH\^FD$888^FS

      ^FO50,180^GB730,1,3^FS

      ^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

      ^FO560,190^XGE:FRAGILE.GRF^FS

      ^FO680,190^XGE:HANDLE.GRF^FS

      ^FO50,520^GB730,1,3^FS

      ^PA1,1,1,1^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

      ^FS

      ^XZ