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

20-40 The Vector Group EN
Next order digit: 64ths place
(63-126)
63 + 8 = 71
CHR$ (71)
High order digit: 4096ths
place (191-254)
191 + 5 = 196
CHR$ (196)
Base 32. Encode all the low order
digits into the ASCII range 63 to
94. For a digit with value i, use
ASCII character CHR$(63 + i).|
Encode the highest order digit (or
the single digit in a one-digit
number) into the range 95 to 126.
21,050 ÷ 1024 = 20
remainder 570
570 ÷ 32 = 17
remainder 26
20 - 1024ths place
17 - 32nds place
26 - 1's place
Low order digit: 1's (range
63-94)
63 + 26 = 89
CHR$(89)
Next order digit: 32's place
(63-94)
63 + 17 = 80
CHR$ (80)
High order digit: 1024ths
place (95-126)
95 + 20 = 115
CHR$ (115)
Table 20-26 Procedure for determining base range (continued)