logo资料库

ZPL编程语言手册.pdf

第1页 / 共1088页
第2页 / 共1088页
第3页 / 共1088页
第4页 / 共1088页
第5页 / 共1088页
第6页 / 共1088页
第7页 / 共1088页
第8页 / 共1088页
资料共1088页,剩余部分请下载后查看
Contents
Before you begin 41
~HQ Examples 223
~WQ Examples 368
Supporting Parameters for Different Security Types 449
Function Rules 456
What is ZBI and why is it for me? 458
Printers, ZBI Keys, & ZBI Versions 458
Writing ZBI Programs 460
Variable Names 482
Variable Declarations 483
Constants 483
Arrays 483
Assignment 484
Numeric Expressions 486
String Concatenation (&) 488
Sub-strings 488
Boolean Expressions 489
Combined Boolean Expressions 491
Available Ports 500
Creating Connections 500
Reading and Writing 508
Port Usage Examples 518
Runtime Access 526
Accessing Comma Separated Value (CSV) and Text File Functions 532
Available Events 538
ZBI Key Names 540
Applicator Functions 555
Array Program 605
CSV Program 606
DPI Conversion Program 611
Email Program 614
Extraction 1 Program 616
Extraction 2 Program 617
Front Panel Control 620
Recall Program 622
Scale Program 624
setvar Command 626
getvar Command 626
do Command 627
How to Send Multiple SGD Commands 628
setvar Command 716
getvar Command 716
do Command 717
How to Send Multiple SGD Commands 718
setvar Command 770
getvar Command 770
do Command 771
How to Send Multiple SGD Commands 772
Supporting SGD Commands for Different Security Types 907
Scalable Fonts 952
Bitmapped Fonts 952
Basic Format for Bar Codes 956
Bar Code Field Instructions 957
Bar Code Command Groups 959
Real Time Clock Parameters 979
RTC Date 980
RTC Time 981
First Day of the Week Affects Calendar Week 984
Time and Date Precision 987
Printer Type 998
Wireless Securities 1021
ZPL and SGD Commands 1022
SNMP 1022
Set / Get / Do Support 1022
XML-Enabled Printing 1022
Global Printing Solution 1024
Benefits 1028
Mirror Process Summary 1032
Mirror Process Details 1033
One Format per File 1034
Character Substitution 1035
Removing the ^XA and ^XZ commands 1036
Removing the ^DF command 1036
Example Files 1037
File Naming Recommendations 1037
Command Use Recommendations 1037
Mirror FTP Server Configuration 1038
Mirror Printer Configuration 1038
Example Feedback.get file 1040
Scenario One 1042
Scenario Two 1043
Send WML Content to the Printer via FTP 1052
Resetting the "ip.ftp.execute_file setting 1052
Sending WML Content to the Printer via the CISDFCRC16 Command: 1053
Retrieving WML Content from the Printer using the file.type Command: 1054
Using .nrd Files from WML Menus 1054
Removing WML or .nrd Files from the Printer using the file.delete Command: 1054
Example 1 1055
Example 2 1056
Example 3 1057
Example 4 1059
Example 5 1060
Functional List of ZPL Commands
Alphabetical List of ZBI Commands
Alphabetical List of Set/Get/Do Commands
About This Document
Who Should Use This Document
How This Document Is Organized
Contacts
Document Conventions
Introduction
ZPL Commands
Basic ZPL Exercises and Examples
Before you begin
^A
^A@
^B0
^B1
^B2
^B3
^B4
^B5
^B7
^B8
^B9
^BA
^BB
^BC
^BD
^BE
^BF
^BI
^BJ
^BK
^BL
^BM
^BO
^BP
^BQ
^BR
^BS
^BT
^BU
^BX
^BY
^BZ
^CC ~CC
^CD ~CD
^CF
^CI
^CM
^CN
^CO
^CP
^CT ~CT
^CV
^CW
~DB
~DE
^DF
~DG
~DN
~DS
~DT
~DU
~DY
~EG
^FB
^FC
^FD
^FH
^FL
^FM
^FN
^FO
^FP
^FR
^FS
^FT
^FV
^FW
^FX
^GB
^GC
^GD
^GE
^GF
^GS
~HB
~HD
^HF
^HG
^HH
~HI
~HM
~HQ
~HQ Examples
~HS
^HT
~HU
^HV
^HW
^HY
^HZ
^ID
^IL
^IM
^IS
~JA
^JB
~JB
~JC
~JD
~JE
~JF
~JG
^JH
^JI
~JI
^JJ
~JL
^JM
~JN
~JO
~JP
~JQ
~JR
^JS
~JS
^JT
^JU
^JW
~JX
^JZ
~KB
^KD
^KL
^KN
^KP
^KV
^LF
^LH
^LL
^LR
^LS
^LT
^MA
^MC
^MD
^MF
^MI
^ML
^MM
^MN
^MP
^MT
^MU
^MW
^NC
~NC
^ND
^NI
~NR
^NS
~NT
^PA
^PF
^PH ~PH
~PL
^PM
^PN
^PO
^PP ~PP
^PQ
^PR
~PR
~PS
^PW
~RO
^SC
~SD
^SE
^SF
^SI
^SL
^SN
^SO
^SP
^SQ
^SR
^SS
^ST
^SX
^SZ
~TA
^TB
^TO
~WC
^WD
~WQ
~WQ Examples
^XA
^XB
^XF
^XG
^XS
^XZ
^ZZ
ZPL RFID Commands
RFID Command Overview
Printer and Firmware Compatibility
^HL or ~HL
^HR
^RA
^RB
^RE
^RF
^RI
^RM
^RN
^RQ
^RR
^RS
^RT
~RV
^RW
^RZ
^WF
^WT
^WV
ZPL Wireless Commands
^KC
^NB
^NN
^NP
^NT
^NW
^WA
^WE
^WI
^WL
~WL
^WP
^WR
~WR
^WS
^WX
Supporting Parameters for Different Security Types
ZBI Commands
Command and Function Reference Format
Function Rules
Introduction to Zebra Basic Interpreter (ZBI)
What is ZBI and why is it for me?
Printers, ZBI Keys, & ZBI Versions
Section Organization
Writing ZBI Programs
Editing Commands
NEW
REM
! (EXCLAMATION MARK)
LIST
AUTONUM
RENUM
ECHO
Running and Debugging Commands
RUN
CTRL-C
RESTART
STEP
DEBUG
TRACE
BREAK
ADDBREAK
DELBREAK
ZPL
Base Types and Expressions
Variable Names
Variable Declarations
Constants
Arrays
Assignment
LET
Numeric Expressions
String Concatenation (&)
Sub-strings
Boolean Expressions
Combined Boolean Expressions
Control and Flow
IF Statements
DO Loops
FOR Loops
GOTO/GOSUB
SUB
EXIT
END
Input and Output
Available Ports
Creating Connections
OPEN
CLOSE
DATAREADY
SERVERSOCKET
SERVERCLOSE
CLIENTSOCKET
ACCEPT
Reading and Writing
INPUT
PRINT
OUTBYTE
INBYTE
READ
WRITE
SEARCHTO$
Port Usage Examples
File System
Runtime Access
STORE
LOAD
DIR
DELETE
Comma Separated Values (CSV)
Accessing Comma Separated Value (CSV) and Text File Functions
CSVLOAD
CSVSTORE
TXTLOAD
TXTSTORE
Events
Available Events
ZBI Key Names
REGISTEREVENT
UNREGISTEREVENT
HANDLEEVENT
TRIGGEREVENT
Systems
ISERROR
ISWARNING
SLEEP
SETERR
CLRERR
ON ERROR
Applicator Functions
AUXPORT_STEALPIN
AUXPORT_SETPIN
AUXPORT_GETPIN
AUXPORT_RELEASEPIN
String Functions
LCASE$
CHR$
LTRIM$
REPEAT$
RTRIM$
SPLIT
SPLITCOUNT
UCASE$
EXTRACT$
ORD
POS
LEN
Math Functions
STR$
MAX
MIN
MAXNUM
MOD
VAL
INTTOHEX$
HEXTOINT
Array Functions
REDIM
INSERTROW
DELROW
ROWSIZE
COLUMNSIZE
FIND
Time and Date Functions
DATE$
TIME$
DATE
TIME
Set/Get/Do Interactions
SETVAR
GETVAR$
Example Programs
Array Program
CSV Program
DPI Conversion Program
Email Program
Extraction 1 Program
Extraction 2 Program
Front Panel Control
Recall Program
Scale Program
SGD Printer Commands
Overview
setvar Command
getvar Command
do Command
Command Structure
How to Send Multiple SGD Commands
appl.option_board_version
appl.bootblock
appl.name
CISDFCRC16
cutter.clean_cutter
device.download_connection_timeout
device.friendly_name
device.frontpanel.key_press
device.frontpanel.line1
device.frontpanel.line2
device.frontpanel.xml
device.jobs_print
device.languages
device.orientation
device.pnp_option
device.reset
device.restore_defaults
device.unique_id
device.uptime
device.user_p1
device.user_p2
device.xml.enable
display.text
file.delete
file.dir
file.type
file.run
head.latch
interface.network.active.gateway
interface.network.active.ip_addr
interface.network.active.mac_addr
interface.network.active.mac_raw
interface.network.active.netmask
interface.network.active.protocol
media.cut_now
media.darkness_mode
media.media_low.external
media.media_low.warning
media.present.cut_amount
media.present.eject
media.present.length_addition
media.present.loop_length
media.present.loop_length_max
media.present.cut_margin
media.present.present_timeout
media.present.present_type
media.printmode
media.speed
odometer.headclean
odometer.headnew
odometer.label_dot_length
odometer.media_marker_count1
odometer.media_marker_count2
odometer.retracts_count
odometer.total_print_length
print.tone
rfid.error.response
rfid.position.program
rfid.reader_1.antenna_port
rfid.reader_1.power.read
rfid.reader_1.power.single_power
rfid.reader_1.power.write
zbi.control.add_breakpoint
zbi.control.break
zbi.control.clear_breakpoints
zbi.control.delete_breakpoint
zbi.control.line_number
zbi.control.restart
zbi.control.run
zbi.control.step
zbi.control.terminate
zbi.control.variable_name
zbi.control.variable_value
zbi.key
zbi.last_error
zbi.reseller_key
zbi.revision
zbi.running_program_name
zbi.start_info.execute
zbi.start_info.file_name
zbi.start_info.memory_alloc
zbi.state
SGD Wired Commands
Overview
setvar Command
getvar Command
do Command
Command Structure
How to Send Multiple SGD Commands
external_wired.check
external_wired.ip.addr
external_wired.ip.arp_interval
external_wired.ip.default_addr_enable
external_wired.ip.dhcp.cid_all
external_wired.ip.dhcp.cid_enable
external_wired.ip.dhcp.cid_prefix
external_wired.ip.dhcp.cid_suffix
external_wired.ip.dhcp.cid_type
external_wired.ip.gateway
external_wired.ip.netmask
external_wired.ip.port
external_wired.ip.protocol
external_wired.ip.timeout.enable
external_wired.ip.timeout.value
external_wired.ip.v6.addr
external_wired.ip.v6.gateway
external_wired.ip.v6.prefix_length
external_wired.mac_addr
external_wired.mac_raw
internal_wired.auto_switchover
internal_wired.ip.addr
internal_wired.ip.arp_interval
internal_wired.ip.default_addr_enable
internal_wired.ip.dhcp.cache_ip
internal_wired.ip.dhcp.cid_all
internal_wired.ip.dhcp.cid_enable
internal_wired.ip.dhcp.cid_prefix
internal_wired.ip.dhcp.cid_suffix
internal_wired.ip.dhcp.cid_type
internal_wired.ip.dhcp.lease.last_attempt
internal_wired.ip.dhcp.lease.length
internal_wired.ip.dhcp.lease.server
internal_wired.ip.dhcp.lease.time_left
internal_wired.ip.dhcp.option12
internal_wired.ip.dhcp.option12_format
internal_wired.ip.dhcp.option12_value
internal_wired.ip.dhcp.request_timeout
internal_wired.ip.dhcp.requests_per_session
internal_wired.ip.dhcp.session_interval
internal_wired.ip.gateway
internal_wired.ip.netmask
internal_wired.ip.port
internal_wired.ip.protocol
internal_wired.ip.timeout.enable
internal_wired.ip.timeout.value
internal_wired.mac_addr
internal_wired.mac_raw
SGD Wireless Commands
Overview
setvar Command
getvar Command
do Command
Command Structure
How to Send Multiple SGD Commands
bluetooth.address
bluetooth.afh_map
bluetooth.afh_map_curr
bluetooth.afh_mode
bluetooth.authentication
bluetooth.bluetooth_pin
bluetooth.date
bluetooth.discoverable
bluetooth.enable
bluetooth.friendly_name
bluetooth.local_name
bluetooth.radio_auto_baud
bluetooth.radio_version
bluetooth.short_address
bluetooth.version
card.mac_addr
card.inserted
comm.type
ip.active_network
ip.addr
ip.arp_interval
ip.bootp.enable
ip.dhcp.cache_ip
ip.dhcp.cid_all
ip.dhcp.cid_enable
ip.dhcp.cid_prefix
ip.dhcp.cid_suffix
ip.dhcp.lease.length
ip.dhcp.cid_type
ip.dhcp.enable
ip.dhcp.lease.last_attempt
ip.dhcp.lease.server
ip.dhcp.lease.time_left
ip.dhcp.option12
ip.dhcp.option12_format
ip.dhcp.option12_value
ip.dhcp.request_timeout
ip.dhcp.requests_per_session
ip.dhcp.session_interval
ip.dns.domain
ip.dns.servers
ip.ftp.enable
ip.ftp.execute_file
ip.gateway
ip.http.enable
ip.lpd.enable
ip.mac_raw
ip.mirror.auto
ip.mirror.error_retry
ip.mirror.feedback.auto
ip.mirror.feedback.freq
ip.mirror.feedback.odometer
ip.mirror.feedback.path
ip.mirror.fetch
ip.mirror.freq
ip.mirror.freq_hours
ip.mirror.last_error
ip.mirror.last_time
ip.mirror.password
ip.mirror.path
ip.mirror.server
ip.mirror.success
ip.mirror.success_time
ip.mirror.username
ip.mirror.version
ip.netmask
ip.pop3.enable
ip.pop3.password
ip.pop3.poll
ip.pop3.server_addr
ip.pop3.username
ip.port
ip.primary_network
ip.smtp.domain
ip.smtp.enable
ip.smtp.server_addr
ip.snmp.get_community_name
ip.snmp.set_community_name
ip.snmp.enable
ip.telnet.enable
ip.tcp.enable
ip.udp.enable
wlan.adhocautomode
wlan.adhocchannel
wlan.associated
wlan.bssid
wlan.channel
wlan.channel_mask
wlan.current_tx_rate
wlan.essid
wlan.firmware_version
wlan.ip.addr
wlan.ip.arp_interval
wlan.ip.default_addr_enable
wlan.ip.dhcp.cache_ip
wlan.ip.dhcp.cid_all
wlan.ip.dhcp.cid_enable
wlan.ip.dhcp.cid_prefix
wlan.ip.dhcp.cid_suffix
wlan.ip.dhcp.cid_type
wlan.ip.dhcp.lease.last_attempt
wlan.ip.dhcp.lease.length
wlan.ip.dhcp.lease.server
wlan.ip.dhcp.lease.time_left
wlan.ip.dhcp.option12
wlan.ip.dhcp.option12_format
wlan.ip.dhcp.option12_value
wlan.ip.dhcp.request_timeout
wlan.ip.dhcp.requests_per_session
wlan.ip.dhcp.session_interval
wlan.ip.gateway
wlan.ip.netmask
wlan.ip.port
wlan.ip.protocol
wlan.ip.timeout.enable
wlan.ip.timeout.value
wlan.keep_alive.enable
wlan.keep_alive.timeout
wlan.kerberos.kdc
wlan.kerberos.password
wlan.kerberos.realm
wlan.kerberos.username
wlan.mac_addr
wlan.mac_raw
wlan.operating_mode
wlan.password
wlan.preamble
wlan.private_key_password
wlan.roam.interchannel_delay
wlan.roam.interval
wlan.roam.max_chan_scan_time
wlan.roam.signal
wlan.security
Supporting SGD Commands for Different Security Types
wlan.signal_noise
wlan.signal_quality
wlan.signal_strength
wlan.station_name
wlan.tx_power
wlan.tx_rate
wlan.username
wlan.wep.auth_type
wlan.wep.index
wlan.wep.key1
wlan.wep.key2
wlan.wep.key3
wlan.wep.key4
wlan.wpa.psk
wlan.wep.key_format
Zebra Code Pages
Zebra Code Page 850 — Latin Character Set
Zebra Code Page 1250 (Scalable/Downloaded TTF) — Central and Eastern European Latin Character Set
Zebra Code Page 1250 — (Bitmap Fonts) Central and Eastern European Latin Character Set
Zebra Code Page 1252 — Latin Character Set
Zebra Code Page 1253 — Modern Greek Character Set
Zebra Code Page 1254 — Turkish Character Set
Zebra Code Page 1255 — Hebrew Character Set
ASCII
ASCII Code Chart
Fonts and Bar Codes
Standard Printer Fonts
Proportional and Fixed Spacing
Scalable Versus Bitmapped Fonts
Scalable Fonts
Bitmapped Fonts
Font Matrices
Bar Codes
Basic Format for Bar Codes
Bar Code Field Instructions
Bar Code Command Groups
Mod 10 and Mod 43 Check Digits
Mod 10 Check Digit
Mod 43 Check Digit
ZB64 Encoding and Compression
Introduction to B64 and Z64
B64 and Z64 Encoding
Field Interactions
Normal Orientation
Rotated Orientation
Bottom Up Orientation
Inverted Orientation
Real Time Clock
Overview
Control Panel Programming
Real Time Clock Parameters
RTC Date
RTC Time
RTC General Information
First Day of the Week Affects Calendar Week
Time and Date Precision
ZPL II Samples
ZBI Character Set
Character Set
SGD Command Support
Printer and Firmware Compatibility
Printer Type
Features
Firmware x.17
Firmware x.16
Firmware x.15
Wireless Securities
ZPL and SGD Commands
SNMP
Set / Get / Do Support
XML-Enabled Printing
Firmware x.14
Global Printing Solution
Mirror
Mirror Overview
Benefits
Professional Services for Mirror Configuration
Requirements
How Mirror Works
Mirror Process Summary
Mirror Process Details
Creating ZPL Files for Use in the "/files" Directory
One Format per File
Character Substitution
Removing the ^XA and ^XZ commands
Removing the ^DF command
Example Files
File Naming Recommendations
Command Use Recommendations
Configuration
Mirror FTP Server Configuration
Mirror Printer Configuration
The Feedback.get File
Example Feedback.get file
How to Set Up and Use Mirror
Scenario One
Scenario Two
Troubleshooting
Wireless Markup Language (WML)
WML Overview
WML Details
Supported Printers
Professional Services for WML Content Creation
WML Tags
Using WML
Send WML Content to the Printer via FTP
Resetting the "ip.ftp.execute_file setting
Sending WML Content to the Printer via the CISDFCRC16 Command:
Retrieving WML Content from the Printer using the file.type Command:
Using .nrd Files from WML Menus
Removing WML or .nrd Files from the Printer using the file.delete Command:
WML Examples
Example 1
Example 2
Example 3
Example 4
Example 5
Troubleshooting Scenarios
Glossary
Index
P1012728-002 Programming Guide for ZPL II ZBI 2 Set-Get-Do Mirror WML
2 © 2009 ZIH Corp. The copyrights in this manual and the software and/or firmware in the printer described therein are owned by ZIH Corp. and Zebra’s licensors. Unauthorized reproduction of this manual or the software and/or firmware in the printer may result in imprisonment of up to one year and fines of up to $10,000 (17 U.S.C.506). Copyright violators may be subject to civil liability. This product may contain ZPL®, ZPL II®, and ZebraLink™ programs; Element Energy Equalizer™ Circuit; E3™; and Monotype Imaging fonts. Software © ZIH Corp. All rights reserved worldwide. ZebraLink, Element Energy Equalizer, E3 and all product names and numbers are trademarks, and Zebra, the Zebra head graphic, ZPL and ZPL II are registered trademarks of ZIH Corp. All rights reserved worldwide. All other brand names, product names, or trademarks belong to their respective holders. For additional trademark information, please see “Trademarks” on the product CD. Proprietary Statement This manual contains proprietary information of Zebra Technologies Corporation and its subsidiaries (“Zebra Technologies”). It is intended solely for the information and use of parties operating and maintaining the equipment described herein. Such proprietary information may not be used, reproduced, or disclosed to any other parties for any other purpose without the express, written permission of Zebra Technologies Corporation. Product Improvements Continuous improvement of products is a policy of Zebra Technologies Corporation. All specifications and designs are subject to change without notice. Liability Disclaimer Zebra Technologies Corporation takes steps to ensure that its published Engineering specifications and manuals are correct; however, errors do occur. Zebra Technologies Corporation reserves the right to correct any such errors and disclaims liability resulting therefrom. Limitation of Liability In no event shall Zebra Technologies Corporation or anyone else involved in the creation, production, or delivery of the accompanying product (including hardware and software) be liable for any damages whatsoever (including, without limitation, consequential damages including loss of business profits, business interruption, or loss of business information) arising out of the use of, the results of use of, or inability to use such product, even if Zebra Technologies Corporation has been advised of the possibility of such damages. Some jurisdictions do not allow the exclusion or limitation of incidental or consequential damages, so the above limitation or exclusion may not apply to you. P1012728-002 Rev. A Zebra Programming Guide 9/4/2009
Contents Functional List of ZPL Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Alphabetical List of ZBI Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 Alphabetical List of Set/Get/Do Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 About This Document . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 Who Should Use This Document . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 How This Document Is Organized . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 Contacts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 Document Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 ZPL Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 Basic ZPL Exercises and Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 Before you begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 ^A Scalable/Bitmapped Font . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 ^A@ Use Font Name to Call Font . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 ^B0 Aztec Bar Code Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 ^B1 Code 11 Bar Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 ^B2 Interleaved 2 of 5 Bar Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 ^B3 Code 39 Bar Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 ^B4 Code 49 Bar Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 ^B5 Planet Code bar code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 ^B7 PDF417 Bar Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 ^B8 EAN-8 Bar Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 ^B9 UPC-E Bar Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 ^BA Code 93 Bar Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 9/4/09 Zebra Programming Guide P1012728-002 Rev. A
4 Contents ^BB CODABLOCK Bar Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 ^BC Code 128 Bar Code (Subsets A, B, and C) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 ^BD UPS MaxiCode Bar Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 ^BE EAN-13 Bar Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 ^BF MicroPDF417 Bar Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103 ^BI Industrial 2 of 5 Bar Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 ^BJ Standard 2 of 5 Bar Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108 ^BK ANSI Codabar Bar Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .110 ^BL LOGMARS Bar Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .112 ^BM MSI Bar Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .114 ^BO Aztec Bar Code Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .116 ^BP Plessey Bar Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .118 ^BQ QR Code Bar Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120 ^BR GS1 Databar (formerly Reduced Space Symbology) . . . . . . . . . . . . . . . . . . . . . . 128 ^BS UPC/EAN Extensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130 ^BT TLC39 Bar Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133 ^BU UPC-A Bar Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135 ^BX Data Matrix Bar Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137 ^BY Bar Code Field Default . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142 ^BZ POSTAL Bar Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144 ^CC ~CC Change Caret . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146 ^CD ~CD Change Delimiter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147 ^CF Change Alphanumeric Default Font . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148 ^CI Change International Font/Encoding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149 ^CM Change Memory Letter Designation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153 ^CN Cut Now . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154 ^CO Cache On . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155 ^CP Remove Label . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157 ^CT ~CT Change Tilde . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158 ^CV Code Validation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159 ^CW Font Identifier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161 ~DB Download Bitmap Font . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163 ~DE Download Encoding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165 ^DF Download Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167 ~DG Download Graphics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168 ~DN Abort Download Graphic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171 ~DS Download Intellifont (Scalable Font) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172 ~DT Download Bounded TrueType Font . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173 ~DU Download Unbounded TrueType Font . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174 ~DY Download Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175 P1012728-002 Rev. A Zebra Programming Guide 9/4/09
Contents 5 ~EG Erase Download Graphics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179 ^FB Field Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180 ^FC Field Clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183 ^FD Field Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184 ^FH Field Hexadecimal Indicator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185 ^FL Font Linking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187 ^FM Multiple Field Origin Locations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190 ^FN Field Number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193 ^FO Field Origin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194 ^FP Field Parameter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195 ^FR Field Reverse Print . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196 ^FS Field Separator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197 ^FT Field Typeset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198 ^FV Field Variable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200 ^FW Field Orientation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201 ^FX Comment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203 ^GB Graphic Box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204 ^GC Graphic Circle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206 ^GD Graphic Diagonal Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207 ^GE Graphic Ellipse . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208 ^GF Graphic Field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209 ^GS Graphic Symbol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .211 ~HB Battery Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213 ~HD Head Diagnostic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214 ^HF Host Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215 ^HG Host Graphic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 216 ^HH Configuration Label Return . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217 ~HI Host Identification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218 ~HM Host RAM Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219 ~HQ Host Query . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220 ~HQ Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223 ~HS Host Status Return . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228 ^HT Host Linked Fonts List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232 ~HU Return ZebraNet Alert Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233 ^HV Host Verification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234 ^HW Host Directory List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235 ^HY Upload Graphics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237 ^HZ Display Description Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238 ^ID Object Delete . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 240 ^IL Image Load . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 242 9/4/09 Zebra Programming Guide P1012728-002 Rev. A
6 Contents ^IM Image Move . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 244 ^IS Image Save . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245 ~JA Cancel All . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247 ^JB Initialize Flash Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248 ~JB Reset Optional Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 249 ~JC Set Media Sensor Calibration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 250 ~JD Enable Communications Diagnostics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251 ~JE Disable Diagnostics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252 ~JF Set Battery Condition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 253 ~JG Graphing Sensor Calibration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 254 ^JH Early Warning Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255 ^JI Start ZBI (Zebra BASIC Interpreter) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 258 ~JI Start ZBI (Zebra BASIC Interpreter) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 260 ^JJ Set Auxiliary Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261 ~JL Set Label Length . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263 ^JM Set Dots per Millimeter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 264 ~JN Head Test Fatal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 265 ~JO Head Test Non-Fatal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 266 ~JP Pause and Cancel Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267 ~JQ Terminate Zebra BASIC Interpreter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 268 ~JR Power On Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 269 ^JS Sensor Select . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 270 ~JS Change Backfeed Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 271 ^JT Head Test Interval . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 273 ^JU Configuration Update . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 274 ^JW Set Ribbon Tension . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275 ~JX Cancel Current Partially Input Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 276 ^JZ Reprint After Error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 277 ~KB Kill Battery (Battery Discharge Mode) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 278 ^KD Select Date and Time Format (for Real Time Clock) . . . . . . . . . . . . . . . . . . . . . 279 ^KL Define Language . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 280 ^KN Define Printer Name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 281 ^KP Define Password . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283 ^KV Kiosk Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 284 ^LF List Font Links . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 286 ^LH Label Home . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 287 ^LL Label Length . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 288 ^LR Label Reverse Print . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 289 ^LS Label Shift . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 290 ^LT Label Top . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 291 P1012728-002 Rev. A Zebra Programming Guide 9/4/09
Contents 7 ^MA Set Maintenance Alerts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 292 ^MC Map Clear . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 294 ^MD Media Darkness . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295 ^MF Media Feed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296 ^MI Set Maintenance Information Message . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 297 ^ML Maximum Label Length . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 298 ^MM Print Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 299 ^MN Media Tracking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 301 ^MP Mode Protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 302 ^MT Media Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 304 ^MU Set Units of Measurement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 305 ^MW Modify Head Cold Warning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 307 ^NC Select the Primary Network Device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 308 ~NC Network Connect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 309 ^ND Change Network Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 310 ^NI Network ID Number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 312 ~NR Set All Network Printers Transparent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 313 ^NS Change Wired Networking Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 314 ~NT Set Currently Connected Printer Transparent . . . . . . . . . . . . . . . . . . . . . . . . . . 316 ^PA Advanced Text Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 317 ^PF Slew Given Number of Dot Rows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 318 ^PH ~PH Slew to Home Position . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 319 ~PL Present Length Addition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 320 ^PM Printing Mirror Image of Label . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 321 ^PN Present Now . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 322 ^PO Print Orientation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 323 ^PP ~PP Programmable Pause . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 324 ^PQ Print Quantity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 325 ^PR Print Rate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 326 ~PR Applicator Reprint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 328 ~PS Print Start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 329 ^PW Print Width . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 330 ~RO Reset Advanced Counter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 331 ^SC Set Serial Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 332 ~SD Set Darkness . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 333 ^SE Select Encoding Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 334 ^SF Serialization Field (with a Standard ^FD String) . . . . . . . . . . . . . . . . . . . . . . . . . 335 ^SI Set Sensor Intensity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 340 ^SL Set Mode and Language (for Real-Time Clock) . . . . . . . . . . . . . . . . . . . . . . . . . 341 ^SN Serialization Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343 9/4/09 Zebra Programming Guide P1012728-002 Rev. A
8 Contents ^SO Set Offset (for Real-Time Clock) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 346 ^SP Start Print . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 347 ^SQ Halt ZebraNet Alert . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 349 ^SR Set Printhead Resistance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 351 ^SS Set Media Sensors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 352 ^ST Set Date and Time (for Real-Time Clock) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 354 ^SX Set ZebraNet Alert . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 355 ^SZ Set ZPL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 357 ~TA Tear-off Adjust Position . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 358 ^TB Text Blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 359 ^TO Transfer Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 360 ~WC Print Configuration Label . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 362 ^WD Print Directory Label . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 363 ~WQ Write Query . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 365 ~WQ Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 368 ^XA Start Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 373 ^XB Suppress Backfeed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 374 ^XF Recall Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 375 ^XG Recall Graphic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 376 ^XS Set Dynamic Media Calibration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 377 ^XZ End Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 378 ^ZZ Printer Sleep . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 379 ZPL RFID Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 381 RFID Command Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 382 Printer and Firmware Compatibility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 383 ^HL or ~HL Return RFID Data Log to Host . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 385 ^HR Calibrate RFID Transponder Position . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 386 ^RA Read AFI or DSFID Byte . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 390 ^RB Define EPC Data Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 392 ^RE Enable/Disable E.A.S. Bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 394 ^RF Read or Write RFID Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 395 ^RI Get RFID Tag ID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 398 ^RM Enable RFID Motion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 399 ^RN Detect Multiple RFID Tags in Encoding Field . . . . . . . . . . . . . . . . . . . . . . . . . . . . 400 ^RQ Quick Write EPC Data and Passwords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 401 ^RR Specify RFID Retries for a Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 403 ^RS Set Up RFID Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 404 ^RT Read RFID Tag . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .411 ~RV Report RFID Encoding Results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 414 P1012728-002 Rev. A Zebra Programming Guide 9/4/09
分享到:
收藏