Streszczenie treści zawartej na stronie nr. 1
TCP300II Series
Product Specifications Manual
Commands
First Release: October 21, 2005
Star Micronics Co., Ltd.
Special Products Operating Division
Streszczenie treści zawartej na stronie nr. 2
Table of Contents 1. APPLICATION 1 2. PRECAUTIONS FOR PROGRAMMING AND FOR HANDLING 1 3. COMMUNICATION SPECIFICATIONS 2 3-1. Communication Procedures -------------------------------------------------------------------------2 3-2. Transmission Control Matrix-------------------------------------------------------------------------4 3-3. Transmission Control Matrix (Reader Type)----------------------------------------------------5 3-4. Command and Response Transfer Formats ------------
Streszczenie treści zawartej na stronie nr. 3
1. APPLICATION This manual describes the commands relating to the TCP300II series printers. 2. PRECAUTIONS FOR PROGRAMMING AND FOR HANDLING • The volatile memory writing life is approximately one million times. The expect ed life will be reached by frequent use, which can cause problems in the operation of the printer. Therefore, only use the model set command (91h) and the cleanin g yes/no command (5Bh) when starting up the system. Note that the parameters that can be set by the m
Streszczenie treści zawartej na stronie nr. 4
3. COMMUNICATION SPECIFICATIONS 3-1. Communication Procedures This device communicates with its host using block transmissions of resend requests. When communications are started from the host, the host will transmit a command block to the reader/writer. When the reader/writer receives the command block, it will respond with either of the characters of ACK (normal), NAK (resend request) or DLE (reject). If the reader/writer responds with the ACK characters, the device will execute th
Streszczenie treści zawartej na stronie nr. 5
DLE Sequence Host Reader/writer Command sent → Command received DLE received ← DLE sent See section 2-5. Transmission Control Characters for details regarding ACK, NAK and DLE character codes. 3
Streszczenie treści zawartej na stronie nr. 6
3-2. Transmission Control Matrix Event ACK received NAK received DLE received Response received No response Host status Idling Read and discarded Read and discarded Read and discarded Read and discarded Nothing occurs After command is Resend command If timeout error, sent block or process as process timeout error ACK received Command withdrawn Reset TCP waiting to receive communication error ACK After ACK received Receive response Do nothing or process waiting to receive Reset TCP
Streszczenie treści zawartej na stronie nr. 7
3-3. Transmission Control Matrix (Reader Type) Event STX received ETX received Other receptions ACK received NAK received No response TCP status 1 Idling Read and Read and Read and Read and →2 →1 discarded→1 discarded→1 discarded→1 discarded→1 If data error If data error If data error DLE sent → 1 DLE sent → 1 DLE sent → 1 2 Command received Buffering → 2 Buffering → 3 If data normal →2 If data normal If data normal buffering → 2 buffering → 2 Buffering → 2 If BCC matched If
Streszczenie treści zawartej na stronie nr. 8
3-4. Command and Response Transfer Formats Command Transfer Formats STX Commands Data String ETX BCC Response Transfer Formats Commands STX Status Data String ETX BCC Data string must be within 1024 bytes. BCC is an exclusive logic sum from the command to ETX. 3-5. Transfer Control Characters The following shows the transmission control character codes and functions. Character Code Function STX 02h Text start symbol ETX 03h Text end symbol ACK 06h Normal respon
Streszczenie treści zawartej na stronie nr. 9
3-6. Cards for Processing The cards that can be processed are called readable and writable cards. When the card is inserted into the inlet, it is a process targeted card. When the process is completed, the card idles in the machine, and is a process targeted card. When idling in the device, the idling card is a process targeted card regardless of whether there is a card at the inlet. Cards discharged from the device are removal waiting cards and are no longer process target cards. To
Streszczenie treści zawartej na stronie nr. 10
3-8. Reading the Buffer It is possible to read the buffer when a card that has been read/written is idling. The buffer read commands (29h, 2Ah, 2Bh) obtains the read data stored in the read buffer on the visual card reader/writer. It is possible to get the read data on the track by using the buffer read commands (29h, 2Ah, 2Bh) without transporting a card. The result is high speed reading of the card. The card will be transported and read if the card is not idling or by using the buffe
Streszczenie treści zawartej na stronie nr. 11
3-9. Commands and Status Lists (1) Command List Applicable Code Content of Command Class Models 21h First track read command 310 22h Second track read command 300/310 23h Third track read command 310 25h First track read (status with no card) command 310 26h Second track read (status with no card) command 300/310 27h Third track read (status with no card) command 310 29h First track buffer read command 310 2Ah Second track buffer read command 300/310 2Bh Third track buffer r
Streszczenie treści zawartej na stronie nr. 12
Code Content of Command Class 59h Status Request Command Information 58h ROM version request command display 5Ah LED, buzzer control command commands 95h Card transport count request command 96h Print count request command 5Bh Cleaning button enable/disable command Cleaning commands 52h Cleaning command 5Fh Reset command Other 90h Communication setting command commands 91h Model setting command Model Details 300: 1 Track magnetic head model (TCP300**) 310: 3 Trac
Streszczenie treści zawartej na stronie nr. 13
(2) Status List The following shows the content of status. When there is the status code 20h there is no error. Anything other than 20h, it is recommended to branch the error and processing. Error notification codes may change or be added to without prior notice. Undefined statuses are reserved for the system. Code Status Content Rank 20h Normal 22h No target card (only when using a no card status command) C 23h No magnetic stripe (when inserted backward) or other error C 31h Pari
Streszczenie treści zawartej na stronie nr. 14
4. COMMAND DETAILS 4-1. Magnetic Stripe Commands (1) Third track read command (Model: 310) General Description This command idles the first track read of a magnetic strip encoded in the following formats. • 7-bit + 1 parity (called 7-bit format below) Conforming to JISX6302* • Reverse 7-bit + 1 parity Reverse direction writing format of the format above* • 6-bit + 1 parity (called 6-bit format below) conforming to ISO 7811/2 first track • 4-bit + 1 parity (called 4-bit format be
Streszczenie treści zawartej na stronie nr. 15
(2) Second track read command (Models: TCP300/310) General Description This command waits for the second track read of a magnetic strip encoded in the following formats. • 7-bit format conforming to JISX6302* • Reverse 7-bit + 1 parity Reverse direction writing format of the format above* • 6-bit format conforming to ISO 7811/2 first track • 4-bit format conforming to ISO 7811/2 second and third tracks However, the second track is in 70 bpi format. See the first track read com
Streszczenie treści zawartej na stronie nr. 16
(4) First track read (status with no card) command (Model: 310) General Description This command idles the first track read of a magnetic strip encoded in the following formats. • 7-bit format conforming to JISX6302* • Reverse 7-bit format Reverse direction writing format of the format above* • 6-bit format conforming to ISO 7811/2 first track • 4-bit format conforming to ISO 7811/2 second and third tracks However, the second track is in 70 bpi format. The starting symbol in the
Streszczenie treści zawartej na stronie nr. 17
(5) Second track read (status with no card) command (Models: 300/310) General Description This command waits for the second track read of a magnetic strip encoded in the following formats. • 7-bit format conforming to JISX6302* • Reverse 7-bit format Reverse direction writing format of the format above* • 6-bit format conforming to ISO 7811/2 first track • 4-bit format conforming to ISO 7811/2 second and third tracks However, the second track is in 70 bpi format. See the first
Streszczenie treści zawartej na stronie nr. 18
(7) First track buffer read command (Model: 310) This command acquires the first track buffer data of the following formats. • 7-bit format conforming to JISX6302* • Reverse 7-bit format Reverse direction writing format of the format above* • 6-bit format conforming to ISO 7811/2 first track • 4-bit format conforming to ISO 7811/2 second and third tracks However, the second track is in 70 bpi format. See the first track read command for details. Note that this command cannot be
Streszczenie treści zawartej na stronie nr. 19
(9) Third track buffer read command (Model: 310) This command acquires the third track buffer data of the following formats. • 7-bit format conforming to JISX6302* • Reverse 7-bit format Reverse direction writing format of the format above* • 6-bit format conforming to ISO 7811/2 first track • 4-bit format conforming to ISO 7811/2 second and third tracks However, the second track is in 70 bpi format. See the third track read command for details. Note that this command cannot be
Streszczenie treści zawartej na stronie nr. 20
(11) Reverse 7 bit format second track data setting command (Models: 300/310) This command sets the write data to the second track with a reverse 7-bit format. Excluding 02h (STX) and 03h (ETX), the write data string must be data from 01h to 7Eh in 0 to 69 bytes. The starting and ending symbols, LRC and parity bit on the magnetic stripe are all automatically applied. A reject response is issued when an error is detected in the write data. * This command generates magnetic strip data