Homelite HL-1660E Printer User Manual


 
10/10/03
CHAPTER 7 IBM PROPRINTER - 16
Underline mode
Esc-n (27)(126)n <1Bh><7Eh>n
This command turns character underlining on or off.
If n is set to 1 subsequent text is underlined.
Horizontal tab spaces are not underlined irrespective of whether underlining mode is on or off.
If n is set to 0 subsequent text is not underlined.
LPRINT CHR$(27); CHR$(45); CHR$(1); 'Underline following text
Continuous overline mode
Esc_n (27)(95))n <1Bh><5Fh>n
This command turns character overline printing on or off.
If n is set to 1 subsequent text is printed with a continuous line above it.
Horizontal tab spaces are not printed overlined irrespective of whether overline printing mode is on or
off.
If n is set to 0 subsequent text is not printed with an overline.
LPRINT CHR$(27); CHR$(95); CHR$(1); 'Print following text with an
overline
Select double-height / double-width mode
Esc[@n1n2n3n4n5n6 (27)(91)(64)n1n2n3n4n5n6
<1Bh><5Bh><40h>n1n2n3n4n5n6
This command enables you to select single or double line spacing and single or double character
height and width.
n
1
should be set to 4 and n
2
,n
3
and n
4
to 0.
To set double line spacing and select double-height characters set n
5
to 34.
To set double line spacing and select normal height characters set to n
5
to 33.
To set single line spacing and select double-height characters set to n
5
to 18.
To set single line spacing and select normal height characters set n
5
to 17.
To select double-width characters set n
6
to 2.
To select single-width characters set n
6
to 1.
LPRINT CHR$(27); CHR$(91); CHR$(64); CHR$(4); CHR$(0); CHR$(0);
CHR$(0); CHR$(34); CHR$(1); 'Set double line spacing and print double-
height, double-width characters.
Select character from the All Character Code table
Esc\n1n2<Character data> (27)(92)n1n2<Character data>
<1Bh><5Ch>n1n2<Character data>
This command enables you to print characters from the All Character Code table.
n
1
and n
2
specify the number of characters to be printed.
The number of characters printed is 256*n
2
+n
1.
Control codes included in the character data are not executed.
LPRINT CHR$(27); CHR$(92); CHR$(64); CHR$(1); CHR$(65); CHR$(66);
CHR$(67); CHR$(68); CHR$(69); 'Print 320 characters starting ABCDE...