21
(17) Magnetic stripe write idle (status with no card) command (Model: TCP300/310)
General Description
This command writes magnetic data set by the data setting command.
This writes to the magnetic stripe of the targeted card, if one is inserted in the reader/writer. If
no target card is inserted in the device, this sets the no card status (22h) to the response block
status field and quits the command.
Details of Operation
This writes to the magnetic stripe of the targeted card only when normal data is set for all tracks
specified as write tracks in the command parameters, if one is inserted in the reader/writer. If
no target card is inserted in the device, this sets the no card status (22h) to the response block
status field and quits the command. If normal write data is not set to the specified write track,
the reader/writer will respond with the DLE characters to reject the command.
The device automatically verifies the data after magnetically writing.
When the magnetic writing fails, the device will retry to write the data the number of times set by
the write retry count setting command (91h, W). The initial value for the retry count is two
times (initial time, plus 2 times).
• Write track specifying parameters
‘1':
Enable magnetic writing to track 1
‘2':
Enable magnetic writing to track 2
‘3:
Enable magnetic writing to tracks 1 and 2
‘4':
Enable magnetic writing to track 3
‘5':
Enable magnetic writing to tracks 1 and 3
‘6':
Enable magnetic writing to tracks 2 and 3
‘7':
Enable magnetic writing to tracks 1, 2 and 3
Only parameter 2 is enabled with a 1-track model (TCP300**) for the number of tracks of
magnetic stripes.
Command Transfer Formats
STX
32h
Write track specification
ETX
BCC
Response Transfer Formats
STX 32h Status
ETX BCC