Page 2 - Table of Contents; APPLICATION
-ii- 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 -------------------------------------...
Page 3 - PRECAUTIONS FOR PROGRAMMING AND FOR HANDLING; The expect; • The print head and erase head are hot.; To prevent a dangerous situation, do not; Closing the transport path after opening it will reset the device.; Always reset the; clean the device
1 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 ope...
Page 4 - COMMUNICATION SPECIFICATIONS; Procedures
2 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...
Page 7 - Transmission Control Matrix (Reader Type)
5 3-3. Transmission Control Matrix (Reader Type) Event TCP status STX received ETX received Other receptions ACK received NAK received No response 1 Idling → 2 Read and discarded → 1 Read and discarded → 1 Read and discarded → 1 Read and discarded → 1 → 1 2 Command received Buffering → 2 Buffering →...
Page 8 - Command and Response Transfer Formats; Command Transfer Formats; Commands; Data string must be within 1024 bytes.; Transfer Control Characters; BCC is an exclusive logic sum from the command to ETX.
6 3-4. Command and Response Transfer Formats Command Transfer Formats STX Commands Data String ETX BCC Response Transfer Formats STX Commands 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 ...
Page 9 - Cards for Processing; The cards that can be processed are called; readable and writable cards; and are no longer process; removal wait cancel command
7 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 i...
Page 10 - Reading the Buffer
8 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 buffe...
Page 11 - Commands and Status Lists; List
9 3-9. Commands and Status Lists (1) Command List Code Content of Command Applicable Models Class 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)...
Page 13 - Error notification
11 (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 f...
Page 27 - Print character data setting command
25 (3) Print character data setting command This command expands character data to be printed (including external fonts) in the print expansion buffer. The print data string is composed of the print control header string and the print text data string. The print control header string is composed of ...
Page 28 - When the card arrangement direction specification is ‘1,’
26 Parameter Explanation Print control header string The print control header string is composed of the card arrangement direction parameter, the X coordinate specification parameter string, the Y coordinate specification parameter string, and a comma for separating each parameter. The print control...
Page 29 - Text data string
27 Notes: The Y coordinate specification parameter indicates the bottom left edge of the text data to expand, so when the set font is 24 dots, the minimum value of the Y coordinate specification value is 23. If the set font is 16 dots, the minimum value of the Y coordinate specification value is 15....
Page 31 - Internal image data 1 expand command
29 • ESC d Sets the dot space for gaps in single-byte characters. Dot spaces are applied to the right side of characters. ESC ‘d’ next parameter range: ‘0’ to ‘F’ 1 digit configuration • ESC W/w Sets the width size of characters to expand. ESC ‘W’/’w’ next parameter range: ‘1’ to ‘2’ 1 digit configu...
Page 32 - Parameter Explanation
30 Command Transfer Formats STX 42h Data arrangement specification ‘,’ Data arrangement X coordinate ‘,’ Data arrangement Y coordinate ‘,’ Expansion image specification number ETX BCC Response Transfer Formats STX 42h Status ETX BCC Parameter Explanation • Data arrangement specification parameter To...
Page 37 - Example Setting
35 Example Setting A B C D E F G H I J K L M N O P Q R S T U V W X 1 2 ● 3 ● 4 ● ● ● 5 ● ● ● 6 ● ● 7 ● ● ● ● ● 8 ● ● ● ● ● ● ● 9 ● ● ● ● ● ● ● ● ● 10 ● ● ● ● ● ● ● ● ● ● ● 11 ● ● ● ● ● ● ● ● ● ● ● 12 ● ● ● ● ● ● ● ● ● ● ● ● ● 13 ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● 14 ● ● ● ● ● ● ● ● ● ● ● ● ● ...
Page 43 - Bar Code Data String
41 • ‘,' (Commas) Required to separate parameters. • Bar code status stop code parameter This is necessary only when the bar code type parameters are ‘0,’ ‘1,’ ‘6’ and ‘7.’ When the bar code type parameters are ‘0,’ ‘1’ ‘A’: Sets CODE 128 bar code to code set A. ‘B’: Sets CODE 128 bar code to code s...
Page 46 - Bar code printing example
44 • When the bar code type parameters are ‘4’, ‘5’ (ITF) Expresses “0” to “9” numbers with the bar code ITF. With the bar code of this mode, it is possible to expand bar code fonts by transmitting the character to use as an ASCII character. A start and stop code is automatically applied. It is poss...
Page 49 - Card removal wait status cancel command
47 (5) Card removal wait status cancel command This command makes a card in the device that is waiting removal a process targeted card. A card that is executing the erase + print command, the erase command or the discharge command becomes a card waiting removal by the user. To reread the magnetic st...
Page 52 - Card transport count request command
50 Use the following codes for the LED color setting data. Use the following codes for LED operation and buzzer setting data. Code Function 20h ‘ ’ Continues current operation 30h ‘0’ Turns OFF 31h ‘1’ Turns ON 32h ‘2’ Starts blinking 33h ‘3’ Blinks once 34h ‘4’ Blinks three times (4) Card transport...
Page 53 - Print count request command
51 (5) Print count request command This command requests the number printings, as a reference. The print count data string is 10 digits long. When the power is cut, the transport count less than 10 times is rounded down. Command Transfer Formats STX 96h Data String ETX BCC Response Transfer Formats ...
Page 57 - • ANK character font size specification (JP)
55 Setting Type and Parameter List (Types are set alphabetic characters and parameter are set by numerical values) Contents Type Parameters Functions Initial Value ‘0’ Two-byte font specification ANK fonts sizes ‘J’/‘j’ ‘1’ Single-byte font specification ‘1’ ‘0’ 24 dot font specification 24/16 dot f...
Page 58 - • Magnetic writing enabled track setting; idle command 31h and magnetic stripe write
56 • 24/16 dot font type specification (US/EU) This command sets the US, and EU destined 24/16 dot fonts for AN characters. Settings using the ESC sequence (ESC, F/f) in the print text data string are enabled only in one electronic statement, but settings using this command function as default setti...
Page 59 - retry
57 • Card arrangement direction setting This command sets the direction for card arrangement. In the print character data setting command (41h), the settings made using this command are enabled for the card arrangement direction if not setting the card arrangement direction and data arrangement coor...
Page 60 - • Magnetic stripe write retry count setting; idle; • Cleaning operation repeat count setting; The ex-factory cleaning count setting is 3 times.
58 • Magnetic stripe write retry count setting This command sets the number of times the device will retry to write to the magnetic stripe. Settings using this command function as default settings in the magnetic stripe write → idle command 31h and magnetic stripe write → idle (status with no card) ...
Page 61 - • Single-byte character gap dot space setting
59 • Two-byte characters gap dot space setting (JP/GP2312 or GB18030, BIG5, KR) This command sets the two-byte characters gap dot space. Settings using the ESC sequence (ESC, D) in the print text data string are enabled only in one electronic statement, but settings using this command function as de...
Page 62 - Line gap dot space setting; • LED control method setting; request or removal request.
60 • Line gap dot space setting This command sets the line gap dot space. Settings using the ESC sequence (ESC, M/m) in the print text data string are enabled only in one electronic statement, but settings using this command function as default settings in the print character data setting command 41...
Page 63 - • Magnetic format reading direction conforming to JISX6302; • Magnetic format settings
61 • Magnetic format reading direction conforming to JISX6302 This command sets the magnetic format reading direction conforming to JISX6302 Settings using this command function as default settings in the first, second, and third track read commands 21h, 22h, 23h, the first, second and third track r...
Page 64 - Firmware; Do not turn the power off or unplug the cable until completed.
62 5. MATERIALS 5-1. Switching Firmware Use the following steps to switch the firmware of the device. 1. Install the flash memory loading program into your PC. 2. Copy the firmware to any folder. 3. Turn off the power to the device, then mount either of the applicable interfaces of serial, USB, or L...
Page 66 - Timeout
64 5-5. Recommended Timeout 21 First track read command After card insertion, track 1 read, data request (format automatic judgment) 6000+ α *1 22 Second track read command After card insertion, track 2 read, data request (format automatic judgment) 6000+ α *1 23 Third track read command After card ...