I recently had to send a customer a Direct Protocol sample that wrote to an RFID tag and printed a bar code. The sample in the manual didn’t work, but this one does:
INPUT ON
REM BAR CODE
PP168,204:AN7
BARSET “CODE39”,8,3,1,102
PB “1234567890”
REM HUMAN READABLE
PP244,113:NASC 8
FT “Univers”
FONTSIZE 24
FONTSLANT 0
PT “1234567890”
REM RFID
TAGFIELD “@ID”,4,10
TAGFORMAT “ASCII”
TAGWRITE “1234567890”
PF
Send this to an RFID equipped PM43 and a bar code with human readable text will print, and an RFID tag will be written with the same values.
NOTE: If you cut and paste this code, your browser may turn the standard double quotation marks (hex 22) into curly open and close quotation marks (“”). The printer won’t like this, so make sure that you use standard double quotes.