Skip to Content

Smartforms rotated label text on same line

Hi,

I have two questions. Any input to either will be appreciated.

Using ECC6/Smartforms/Zebra Z6MPlus

1. I have a label on which I need to print the address rotated 90 degrees. Using ^FWN I have rotated the window and the address is printed rotated. Except, all the lines are outputing on the same line. When I remove the rotation they output on four horizontal lines. It looks like carriage return line feed is missing. I have tried, using the Smartforms paragraph '\', to put in a line feed but no success.

2. One field contains "Customer Reference Number 4452031". Horizontaly, it prints perfectly. Verticaly, only "Customer Reference Number" is printed. I have made the window that the text is in huge so that it should be both wide and high enough

Thanks.

Add comment
10|10000 characters needed characters exceeded

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on May 14, 2009 at 12:32 PM

    Hi,

    Please check the below windows where they are starting and check is they are overwriting the present window.

    Thanks,

    Suma.

    Add comment
    10|10000 characters needed characters exceeded

    • bahhhhhhhhhhhhhhhhhhh!!!!!!!!!

      1. I spoke to a guy in Zebra (very helpful) and he said that I must create a seperate window for each line. Very annoying, but looks like I have no other option.

      2. This is where the 'bahhhhhhhhhhhhhhhhhhh' is coming in. I must have been doing some copy and pasting because there was a TAB included in the text which was stopping everything else coming out. I removed that and it works now.

      Thanks all.

  • author's profile photo Former Member
    Former Member
    Posted on May 14, 2009 at 12:33 PM

    This message was moderated.

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 14, 2009 at 01:32 PM

    Hi,

    Try this.

    There is a command in the ZPL-II printercontrol language that rotates each individual field by 90 degrees (clockwise). If you insert this command into the output data stream using the u201Ccommand nodesu201D mechanism asdescribed below under u201CPrinter Settingsu201D, you will achieve the rotation of individual fields at printout. However, you must adjust the position of the fields (or windows) in the form to obtain a "landscape" printout, as Smart Forms and the printer driver are not aware of the rotation. Therefore, define the Smart Form with the "portrait"orientation. For the rotation, add a command node, for example in the MAIN window. Inthis command node, enter the following under "spool control", "free attributes":

    Attribute name: S_LZPL_SETUP

    Attribute value: '^FWR'

    The LZPL printer driver sends the ^FWR command to the printer at the beginning of the label and causes a rotation of the output fields.

    Regards

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Aidan,

       

        How did you use the following to achieve the requirement ?

      Attribute name:     S_LZPL_SETUP                               

      Attribute value:    '^FWR'

      Regards

      Lavanya