cancel
Showing results for 
Search instead for 
Did you mean: 

Smart form rotate 90 degrees with Zebra printer

Former Member
0 Kudos

Hi Experts,

We are using smart form to design label which need be printed by Zebra printer, and the label need be printed in landscape. Currently we are using the Zebra command '^FWR' in smartform to rotate the field in each window, but the rotated format is very strange. Can anyone let me know how the rotate command work?

It would be highly appreicated if an rotate example can be provided.

Many thanks.

Benny.

Accepted Solutions (0)

Answers (3)

Answers (3)

thiago_tkac
Discoverer
0 Kudos

Preferentially use YZB*** drivers with a Smartform using a page format that matches the exact size of the label. The page orientation should be set as "landscape". You can find the details in the below SAP note, also checking the related ones.

2344794 - Rotate Zebra ZPL II Labels with Smartforms

Symptom

You need to rotate your label printouts on a Zebra ZPL II printer. In other words you need to change the orientation to landscape or portrait.

Resolution

This depends on which device type you are using:

  1. SAP device types from notes 750772 / 750002 such as LZEB2 or LZEB3:
  1. Note 750772 describes how selecting the landscape orientation when using these device types cannot work. Instead there is a workaround provided by using the ZPL-II command ^FWR to rotate each individual field in the form. See the section "Page size and page orientation" in the note for details:
  • 750772 - Information about the ZPL-II printer driver for Smart Forms
  • 750002 - Support for Zebra label printers (ZPL2)
  • Zebra device types from note 1173046 such as YZB200 or YZB300:
    1. In most cases these device types provide the better solution as you can rotate the entire label instead of rotating each individual text. Be aware that with these device types you also need to install the accompanying device driver as described notes 1173046 and 1103422:
    • 1173046 - Printer Vendor Wizard Note: Zebra
    • 1103422 - SAP Printer Vendor program: Installing device types, etc.
    1. For the rotation to work you must also follow the steps in note 1696511 and the pdf document attached to this note:
    • 1696511 - Problems when printing in landscape format on Zebra printer
    former_member183924
    Active Participant
    0 Kudos

    The Zebra command ^FWR rotates each individual field by 90 degrees (clockwise). But then you'll have to adjust position of each field again for landscape output.

    In ZPL II printer language is no command for rotating label by 90 degrees. The printer driver doesn't understand "orientation=LANDSCAPE".

    A slightly better solution could be to define a smartform with portrait orientation. Add a "command node" in first window and enter attribute name "S_LZPL_SETUP" with value '^FWR'.

    Please note that this command doesn't has an effect on barcodes. They have their own parameters for rotation. Please define these parameters in SE73 for each barcode type your're using.

    --

    Steffen

    Former Member
    0 Kudos

    refer link