Skip to Content
author's profile photo Former Member
Former Member

Zebra printing S_LZPL_SETUP = ^FWR & ^LRY

We are trying to design zebra labels, using SAP smartforms. Due to the label orientation in printer, I have to use S_LZPL_SETUP as 'FWR', in my smartform, as per the documentation available at Zebra.com. In the documentation, it is also told, to use 'LRY', for text reversing. But, when I try to include another command window and include '^LRY', smartform throws me an error saying "Value of spool attribute S_LZPL_SETUP cannot be changed.". In such a situation, how can we put in more than one command, for S_LZPL_SETUP attribute?

Requirement is to change the orientation of the output, which I am able to do, using ^FWR; and to reverse only <b>one</b> window, in the output.

Thanks,

Juwin.

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Posted on Mar 12, 2013 at 09:19 AM

    Hi folks,

    I started to explore this area too and found, you can add more than one ZPL command under one S_LZPL_SETUP which is used for general commands. Just separate them by character '^'. I used this way to print QR codes as e.g. S_LZPL_SETUP '^XA^BQN,2,10^FDMM,AAC-42^FS^XZ' . All the ZPL II commands are under one S_LZPL_SETUP and it works. So in this case it would be something simply like '^FWR^LRY'. I know it's late answer, I am letting know just for the others...

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Mar 24, 2009 at 10:27 AM

    anyone know the answer to Juwin's question below? I would like to do the same.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 24, 2009 at 10:51 AM

    Hi,

    maybe not the answer you want.

    Use SAP-script. In SAP-script you have less restrictions in what is allowed and not allowed.

    and there are not done a number of presettings before you reach the first smartform statements.

    I hope you won't getr angry on me (and maybe it helps)

    Gr., Frank

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Aidan Mulcahy

      Hi,

      I think you will a little glad that you solved the problem.

      and even more because you didn't have to start a brand new sapscript (including program)

      I was just clicking you to continue your thread.

      Nice meeting you,

      Gr., Frank

  • author's profile photo Former Member
    Former Member
    Posted on Mar 26, 2009 at 04:48 AM

    Hi Kroc,

    Could you please explain me how to use ^FWR command in smartforms.I also have the same requirement and i was not able to do that.What are the settings to be done.

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi,

      well, I tried to do it the way Zebra described by putting S_LZPL_SETUP = ^FWR into the free attributes section of a Smartform COMMAND but that didn't work so I did this:

      1. created two print controls ZNORM and ZRT90 in SPAD,

      2. assigned them to my Z-device and assigned the value ^FWN to ZNORM and ^FWR to ZRT90,

      3. assigned the z-device to the printer

      4. in the window where the Smartform COMMAND is called (before the TEXT to be rotated) put the ZRT90 into the Include Printer Control field.

      The text should now be rotated 90 degrees.

      Note that you should send ZNORM after because ZRT90 seems to be stored in memory even for the next print out. So, ZNORM should be the last thing called.

      I am still testing this procedure and have a few questions so am going to create a [New Post|Smartform Zebra Printing (controls, memory, rotating); today. I will put the link in here later so please answer some of the questions if you can.

      Kroc.

      Edited by: Kroc on Mar 26, 2009 8:47 AM

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.