Set presentation highlight (sph) (esc [ @), Set font global (sfg) (esc [ i) – Compuprint 4247-Z03 Programmer Manual User Manual
Page 43
The values for N1 are:
X'01'
Underscore
X'02'
Strikethrough
X'03'
Overscore
X'00'
Cancel
X'01'
Single Line
X'02'
Double Line
Set Presentation Highlight (SPH) (ESC [ @)
1B
5B
40
LL
HH
M1
M2
M3
M4
SPH activates or deactivates double wide, double high, and italic printing. This command is supported in
4247, 4202 III XL, and 2381 emulation with some exceptions as noted.
Once these highlights are active, they remain active until terminated, either by another SPH command or
an initialization. If double wide printing is activated by an SPH, a DC4 control can also cancel it.
A two-byte count (LL HH) indicates the number of bytes that follow in this control. LL is X'00' to X'04'. HH
is always X'00'. If the count equals X'0000', the control is ignored.
M1 .. M4 turn double wide, double high, or italics on or off.
M1 is a one-byte hexadecimal value that turns italics on or off as follows:
X'00'
No change
X'01'
Italics on (2381 and 4247 only)
X'02'
Italics off (2381 and 4247 only)
M2 is always X'00'.
M3 is a one-byte hexadecimal that controls line feeds and character height (vertical spacing) as follows:
X'00'
No change to line feed, no change to character height
X'01'
Line feeds unchanged, standard character height
X'02'
Line feeds unchanged, double character height
X'10'
Single line feeds, character height unchanged (4202 only)
X'11'
Single line feeds, standard character height
X'12'
Single line feeds, double character height
X'20'
Double line feeds, character height unchanged (4202 only)
X'21'
Double line feeds, standard character height
X'22'
Double line feeds, double character height
M4 is a one-byte hexadecimal value that turns double wide on or off as follows:
X'00'
No Change
X'01'
Turn double wide off
X'02'
Turn double wide on
X'10'
Single line feeds (2381 and 4247 only)
X'20'
Double line feeds (2381 and 4247 only)
Set Font Global (SFG) (ESC [ I)
1B
5B
49
02
00
HF
LF
This control selects font and pitch based on the values of HF and LF. (Supported in 4247 or 2381
emulation mode only.)
Chapter 1. Personal Printer Data Stream (PPDS)
23