P 190
35
port accepts 8 bit data; if it is 1 the port accepts 7 bit data. If the 7-bit protocol is enabled, the printer will
only be able to print non extended characters, i.e. those from code $0E to code $7F.
• d3: its purpose is to enable the printing of seconds in the clock commands. If the bit is 0 the seconds will
not be printed; otherwise during the printing phase of the time the seconds will be printed too.
• d4: if the bit is 0 command $0D is carried out; if it is 1 the printer ignores the carriage return command.
• d5: this bit enables the printing of the first block (heading) as soon as the printer is switched on. If
the bit is 0 this function is disabled; if it is 1 the function is enabled.
• d6 selects the character fonts during printing. A logic state 0 selects font 1, while a logic state 1
selects font 2.
• d7: this bit has no effect on the working of the printer for software release 4.3. 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” G or in Hex $30 $39 $1B $47
All these bits, with the exception of bit 7, can be manipulated by programming using the front keys of the
printer.
ASCII: (dd) ESC M Hex: (dd) $1B $4D
Writes printing mode value (dd)
Using the command “ESC” M it is possible to manipulate the printing mode by default. To do this a byte
in ASCII containing the printing mode must be transmitted followed by “ESC” M. The type of writing
which can be defined is described in the following table:
$00 small character printing
$01 double width printing
$02 double height printing
$03 expanded printing
If, for example, you wish to print in double height characters, you will send:
0 2 “ESC” M (or $30 $32 $1B $4D)
Automatically the printing mode is changed to the one selected and is stored in the non volatile memory.
ASCII: ESC p Hex $1B $70
Transmits the option register in serial
The command “ESC” p transmits the “option register” byte to the serial port of the printer. Obviously if the
PRINTER FUNCTIONS