HP deskjet 600 User Manual

Page of 124
HP PCL Commands
HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide
27
10.4
Text Enhancements
10.4.1
Enable Underline
Enables the automatic underline enhancement.
This command must use a capital “D” as a terminator.
Except when changing the left margin causes positive horizontal CAP movement, when
underlining is enabled, each printed character or any positive horizontal motion (e.g., spaces,
CAP moves) is automatically underlined.
Once enabled, underline remains enabled until explicitly disabled. The default state is under-
line disabled.
A single underline is produced if double underline is invoked but unavailable, as in the case of
the DeskJet 850/870/890 Series printers.
When fixed location underlining is enabled, the underline is drawn a fixed, device-dependent
distance below the baseline. When floating location underlining is enabled, the greatest under-
line distance specified in all of the fonts printed on the current line determines where the
underline is positioned. The underline distance and height is defined in the font descriptor.
In the HP DeskJet implementation of “floating” underline, each font defines the thickness of
the underline character and its position relative to the baseline.
TABLE 5.
Enable Underline - 
Esc & d # D
Value
D
J
6
0
0
D
J
6
1
0
C
D
J
6
6
0
C
D
J
6
7
0
C
D
J
6
8
0
C
D
J
6
9
0
C
D
J
6
9
5
C
D
J
8
1
0
C
D
J
8
3
0
C
D
J
8
5
0
C
D
J
8
7
0
C
D
J
8
8
0
C
D
J
8
9
0
C
D
J
8
9
5
C
D
J
9
7
0
C
H
P
2
0
0
0
C
E
FFECT
0
4
4 4
4 4
4 4
4 4
4 4
4 4
4 4
4 4
4 4
4 4
4 4
4 4
4 4
4 4
4 4
4
Default - single underline
1
4
4 4
4 4
4 4
4 4
4 4
4 4
4 4
4 4
4 4
4 4
4 4
4 4
4 4
4 4
4 4
4
Single underline, fixed location 
below the baseline
2
4
4 4
4 4
4 4
4 4
4 4
4 4
4 4
4 4
4
4
4
4
4 4
4 4
4
Double underline, fixed location 
below the baseline
3
4
4 4
4 4
4 4
4 4
4 4
4 4
4 4
4 4
4 4
4 4
4 4
4 4
4 4
4 4
4 4
4
Single underline, font 
dependent (“floating”) location
4
4
4 4
4 4
4 4
4 4
4 4
4 4
4 4
4 4
4
4
4
4
4 4
4 4
4
Double underline, font 
dependent (“floating”) location
Default
off
Range
0 to 4 - (default is selected for values >4 or <0)
!