Printing the same label design on printers with different orientations or rotations.

Problem

You have two different kinds of printers. Printer A prints landscape-oriented labels. Printer B prints portrait-oriented labels.

Label orientation is a label design property, and for such printing, you use two label files with the same design but different label properties, which is inconvenient.

Solution

To avoid additional label designs for printing both portrait and landscape orientations, you can print with Designer PowerForms or Automation using only one label design.

To create a solution for printing both orientations:

  1. Add a new variable to your solution. For example, rotation.

  2. Set Initial value for your new variable. Enter XML data about your label settings.

    03_initial_value.png

    The syntax for XML content in your variable:

    <LabelSettings>
          <Width>x_dimension</Width>
          <Height>y_dimension</Height>
          <Orientation>Landscape</Orientation>
          <Rotated>true</Rotated>
    </LabelSettings>

    x_dimension and y_dimension: Label width and height in Units of measure defined in Label Properties. For example, 100

    04_units.png

    Orientation: Landscape/Portrait

    Rotated: True/False

    See the graphical explanation about orientation and rotation in Label Properties > Paper.

    05_paper.png

    Note

    You can add additional Label Settings XML options. See the NiceLabel Automation user guide, section Sample Label settings XML.

  3. Open your Designer PowerForms or Automation solution and add the action Set Print Parameter.

    Note

    In Designer PowerForms create two separate Print buttons. Add Set Print Parameter action to the button where you want to print rotated labels.

    06_set.png
  4. Expand Show advanced print parameters.

    07_advanced.png
  5. Enable Data source in Label settings. Select your orientation/rotation variable.

    02_datasource.png
  6. Click OK.

When you press the Print button with the Set Print Parameter action in Designer PowerForms or execute the action in Automation, your labels print with orientation/rotation different from your label design.