Zebra Technologies radio frequency identification (rfid) Photo Scanner User Manual


 
SGD Commands for RFID
rfid.tag.data
142
58978L-008 Rev. A RFID Programming Guide 11/14/2008
rfid.tag.data
Description This command tells the RFID reader to attempt to read a tag over the RFID
antenna, even if the printhead is open. Results are returned to the host.
Before running this command, position an RFID label over the printer’s RFID antenna. To
locate the RFID antenna on your printer, see RFID Antenna Location on page 39.
Type getvar
This table identifies the command for this format:
Commands Details
getvar
This command instructs the printer to respond with the current tag’s data.
Format: ! U1 getvar "rfid.tag.data"
Example • This getvar example gets the current tag’s data, assuming that an RFID label
with data “0123456789ABCDEF12345678” is in place over the antenna.
! U1 setvar "rfid.tag.data"
The printer responds with 0123456789ABCDEF12345678.
Example • This getvar example gets the current tag’s data, assuming that no tag data can
be read or that no tag is present.
! U1 setvar "rfid.tag.data"
The printer responds with NO DATA.