Using conditionals within wml - LinkOS Compatible Zebra Printers

Article ID: 71096638

Details


 

Topic or Information

Conditionals (if condition) can be used in wml files to enhance functionality 

Applies To

Link OS Compatible Zebra Printers

Details

Conditionals increase the flexibility when using wml.

The use of conditionals within wml files is illustrated below:

Syntax:
<if condition="(sgd name) (operator) (value) ">
</if> 

Example:
<if condition="device.status = ready">
 (statements to execute)
</if> 
Can be nested:
<if condition="ezpl.media_type ! continuous">
    <if condition="ezpl.print_mode = peel off">
     (statements to execute)
    </if> 
</if> 
 

Source

Marty K

 

+ Product Codes

  • All Surface RFID Label Solution
  • QLn Series Healthcare Mobile Printers
  • QLn Series Mobile Printers
  • QLn220 Healthcare
  • QLn220 Mobile Printer
  • QLn320 Healthcare
  • QLn320 Mobile Printer
  • QLn420 Mobile Printer
  • ZD410 Series
  • ZD410D
  • ZD420 Series
  • ZD420-HC
  • ZD420C
  • ZD500 Desktop Printer
  • ZD500 Desktop Printer
  • ZD500R RFID Printers
  • ZD500R RFID Printers
  • ZQ500 Series Mobile Printers
  • ZQ510 Mobile Printer
  • ZQ520 Mobile Printer
  • ZT200 Series Industrial Printers
  • ZT210 Industrial Printer
  • ZT220 Industrial Printer
  • ZT230 Industrial Printer
  • ZT400 Series Industrial Printers
  • ZT400 Series RFID Printers
  • ZT410 RFID Industrial Printer
  • ZT420 Industrial Printer
  • ZT420 RFID Industrial Printer
  • iMZ Series Mobile Printers
  • iMZ220 Mobile Printer
  • iMZ320 Mobile Printer