^WF
^WF

^WF

Use this command to encode the AFI or DSFID byte to a tag. Error handling is set by the ^RS command.

Encode AFI or DSFID Byte

Format:
^WFr,m,w,f,b
Parameters
Details
r
= number of retries
Values:
0 to 10
Default:
0
m
= motion
Values:
0 = Feed label after writing.
1 = No Feed after writing. Other ZPL may cause a feed.
Default:
0
w
= write protect
Values:
0 = Not write protected
1 = Write protect
Default:
0
f
= data format
Values:
0 = ASCII
1 = Hexadecimal
Default:
0
b = type of byte to read
Values:
A =
AFI byte
D =
DSFID byte
Default:
A
Example:
This example encodes data “R” (hex 52) as the AFI byte. The printer will try the command up to five times, if necessary.
^XA ^WF5^FDR ^XZ
Example:
This example encodes data hex 66 as the AFI byte. The printer will try the command up to three times, if necessary.
^XA ^WF3,,,1^FD66 ^XZ
Example:
This example encodes data hex 77 as the DSFID byte. The printer will try the command up to four times, if necessary.
^XA ^WF4,,,1,D^FD77 ^XZ