Skip to Content
avatar image
Former Member

Interactive Forms - Print orientation - ZPL

Hi,

i am going to create my first label on a zebra printer with adobe forms (LiveCycle-Designer 8.2). When i print the label with a portrait-format everything is fine.

In a special case the height of the label is about 2cm and the width is 10cm. So the masterpage automatically turns to landscape-format. The preview is ok but when i print on the zebra the label is rotated with 90 degrees.

I think the landscape-format changes the ZPL-code.

Has anybody experiences with this penomenon?

best regards

Frank Thomas

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Best Answer
    Oct 28, 2010 at 02:00 PM

    Hello,

    this rotation happens on the zebra level not in the ADS generated content. If the papertype seems to be landscape than the printer usualy rotates the print by 90 degree.

    Best regards,

    Dezso

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 04, 2014 at 08:56 AM

    Hi,

    you can turn the orientation back to portrait using FormCalc.

    i.E. in event initialize:

    PAGE1.medium.orientation = "portrait"

    Worked for me...

    Greetz

    Markus

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Sebastian Hockmann

      See code below, copy to editor and print it on your Zebra.

      Look at Zebra Programming Guide for explanations of commands.

      ~SD15

      ~TA000

      ^XA

      ^PW320

      ^LL200

      ^PON

      ^PR2,2

      ^PMN

      ^MNY

      ^LS0

      ^MTD

      ^XZ

      ^XA^JUS^XZ

  • avatar image
    Former Member
    Nov 03, 2010 at 07:18 AM

    Hi,

    we have another Output-Tool called Streamserve. With this tool there is no problem with rotating labels and we don`t have to change anything on the zebra-level.

    ...so does anyone know how to change this behaviour on the zebra-level? I tried to change the printer settings but there were no changes in the result.

    best regards

    Frank Thomas

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi linus,

      i did not solve the problem but printing landscape-labels with ZPL works.

      When i am ready with designing the label i reduce the width to the height. After that i change the orientatation to portrait.

      So the preview is not complete but the printed label looks good.

      regards

      Frank

  • Jun 19, 2014 at 03:49 PM

    Thanks a lot. Problem solved. :-)

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 07, 2015 at 09:28 AM

    Hi,

    I had a similar problem.

    I solved the problem after changing the orientation (Seite1.medium.orientation = "portrait")

    and also changing the rotation of all text- and graphic- fields in the XML Source.

    (example: <field access="protected" h="9mm" name="PA_MATNR" rotate="90" w="49.387mm" x="0.201mm" y="49.587mm">)

    Add comment
    10|10000 characters needed characters exceeded