Welcome to the Industrial Automation website!

NameDescriptionContent
HONG  KANG
E-mail  
Password  
  
Forgot password?
  Register
当前位置:

Zebra EPL2 Complete Guide

来源: | 作者:FANS | 发布时间 :2026-05-15 | 42 次浏览: | 🔊 Click to read aloud ❚❚ | Share:

P1 printing.

4.2 Variables (V command)

Vnn, max, justification, "prompt" defines a variable field, where nn ranges from 00 to 99 and max is the maximum number of characters. Reference through Vnn in text or barcode data.

Expression support: A100200, 0, 4, 1,1, N, "Oil change at" V00+3000 "miles." can perform addition operations (only supports constant and variable addition). If the result exceeds the field length, fill in "X".

4.3 Counter (C command)

Cn, digits, justification, step, "prompt" define automatic up/down counters (only numbers are supported). The step size is+1 to+9 or -1 to -9. Use as an additional variable when the step size is+0.

Protecting consecutive numbers: Adding a minus sign - in front of the prompt can make the prompt only appear once when the form is recalled, and then automatically use the last value and increment it to prevent duplicate printing of the same serial number.


Advanced configuration of 2D barcode

EPL2 supports two-dimensional barcodes such as Aztec, Data Matrix, MaxiCode, PDF417, QR Code (Japanese models), etc., all of which use the b command, but the third parameter is different (A is Aztec, D is Data Matrix, M is MaxiCode, P is PDF417, Q is QR Code).

5.1 PDF417 Automatic Optimization

b x,y,P,max_width,max_height,sN,cM,xW,yH,rR,lC,tT,oR,"DATA"

Set the error correction level (s0-s8, default automatic).

Choose compression mode (c0 automatic, c1 binary).

X module width (dots, 2-9), y module height (4-99, default 4 x width).

Maximum number of rows for r and maximum number of columns for l.

The printer will automatically adjust the module size and number of rows/columns to fit the maximum size limit.

Common error: When the amount of data is too large to fit, error 93 (PDF-417 coded data too large) will be reported. The maximum width/height should be increased or the error correction level should be raised.

5.2 MaxiCode Mode Selection

MaxiCode supports modes 2, 3, 4, and 6. If not specified, the printer automatically selects mode 2 for all digits and mode 3 for alphanumeric characters based on the postal code. The data format for Mode 2/3 is: [)><RS>01<GS>zip<GS>country<GS>class<GS>tracking<GS>..., where<RS>=0x1E,<GS>=0x1D. The printer can automatically parse the AIM standard format.

5.3 Geometric Shape of Data Matrix

B x, y, D, cC, rR, hH, "DATA" where C specifies the number of columns and R specifies the number of rows. If not specified, the printer automatically selects the smallest square. If only columns (such as 18, 26, 32, 36, 48) or rows (8, 12, 16) are specified, rectangular symbols may be generated. When the data length is incompatible with the geometric shape, error 03 (Data Length Error) is reported.


Asian fonts and multilingual support

Asian models (Chinese, Japanese, Korean) support dual byte font 8 (24 × 24 dots @ 203 dpi, 36 × 36 @ 300 dpi) and font 9 (Traditional Chinese/Japanese). Single byte Latin fonts are retained simultaneously.

Use the 'i' command to set the spacing between Asian characters: i3 adds 3 spaces between characters.

Japanese JIS input: Use Shift (1C hex) plus&to enter JIS mode, Shift. to exit.

Code page switching: I8,0001 select American English (Code Page 437). The appendix lists various code pages (437, 737, 850, 852, 855, 857, 860, 861, 862, 863, 865, 866, 869, 1250-1255) and Asian double byte code pages.

Practical reminder: When changing languages, the corresponding firmware version must be used (such as Simplified Chinese, Japanese, and Korean are not compatible with each other). Switching code pages through the I command only affects Latin fonts (1-5) and does not affect double byte fonts 8/9.

SGD Command: Network and Device Configuration

The SGD (Set/Get/Do) command allows for dynamic configuration of printers through serial ports, USB, or Ethernet. They are! Starting with U1, the format is! U1 getvar "attribute" or!  U1 setvar "attribute" "value"。

7.1 Common Configuration Items

Example values for attribute description

The current programming language for device. languages is epl_zpl, which supports both EPL and ZPL

Media.printmode Printing modes: tea off ("T"), peel off ("P"), cutter ("C")

Ip.primary_network main network interface wired or wireless

Ip.dhcp.enable DHCP switch on/off

Ip.addr static IP address "192.168.1.100"

WLAN.ESSID wireless network name "Zebra_SIP"

The security types "none", "wep 40 bit", "wpa psk", etc. for wlan.security

Odometer.otal_print_1ength The total print length of the printer (read-only) returns "12345 INCHES, 31356 CENTIMETERS"

Debugging tips: Use! U1 getvar "ip.active_network" to check if the current connection is wired or wireless. If wireless association fails, check wlan.associated and wlan.signal_strength.

7.2 Batch Sending SGD Commands

Can be omitted! U1 prefix, end with END:

text

! U getvar "ip.telnet.enable"

getvar "ip.dhcp.enable"

END


Common faults and diagnostic methods

8.1 Dump Mode

  • ABB 3BUS208720-001 Industrial Power Signal Interconnection Module
  • TMEIC KPAD-3122A LCD Display Keypad
  • Siemens 6SN1145-1BA02-0CA1 PLC
  • LAM 2004365 TURBO BYPASS PLC ASM
  • Omron CJ1W-CORT21 PLC Module
  • Euchner MGB-L2B-PNA-L-121853 Safety Switch
  • XPSMC32ZP Safety Controller
  • Schneider 9070T3000D33 PLC
  • Omron C200H-MAD01 AD DA Module
  • Omron NJ501-1320 CPU Controller
  • Honeywell C36TR1UA1000 Thermostat
  • Honeywell TC-RPDXX1 Power Supply Module
  • Fuji NW0E32-3 PLC Programmable Controller
  • ASM 2004219 Turbo Bypass ASM 107864 Module
  • Future IHDW-BLA4S-IM CNC MPG Handwheel
  • Wieland R1.180.0080.0 SA-OR-S1-4RK-A Safety Module
  • Reliance Electric 57C493 AutoMax Power Supply 376W
  • Siemens 3VT8563-2AA03-2KA2 MCCB 3VT8
  • B&R X20IF1072 CAN Bus Interface Module
  • Mitsubishi OSE253S2 Rotary Encoder
  • Mitsubishi NV630-SW 4P 500A Earth Leakage Breaker
  • Euchner MGB-L1B-PNA-R-121857 Safety Switch
  • Honeywell 900A01-0102 Analog Input Module
  • OMRON C500-ID219 Input Unit
  • Westinghouse EL3030R Current Limiter
  • CLA-2 3L Electric Lubrication Pump
  • Proface GP2501-TC41-24V HMI
  • Omron KM-N1-FLK Small Power Monitor
  • HPM 1D703-0040 Command 9000 Console Card
  • Siemens 3RW5074-6AB14 SIRIUS Soft Starter
  • Genie 75032 Limit Switch
  • OMRON C200H-SP001 Space Module
  • OMRON C200H-PS211 Power Supply Unit
  • OMRON C200H-OC222 Relay Output Unit
  • Keyence KV-8000SO 4221 CPU Module
  • Cincinnati Milacron 3-542-1079A Circuit Board
  • Beckhoff EL3124 Analog Input EtherCAT Terminal
  • KRONES BWU1703 0900853537 ASi PROFIBUS Gateway
  • Radio Energie RE0444 R1S 0.06 CA Tachogenerator
  • Mitsubishi GT1685M-STBA GOT1000 HMI
  • Siemens 6GK7342-5DA03-0XE0 CP 342-5 PROFIBUS
  • Allen Bradley 8520-PX-ASM3-EXEC2-63M Servo Module
  • Delta AH10PM-5A Programmable Controller
  • Siemens 3TK2805-0BB4 Safety Contactor Combination
  • EUCHNER HBA-079827 Pendant Station
  • CLC-2 4L PLC Lubrication Pump
  • KEYENCE GS-51P5 Safety Switch
  • AB 442G-MABH-R Safety Switch
  • GE Fanuc VersaMax PLC Module Set
  • Siemens 6ES7214-1HF40-0XB0 CPU 1214FC
  • Microchip DSPIC30F4011-30I/P DSC
  • FANUC A20B-2102-0081 I/O Link Module
  • Endress Hauser CLS15-B1M2A Conductivity Sensor
  • B&R 3AM050.6 Analog I/O Module
  • Fanuc A16B-2201-0320 MAIN-B CPU Board
  • Pilz 475650 PNOZ 1 Safety Gate Relay
  • Omron NSH5-AL001 Handheld HMI Terminal
  • Allen-Bradley 1756-OF8 Analog Output 8 Ch
  • Siemens 6SL3210-1SE31-0AA0 45kW Power Module
  • PMA TB45-110-00000-000 Temperature Limiter
  • PSR-SCP-24DC-ESD-5x1-1x2-300 Safety Relay
  • Pilz 774140 PZE 9 24V AC Safety Relay
  • Telemecanique TSXRKN82F 8 Slot Rack
  • Mitsubishi R16CPU iQ-R PLC CPU
  • Mitsubishi A2ACPU-R21-S1 PLC CPU
  • Omron NX-AD4208 Analog Input Unit
  • Schneider LMC802CAA10000 PacDrive 3 Controller
  • Reliance Electric 0-51874 Static Sequence Card
  • Pilz 787310 PNOZ X3P C Safety Relay
  • B&R X20CP1684 CPU Module
  • Siemens 6SN1145-1BB00-0FA1 Power Module
  • Beckhoff EL3174 Analog Input EtherCAT Terminal
  • CLC-2P 4L PLC Lubrication Pump System
  • Omron CJ1W-DA08C Analog Output Unit
  • Metso Automation D201776 ACN PO DC PLC Control Server Computer
  • GE AT868 AquaTrans Ultrasonic Flow Transmitter
  • ABB PFSA107-Z42 DTU Stressometer Digital Transmission Unit
  • ABB PFSA240 3BSE073476R1 Roll DC Supply Unit
  • Fanuc A16B-2201-0320 CPU MAIN Board
  • Pilz 475650 PNOZ 1 Safety Gate Relay
  • Omron NSH5-AL001 HMI Interface Unit
  • Allen-Bradley 1756-OF8 Analog Output Module
  • Siemens 6SL3210-1SE31-0AA0 Power Module 45kW
  • PMA TB45-110-00000-000 Temperature Limiter
  • PSR-SCP-24DC-ESD-5x1-1x2-300 Safety Relay
  • Pilz 774140 PZE 9 Safety Relay
  • Telemecanique TSXRKN82F PLC Rack Chassis
  • Mitsubishi R16CPU PLC CPU Module
  • OMRON C500-PS223-E Power Supply Module
  • Siemens 3VL4731-1DC36-0AA0 Circuit Breaker
  • Siemens 7ML5201-0EA0 Ultrasonic Level Transmitter
  • OMRON NQ3 NQ5 Touch Panel HMI
  • OMRON CJ1W-AD081-V1 Analog Input Module
  • OMRON NJ301-1100 Machine Automation Controller
  • B&R X20BC00G3 EtherCAT Bus Controller
  • Schneider ATV212HD22N4S Variable Speed Drive
  • B&R 8B0C0320HW00.002-1 Power Supply Module
  • Mitsubishi OSA105S2A Incremental Rotary Encoder
  • Pilz 777514 PNOZ XV3P Safety Relay
  • Gould AS-884A-111 Modicon 884 Controller
  • Siemens 6SC6130-0FE00 SIMODRIVE Control Card
  • Omron CV500-PS221 PLC Power Supply Module
  • ABB CM577-ETH AC500 PLC Ethernet Module
  • Omron NX-SIH400 Safety Input Unit NX Series
  • Omron NJ501-1300 Machine Automation Controller
  • Siemens 3VT8563-2AA03-2KA2 Molded Case Breaker
  • Pilz PNOZ m1p ETH 773103 Safety Controller
  • Omron CJ1H-CPU66H-R CJ1 Series CPU Module
  • ASI ASI533-S00 PLC Module S1
  • Mitsubishi AJ71C21-S1 Serial Module
  • Keyence IX-1000 Laser Sensor Amplifier
  • Siemens 6SN1145-1AA01-0AA1 Power Module
  • Siemens 3VA2340-5HL32-0AA0 MCCB 400A
  • Mitsubishi OSA104S Absolute Encoder
  • Siemens 6ES7350-1AH03-0AE0 FM 350-1 Counter
  • Siemens 6SE7038-6EK84-1JC2 IGD8 Gate Driver
  • Eaton EASY819-AC-RC Programmable Relay
  • Omron CPM1A-40CDT-D PLC 24V DC
  • Omron NA5-12W101B-V1 12-inch Programmable Terminal
  • Siemens 6ES7331-7KF02-0AB0 Analog Input SM 331
  • Moxa PTC-101-S-SC-HV Photoelectric Converter
  • Fanuc A20B-3300-0031 CNC Control Circuit Board
  • OMRON NA5-7W001B-V1 Programmable Terminal HMI
  • Parker AH385851U002 590C DC Drive Power Board
  • ABB 3BSE040662R1 AI830A Analog Input Module
  • DOLD BF9250.01/001 Solid State Relay
  • Siemens 6ES7331-7KF02-0AB0 SIMATIC S7-300 SM 331
  • ABB 07AC91 I6 GJR5252300R3101 Advant Controller 31