P 190
36
printer is using the parallel protocol, the command will produce no effect. The reply to this question is made
in two ASCII bytes containing the option register value. If, for example, we receive:
0 9 (or $30 $39)
this means that the configuration will be 00001001.
ASCII: ESC M Hex $1B $6D
Transmits the printing mode in serial
The command “ESC” m transmits the byte containing the printing mode by default to the serial port of
the printer. Obviously if the printer is using the parallel protocol, the command will produce no effect.
The reply to this question is made in two ASCII bytes containing the option register value. If, for
example, we receive:
0 2 (or $30 $32)
this means that the printer is in double height printing mode.
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.
ASCII: ESC W (n) Hex: $1B $57 (n)
Starts saving block (n)
The command “ESC” W ($1B $57) followed by a number (from 1 to 3) activates the function for saving
a file in one of the three blocks defined by the number n. These blocks are contained in a non volatile
memory which stores the data even when the power is switched off. The length of the files which can be
memorized is of 300 bytes for the first block and 700 bytes for the second and third blocks. The files
can contain all kinds of codes; it is therefore possible to store tests, data, executive commands to the
printer, auto-headings, graphic files etc. If files exceeding the memory bank capacity are transmitted,
the extra characters will be printed directly without being saved. Loading can be done in either serial or
parallel. When you have finished loading a block, it is advisable to enter the terminating command
“ESC” Z. The three blocks stored in this way can either be printed or transmitted in serial. If printer
commands have been saved, these will be carried out as they would normally.
ASCII: ESC V (n) Hex: $1B $56 (n)
Prints block (n)
PRINTER FUNCTIONS