User manual

Copyright © 2010, International Technologies & Systems Corporation. All Rights Reserved
38 of 66
ID TECH EzWriter
Command: WRITE Passbook (supported in firmware v2.7 or later version)
Command code: <ESC> W [raw data block]
Hex code: 1B 57 [raw data block]
Response: <ESC> [status bytes]: status = 30 or 35 + 1B 3x
Description: This command processing is similar to raw data writing but responses are
different. If first write/verify passes, it responses 1B 30. If first write/verify fail, it
responses 1B 35, waiting for second swipe to verify; After second swipe, it send verify
result out as 1B 3x. x=0 for no error; x=1 for T1 error; x=2 for T2 error; x=3 for T1&T2
error; x=4 for T3 error; x=5 for T1 and T3 error; x=6 to T2 and T3 error; x=7 for T1, T2 and
T3 error.
Command: READ Passbook (supported in firmware v2.7 or later version)
Command code: <ESC> R <option>
Hex code: 1B 52 <option>
Response: [data block] <ESC> [status byte]
Description: This command requests the R/W to read a card swiped and respond with the
data read in ASCII format. It will read data in passbook format as well as ISO and AAMVA
format.
Status byte: 3x. x=0 for no error; x=1 for T1 error; x=2 for T2 error; x=3 for T1&T2 error;
x=4 for T3 error; x=5 for T1 and T3 error; x=6 to T2 and T3 error; x=7 for T1,T2 and T3
error.
<option> = ‘0’ – to send any decoded track data.
<option> = ‘1’ – to send only different track data.
Command: Communication test
Command code: <ESC> e
Hex code: 1B 65
Response: <ESC> y [1B] [79]
Description: This command is used to verify that the communication link between
computer and the EzWriter is up and good.
Command: All LED off
Command code: <ESC> <81>
Hex code: 1B 81
Response: none
Description: This command is used to turn off all the LEDs.
Command: All LED on
Command code: <ESC> <82>
Hex code: 1B 82
Response: none
Description: This command is used to turn on all the LEDs.
Command: Green LED on
Command code: <ESC> <83>