Chapter 2
RFID PGL Commands
Example 1
~CREATE;VERIFY;432;NOMOTION
RFRTAG;64
64;DF1;H
STOP
VERIFY;DF1;H;*TagBefore=*
RFWTAG; 64
66
5. Below is the possible syntax for header and trailer string:
1. VERIFY;DF2;H;*Head = *
2. VERIFY;DF2;H;*Head = *; *Tail* //Header & trailer
3. VERIFY;DF2;H;**;*Tail*
4. VERIFY;DF2;H;*Head = *;**
To insert the CR/LF character, add "\r" and "\n" as CR/LF
characters, such as
VERIFY;DF2;H;*Head=*; *Tail\r\n* //this will display
If the user wants to display "\r" or "\n" as normal text
character, do the following:
VERIFY;DF2;H;*Header\\r\\n*
The characters \r and \n can be inserted anywhere in the
header string and trailer string.
To summarize,
\r –> 0x0D
\n –> 0x0A
\\ –> \
This example requests the printer to send to the host
the content of the RFID tag, in hexadecimal format,
both before and after the RFWTAG command writes
data to the tag. Also, the label is not moved.
//Header only
//Trailer only
//Header only
"Head=<tag
data>Tail<CR><LF>"
//this will display
"Header\r\n" on the
screen, where double
back slash "\\"
(0x5C0x5C) will be
replaced with one
back slash "\" (0x5C).
//CR
//LF
//one back slash
Need help?
Do you have a question about the SL4M and is the answer not in the manual?