Skip to Content
avatar image
Former Member

Rotate Text in Smartforms

Hi all,

I've seen several threads explaining how to rotate the text for an entire label but I need to rotate only 2 of 12 windows on my Zebra label output.

When I use the ^FWR command it changes the rotation for the entire label, not just one window.  Has anyone created a Zebra label through Smartforms that prints both horizontal and vertical text?  See below for an example.

http://screencast.com/t/h8mblXqO

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • avatar image
    Former Member
    Sep 19, 2012 at 06:39 PM

    Sorry, here's the image:

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 20, 2013 at 02:25 PM

    Hello Jack,

    I believe adding  the ^FWR command via a Print-Control command node in your SF is the way to go. But you need to re-set the rotation to "normal" after your "to-be-rotated" field. Here is what Zebra's ZPL2 documentation says about this cmd:

    "The ^FW command only affects fields that follow it. Once you have issued a ^FW cmd, the setting is retained until you turn off the printer or send a new ^FW command".

    So you need to somehow achieve that you send a ^FWN after your rotated text which will set the default rotation back to "Normal" = unrotated.

    Best regards,

      Alexander

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 30, 2013 at 07:34 AM

    Hi,

    Firtly, in the used device type, you need to create two print controls

    containing the commands ^FWR and ^FWN via transaction SPAD:

    SPAD -> Full Admin -> Device Types -> e.g. LZEB2 -> tab Print Controls

    Here add the new print control commands: e.g.

    ZROT: ^FWR

    ZNOR: ^FWN

    In the smartform, within the window where you need text rotated, create

    a new command node by:

    right click -> Create -> Flow Logic -> Command Node.

    In the command node, there is a field 'Include Printer Control'.

    In here enter 'ZROT'.

    In the smartform flow, after the rotated text is processed, create a

    second command node and issue the second print control ZNOR which

    contains command ^FWN. This should turn the text back to normal

    orientation.

    BR,

    Wen Peng

    Add comment
    10|10000 characters needed characters exceeded

    • Hi,Peng.

      I want to rotate text in my smartforms,And  i set the spad,used the command about the text with 'print control ^FWR',But nothing happend.

      So,what's wrong with this?

      BestRegards!

  • Jan 06, 2014 at 04:58 AM

    Thank you all...Let me try these once I get the printer information.

    Add comment
    10|10000 characters needed characters exceeded

  • May 06, 2014 at 02:18 AM

    Hi,Jack.

    Also i want to set text rotated in my smartforms,But after i insert the Print Control 'ZROT' i counld find it in the smartforms field search help.So,Could you please help me.(I am new to sap)

    Add comment
    10|10000 characters needed characters exceeded