HP PCL/PJL reference (PCL 5 Printer Language) - Technical Reference Manual Part II

22-44 The Line and Fill Attributes Group EN
UL, User-Defined Line Type
This command creates line types by specifying gap patterns, which
define the lengths of spaces and lines comprising a line type.
UL index [,gap1,...,gap20;]
or
UL [;]
The UL command allows you to define and store your own line types.
The command does not itself select a line type. Use the LT command
to select the line type once you have defined it with UL.
z No Parameters — Defaults all line types (refer to the LT
command).
z Index — Identifies the number of the line type to be redefined.
Specifying an index number without gap parameters sets the line
type identified by the index to the default pattern for that number.
The index number may not be 0.
The index parameter uses absolute values, so (UL-n) is
the same as (ULn). Redefining a standard fixed line type
automatically redefines the corresponding adaptive line type.
z Gaps — Specify alternate pen-down and pen-up stretches in
the line type pattern; if gaps are numbered starting with 1, odd
numbered gaps are pen-down moves, even numbered gaps are
pen-up moves. The first gap is a pen-down move. Gap values are
converted to percentages of the LT commands pattern length
parameter.
A maximum of 20 gaps are allowed for each user-defined line
type. Gap values must be non-negative; a gap value of zero
produces a dot if specified for an odd numbered gap that is
preceded or followed by a non-zero even-numbered gap.
The sum of the gap parameters must be greater than zero.
Parameter Format Functional Range Default
index clamped
integer
1 through 8
gaps clamped
real
0 to 32767 default line
types