background image

 
 
 
 
 
 
 
 
 
 
 

TCP300II Series 

Product Specifications Manual 

Commands 

 
 
 
 
 
 
 
 
 
 
 
 

First Release: October 21, 2005 

Star Micronics Co., Ltd. 

 

Special Products Operating Division 

 

 

Summary of Contents for TCP300II Series

Page 1: ...TCP300II Series Product Specifications Manual Commands First Release October 21 2005 Star Micronics Co Ltd Special Products Operating Division...

Page 2: ...5 Transfer Control Characters 6 3 6 Cards for Processing 7 3 7 Retrying and Verifying 7 3 8 Reading the Buffer 8 3 9 Commands and Status Lists 9 4 COMMAND DETAILS 12 4 1 Magnetic Stripe Commands 12 4...

Page 3: ...erience errors by damaged magnetic data caused by dirty magnetic cards and external magnetic fields Carefully handle those errors Particularly you should develop a system for recovering erroneous card...

Page 4: ...eader writer has responded with the NAK characters the host resends that command block In the same way the reader writer should calculate on the host side the BCC of the response block that is sent If...

Page 5: ...3 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...

Page 6: ...CK after receiving a command block Responses can be up to three seconds 2 There is no limit to the number of times to resend for transmission errors of command blocks or response blocks Therefore the...

Page 7: ...error DLE sent 1 If data normal Buffering 2 2 3 BCC received If BCC matched 4 If BCC does not match NAK sent 1 If BCC matched 4 If BCC does not match NAK sent 1 If BCC matched 4 If BCC does not match...

Page 8: ...ogic sum from the command to ETX 3 5 Transfer Control Characters The following shows the transmission control character codes and functions BCC is an exclusive logic sum from the command to ETX Charac...

Page 9: ...t be removed from the device once and then reinserted or they can be processed by employing the removal wait cancel command 55h 3 7 Retrying and Verifying The visual card reader writer will retry to r...

Page 10: ...t 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...

Page 11: ...third track data setting command 310 3Bh First track data setting command 310 3Ch Second track data setting command 300 310 3Dh Third track data setting command 1 Data format set by EEPROM 310 31h Mag...

Page 12: ...d Other commands Model Details 300 1 Track magnetic head model TCP300 310 3 Track magnetic head model TCP310 1 EEPROM default values are listed below 3 Track magnetic head model TCP310 3Bh 6 bit 1 par...

Page 13: ...7h Magnetic stripe writing error B 38h Card jam B 40h Cover open B 41h Invalid command C 42h Cam motor error A 43h Erase head temperature error A 45h EEPROM error A 4Ch Non compatible BMP file data C...

Page 14: ...ard If a card is waiting to be removed from the device it will wait until the card is discharged If reading of the card fails the device will automatically reread the card according to the number of t...

Page 15: ...ponse Transfer Formats STX 22h Status Read Data String ETX BCC 3 Third track read command Model TCP310 General Description This command waits for the third track read of a magnetic strip encoded in th...

Page 16: ...quit the command In that case the read data string field does not exist If there is a card waiting to be removed from the device when issuing this command discharge it The results of the command are...

Page 17: ...ponse Transfer Formats STX 26h Status Read Data String ETX BCC 6 Third track read status with no card command Model 310 General Description This command waits for the third track read of a magnetic st...

Page 18: ...Setting Commands 91h for details Command Transfer Formats STX 29h ETX BCC Response Transfer Formats STX 29h Status Read Data String ETX BCC 8 Second track buffer read command Models 300 310 This comma...

Page 19: ...ails Command Transfer Formats STX 2Bh ETX BCC Response Transfer Formats STX 2Bh Status Read Data String ETX BCC 10 Reverse 7 bit format first track data setting command Model 310 This command sets the...

Page 20: ...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 c...

Page 21: ...ite data to the first track with a 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...

Page 22: ...setting command Model 310 This command sets the first track write data The magnetic format of the write data corresponds to the following formats but the format that is set abides by the content of t...

Page 23: ...mand Transfer Formats STX 3Ch Write data string ETX BCC Response Transfer Formats STX 3Ch Status ETX BCC 18 Third track data setting command Model 310 This command sets the third track write data The...

Page 24: ...er 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...

Page 25: ...e 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 t...

Page 26: ...ed only by executing the print expansion buffer clear command 40h executing the buffer clear command 49h or by turning the power off and on again This command clears the rasterized image register buff...

Page 27: ...control data and the line feed control data This command is not limited to a number of transmissions After clearing the print expansion buffer data can be separated into a multiple of times for sendin...

Page 28: ...s expands STAR Micronics Corp by additional writing to a vertical card at the X coordinate and Y coordinate 0 23 Card arrangement direction specification parameter 0 Vertical card overwrite 1 Horizont...

Page 29: ...hinese specifications GB2312 or GB18030 and Korean specifications Hangul The two byte code area of the GB18030 characters can be printed in the GB18030 mode but USER AREAs 1 2 and 3 cannot be printed...

Page 30: ...acter amount including spaces for single byte characters by calculating the position to expand the expansion buffer memory in single byte ESC s next parameter range 01 to 59 2 digit configuration ESC...

Page 31: ...fonts as ANK characters ESC J j next parameter range 0 to 1 1 digit configuration ESC J0 Specifies two byte gothic fonts ESC J1 Specifies single byte gothic fonts ANK character double byte specificat...

Page 32: ...Commas Required to separate parameters Data arrangement X coordinate parameter Specifies the X coordinate on the upper left edge of the image to expand When the card arrangement specification is 0 2...

Page 33: ...s issued Command Transfer Formats STX 43h Expansion start X coordinate Expansion start Y address Expansion image data ETX BCC Response Transfer Formats STX 43h Status ETX BCC Parameter Explanation Exp...

Page 34: ...length is 10 bytes and 20 bytes of image data which becomes 40 bytes after characters disintegrate into 4 bit pieces it is possible to specify 2 dot strings at the same time The maximum length of imag...

Page 35: ...specifies the lower side bits In the example below this is 3A The maximum value that can be specified for image data is 1024 bytes 512 x 8 dots The number of image data should be an integer magnificat...

Page 36: ...t x 24 dot fonts 1 Vertical horizontal 16 dot x 16 dot fonts Commas Required to separate parameters External character registration number parameter This specifies the external character number to reg...

Page 37: ...12 13 14 15 16 17 18 19 20 21 22 23 24 Data 0 Font number 001000001000081020101010 A to D string 20000840380400FE0000FF01 E to H string 80FF0380FF03C0FF07DEFFF7 I to L string C0FF0780FF0380FF0300FF01...

Page 38: ...ter 0 Vertical horizontal 24 dot x 12 dot fonts 1 Vertical horizontal 16 dot x 8 dot fonts Commas Required to separate parameters External character registration number parameter This specifies the ex...

Page 39: ...n the card type ambient temperature and head heat Command Transfer Formats STX 46h Discharge control method Erasing control method Print control method ETX BCC Response Transfer Formats STX 46h Status...

Page 40: ...ither discharge the card according to the discharge method specification parameter or it will stop while idling and hold the card Discharged cards wait to be pulled out and are no longer process targe...

Page 41: ...ld is a process target card If a card is not inserted after this command is issued or to cancel the command issue the card insertion wait status cancel command 54h after canceling the state of communi...

Page 42: ...parameter string comma ending Y coordinate specification parameter string comma bar code type parameter comma the bar code start stop code parameter string comma Bar code control header string and bar...

Page 43: ...e subscript exceeds the printable range of a card it is rejected Bar Code Data String When the bar code type parameters are 0 1 CODE 128 102 characters from chr H00 to chr H66 are expressed with bar c...

Page 44: ...0 2 0 32 chr H21 2 1 A A 33 chr H22 2 2 B B 34 chr H23 2 3 C C 35 chr H24 2 4 D D 36 chr H25 2 5 E E 37 chr H26 2 6 F F 38 chr H27 2 7 G G 39 chr H28 2 8 H H 40 chr H29 2 9 I I 41 chr H2A 2 A J J 42 c...

Page 45: ...chr H61 6 1 FNC 2 FNC 2 97 chr H62 6 2 SHIFT SHIFT 98 chr H63 6 3 CODE C CODE C 99 chr H64 6 4 CODE B FNC 4 CODE B chr H65 6 5 FNC 4 CODE A CODE A chr H66 6 6 FNC 1 FNC 1 FNC 1 Specifying the bar cod...

Page 46: ...of the ITF with subscript When the bar code type parameters are 6 7 CODABAR NW 7 The symbols of and numbers 0 to 9 are expressed with bar code CODABAR NW 7 With the bar code of this mode it is possib...

Page 47: ...rocess targeted card If there is a card waiting removal in the device and the magnetic reading or printing command is received this card is not a process target card so the card discharge process is e...

Page 48: ...and 54h after canceling the state of communication Command Transfer Formats STX 51h ETX 52h Response Transfer Formats STX 51h Status ETX BCC 4 Card insertion wait status cancel command This command ca...

Page 49: ...mmand the erase command or the discharge command becomes a card waiting removal by the user To reread the magnetic stripe data or to print again either execute this command or execute the card rear si...

Page 50: ...Response Transfer Formats STX 59h Status Sensor status data string ETX BCC The following shows the response block sensor status data string Sensor status data example First Sensor 1 status 0 No card...

Page 51: ...umber integer field 1 decimal points two decimal points 5 Expanded Chinese characters 3 characters Normally 00 3 LED buzzer control command This controls the STATUS LED and buzzer This does not contro...

Page 52: ...have been transported in the device as a reference The transport count data string reads out the count that cards have passed over the magnetic head up to 10 digits Reciprocal transports are counted...

Page 53: ...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...

Page 54: ...rted the device will clean the magnetic head erase head and thermal head the set number of times then discharge the cleaning card and idle If the head is hot delay the cleaning until it has cooled If...

Page 55: ...lt settings relating to communications The setting is stored internally with the non volatile memory even when the power is cut When the power is turned on again the stored contents are handled as the...

Page 56: ...fault serial number is 1 3 Various setting commands This command sets each of the default settings The setting is stored internally with the non volatile memory even when the power is cut When the pow...

Page 57: ...L l 0 to 3 LED control method specification 0 Initialize Z z 0 Returns device to ex factory default settings 0 Reading direction conforming to JISX6302 Magnetic format reading direction conforming to...

Page 58: ...s using this command function as default settings in the print character data setting command 41h STX 91h B b character width setting ETX BCC Character width setting parameter 0 Sets ANK characters to...

Page 59: ...ion as the initial direction The card arrangement direction when the device is shipped from the factory is set to the vertical position Magnetic stripe read retry count setting This command sets the n...

Page 60: ...c write retry count to 5 times 6 Sets the magnetic write retry count to 6 times 7 Sets the magnetic write retry count to 7 times The ex factory magnetic write retry count setting is 2 times Cleaning o...

Page 61: ...factory two byte character gap dot space setting is 2 dots This setting does not function on models other than JP GB2312 or GB38030 BIG5 or KR Single byte character gap dot space setting This command...

Page 62: ...to 15 dots The ex factory line gap dot space setting is 2 dots LED control method setting This command sets the method to control the LED When setting the LED control method the LED automatically lig...

Page 63: ...ack recording method 13 Sets track 1 to ISO7811 2 third track recording method 14 Sets track 1 to the opposite direction data format of the JISX6302 recording method 20 Sets track 2 to JISX6302 record...

Page 64: ...from the top fo the device 5 Connect the interface cable then turn the power on again 6 The LEDs flash several times alternately and STATUS lights The buzzer will beep three times 7 Startup the flash...

Page 65: ...the information on the card changes the operating mode of the device If the changes are successful success is printed at the bottom of the card If an error occurs unsuccessful is printed Refer to the...

Page 66: ...haracter data setting command Print data setting details in separate table 3000 42 Built in image data 1 expansion command Expansion to buffer of built in image data 1 Data settings downloaded from BM...

Page 67: ...LECTRONIC PRODUCTS DIVISION STAR MICRONICS CO LTD 536 Nanatsushinya Shimizu ku Shizuoka 424 0066 Japan Tel 0543 47 0122 Fax 0543 48 5013 Distributed by STAR MICRONICS U K LTD Star House Peregrine Busi...

Reviews: