GENERAL INFORMATION REGARDING SAFETY • Read and keep the following instructions. • Observe all warnings and follow all instructions attached to the printer. • Before cleaning the printer, disconnect the feed cable. • Clean the printer with a damp cloth. Do not use liquid or spray products. •...
GENERAL FEATURES Power supply Supply voltage: 12Vdc (±5%) Current on standby: 130mA Current when printing: 3.5A (peak) Absorption Medium when on standby 38 mA Medium when printing 880 mA 3,5 A (600 µSec) Impulse when printing Environmental conditions Operating temperature 0°C - +50°C Operating humidity 35% - 85%...
Page 6
GENERAL FEATURES CONNECTIONS WITH THE INTERFACES 9-pin serial connector: Pin no. Description <IN / OUT> N.C. POWER OUT PAPER END N.C. N.C. 25-pin centronics connector: Pin no. Description <IN / OUT> -STROBE +DB0 +DB1 +DB2 +DB3 +DB4 +DB5 +DB6 +DB7 -ACK +BUSY OUT PAPER END...
Page 7
GENERAL FEATURES Centronics ribbon connector: Bit no. Description <IN / OUT> -STROBE +DB0 +DB1 +DB2 +DB3 +DB4 +DB5 +DB6 +DB7 -ACK +BUSY OUT PAPER END +SELECT N.C. N.C. POWER N.C. N.C. 19/30 POWER -INIT +SELECT POWER N.C. +SELECT N.C. KEYBOARD The FEED and PRINT keys are located on the side of the printer;...
CONTROL CHARATERS Table 1, lists all the commands for function management of the TP1000 printer. These commands can be trans- mitted to the printer with either the serial or parallel interface; if, however, the parallel interface is used, the user will not be able to receive the data required, since this interface is unidirectional.
Page 9
PRINTER FUNCTIONS ESC H $1B $48 Zero-sets total operating hours ESC o $1B $6F Prints total operating hours ESC B $1B $42 Sets character font 1 ESC b $1B $62 Sets character font 2 (aa) ESC r (aa)$1B $72 Reads a piece of data at an address (aadd)ESC w (aadd)$1B $77 Writes a piece of data (dd) in an address (dd)
Page 10
PRINTER FUNCTIONS ASCII: - Hex: $02 Double height printing The command $02 is used to activate double height printing. This command clears the print buffer and for this reason it must not be transmitted immediately after an ASCII string, otherwise this string will be erased. It is better, therefore, to transmit the command $02 after a (CR) $0D so that the string is printed first and, on clearing the buffer, double width printing is enabled.
Page 11
PRINTER FUNCTIONS ASCII: - Hex: $0D Prints line buffer The command $0D (carriage return) prints the line buffer. If the buffer is empty, nothing happens. If the CRLF option is set, the code $0D is ignored and printing only takes place if the command $0A is transmitted. When the printer is switched on, the default value of the CRLF option is contained in the flag of a byte called “option register”...
Page 12
PRINTER FUNCTIONS In the second case the 10 ASCII characters corresponding to the time and date preceded by “A” or “P”, to indicate ante- or post-meridian, are sent to the printer followed by the command $13. If, for example, we wish to enter A12.45 of 19.01.93, we have to send the following sequence: A, 1, 2, 4, 5, 1, 9, 0, 1, 9, 3, $13 i.e.
Page 13
PRINTER FUNCTIONS ASCII: ESC N Hex: $1B $4E Sets the printer in normal mode The command “ESC” N selects normal mode printing. In normal mode printing, the ticket comes out of the printer with the writing upside down and running from right to left. When the printer is switched on, the default value is selected by the flag of a location called the “option register”;...
Page 14
PRINTER FUNCTIONS ASCII: ESC T Hex: $1B $54 Enters the time in the line buffer The command “ESC” T is used for entering the time of the Real Time Clock fitted inside the printer in the line buffer. The format of the time is hh-mm. This command can be used for entering the time in the context of a sentence without zero-setting the line buffer.
Page 15
PRINTER FUNCTIONS ASCII: ESC T Hex: $1B $48 Zero-sets total operating hours The command “ESC” T zero-sets the printer’s total operating hours. If you are using the total hours option, it is advisable to use this command immediately after switching on the printer so as to synchronize the operating hours of the printer itself with those of the master device.
Page 16
PRINTER FUNCTIONS ASCII: (aa) ESC r Hex: (aa) $1B $72 Reads a piece of data at an address The command “ESC” r makes it possible to read in a location of the non volatile memory (EEPROM). This command can only be used with the serial port as it is bi-directional. The communication protocol is defined by the dip-switches on the serial interface.
Page 17
PRINTER FUNCTIONS d6: selects the character fonts during printing. A logic state 0 selects font 1, while a logic state 1 selects font d7: from software release 5.3 on, 0 disables the lapsed time meter while 1 enables it. Once the printer has been configured, the above described byte in ASCII is transmitted; for example byte = 00001001 corresponds to $09, the whole string would therefore be: 0 9 “ESC”...
Page 18
PRINTER FUNCTIONS ASCII: ESC s Hex: $1B $73 Transmits next character in serial The command “ESC” s ($1B $73) sets the printer to transmit the next character it receives. If, for example, we transmit “ESC” s A, the last character, A, will not be printed but will immediately be transmitted in serial. If we use this function in memorizing blocks of text, we can simulate a password which would be transmitted, for example, when the printer is switched on, or command codes on pressing the PRINT key, or connected printer tests.
Page 19
PRINTER FUNCTIONS ASCII: ESC Z Hex: $1B $5A Block saving completed The command “ESC” Z ($1B $5A) acts as a terminator for the three memory blocks. When the line buffer reads this terminating command during printing, it stops printing the block and reverts to normal functioning. In the absence of the terminating command, the entire block will be printed.
Need help?
Do you have a question about the TP1000 and is the answer not in the manual?
Questions and answers