Olivetti JP101 Printer User Manual


 
11) Alternative National Character Sets
VDU1, 27, 1, 91, 1, 48, 1, 51, 1, 48 (German)
VDU1, 27, 1, 91, 1, 48, 1, 52, 1, 48 (Spanish)
VDU1, 27, 1, 91, 1, 48, 1, 53, 1, 48 (Danish)
VDU1, 27, 1, 91, 1, 48, 1, 54, 1, 48 (French)
VDU1, 27, 1, 91, 1, 48, 1, 55, 1, 48 (Italian)
VDU1, 27, 1, 91, 1, 48, 1, 56, 1, 48 (Swedish/Finnish)
VDU1, 27, 1, 91, 1, 48, 1, 57, 1, 48 (British)
VDU1, 27, 1, 91, 1, 48, 1, 58, 1, 48 (USA-ASCII)
VDU1, 27, 1, 91, 1, 48, 1, 59, 1, 48 (Norwegian)
Selects one of the alternative national character sets. The default is that set on the DIP switches on the
PCB. Details of the special characters are given in the printer manual on page 5.12.
12) Programmed Horizontal Tabulation
VDU1, 27, 1, 80
(Format Information)
VDU1, 27, 1, 90
This is a complicated command to use. The program below demonstrates the use of this command to print
numbers 0 to 100 in a field width of 60 characters at tab stops of 0, 10, 15, 40, 47 characters.
10 @%+0 Turn off screen formatting
20 VDU2 Turn on output to printer
30 VDU1, 27, 1, 80 Tell printer horizontal tabulation program starts here
40 PRINT"60;10;15;40;47"; Send format information, line width followed by positions of
tab stops
50 VDU1, 27, 1, 90 Tell printer horizontal tabulation program stops here
60 Z=0
70 REPEAT
80 PRINT Z; For Z=0 to 100 print Z
90 VDU1, 9 Horizontal tab to next tab stop
100 Z=Z+1
110 UNTIL Z-101
120 VDU1, 12 Page eject
130 VDU3 Turn off output to printer
13) Horizontal Tab
VDU1, 9
Automatically inserts enough spaces as needed to reach the next horizontal tab stop as set by 12) above. If
no Horizontal Tabulation Program is set then one space is inserted.
4
16th June 1992Support Group Application Note No. 002, Issue 1
Support Group Application Note No. 002, Issue 1