Star Micronics TCP300 Programmer's Manual page 25

Tcp300 series
Hide thumbs Also See for TCP300:
Table of Contents

Advertisement

(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 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 header string can be omitted altogether.
The print text data string is composed of the print text data, ESC 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 sending until the print command (46h)
is executed.
Expanded data is maintained in the reader/writer unless the print expansion buffer is cleared, so
the same printing can be performed as many times as required.
If print data expanded in the print expansion buffer exceeds the printable range of a card, an
expansion buffer overflow error (51h) response is transmitted.
The command length can be a maximum of 1024 bytes.
separate the length into a plurality of commands.
Command Transfer Formats
STX
41h
Response Transfer Formats
STX
41h
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 header string can be omitted altogether.
If omitted, the device expands the memory from the next character position after the previous
command.
Print control header string = card arrangement direction specification parameter ',' (comma) X
coordinate specification
Parameter ',' (comma) Y coordinate specification parameter ',' (comma)
Print data string ETX
Status
ETX
BCC
BCC
23
If it should exceed that,

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tcp310

Table of Contents