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

Label Printing in Landscape

Hi,

We have label(Smartforms) to print, Main window is according to label size 4X6 and inside main window, LOOP is used to display fields, along with Bar codes. ZPL command S_LZPL_SETUP '^FWR' is used to tilt . Loop is used to have multiple labels,

which is triggered via a Report. Zebra PDF has some inputs, but in case of multiple label, windows cannot be overlapped.

Thanks

Mohinder

Add a comment
10|10000 characters needed characters exceeded

Related questions

5 Answers

  • Posted on Jul 15, 2011 at 01:43 PM

    Hi,

    Check if SAP note 1272273 resolves this problem.

    regards,

    Aidan

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 18, 2011 at 08:06 AM

    Hi Aidan,

    Thanks for replying. Note is useful, it talks about implementing note which is present.

    Issue I face is, Smart forms is triggered via a custom Program, can provide number of print outs, works well In Portrait, but in case of approach we used for earlier labels, On Main window we placed multiple windows for Texts and barcode, according to inclination. So every texts tilted when it encounter ZPL ^FWR command. For this scenario for multiple Labels LOOP is introduced for label, which doesnt allow to form multiple windows when used with command.

    Thanks

    Mohinder

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi,

      You should add a ^FWN command in a node at the end of the smartform. Then the text is rotated back to normal so it is ok that the ^FWR command is called again when the smartform is called again each time around the loop.

      You should add the ^FWN command to a print control in the device type you are using.

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

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

      ZNOR: ^FWN

      In the smartform, 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 'ZNOR'.

      regards,

      Aidan

  • author's profile photo Former Member
    Former Member
    Posted on Jul 18, 2011 at 12:45 PM

    Hi Aidan,

    Thanks for replying. Information you are providing is very useful to proceed.

    Still issue remains, as far as declaration is .

    {

    Main window

    command S_LZPL_SETUP '^FWR'

    New Window

    LOOP itab ( Multiple values )

    code

    Text1

    Text2

    Text3

    Command, To terminate. - -


    > Issue is here, Internal table will have multiple line items.

    For label to tilt need Different windows (with text/run time variable) after main window, cannt have it in loop.

    New window

    Command S_LZPL_SETUP '^FWN' to make Zebra printer understand to change.

    }

    Thanks

    Mohinder

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 20, 2011 at 01:53 PM

    Hi Aidan,

    Thanks for replying, your posts were helpful. As we cannt add windows inside loop, I called smartforms inside Loop for requirement. Also, I was add S_LZPL_SETUP ^ FWR and S_LZPL_SETUP ^ FWN at last.

    Thanks

    Mohinder

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 20, 2011 at 01:54 PM

    Thanks

    Mohinder

    Add a comment
    10|10000 characters needed characters exceeded

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.