HP (Hewlett-Packard) 900 Printer User Manual


 
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
DJ600
DJ610C
DJ660C
DJ670C
DJ680C
DJ690C
DJ695C
DJ810C
DJ830C
DJ850C
DJ870C
DJ880C
DJ890C
DJ895C
DJ970C
HP2000C
EFFECT
0
44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44
Default - single underline
1
44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44
Single underline, fixed location
below the baseline
2
44 44 44 44 44 44 44 44 44 44 44 44 44
Double underline, fixed location
below the baseline
3
44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44
Single underline, font
dependent (“floating”) location
4
44 44 44 44 44 44 44 44 44 44 44 44 44
Double underline, font
dependent (“floating”) location
Default
off
Range
0 to 4 - (default is selected for values >4 or <0)
!