HP (Hewlett-Packard) PCL Photo Scanner User Manual


 
10-4 User-Defined Symbol Sets EN
Define Symbol Set
This command defines the characters and character mapping for a
user-defined symbol set.
E
C
( f # W [symbol set definition data]
# = Number of bytes in symbol set definition
Default = n/a
Range = 0 - 32767
If a user-defined symbol set is already present in the printer and a
new, valid symbol set is downloaded with the same Symbol Set ID
Code, then the old symbol set is deleted. If an internal symbol set with
the same ID code exists, it is overridden by the new symbol set. If the
symbol set definition is invalid, the command is ignored. If there is
insufficient memory to create the symbol set, the symbol set is
discarded.
Note Send the Symbol Set ID Code command prior to the Define Symbol
Set command to assign an ID code for the user-defined symbol set. If
the Symbol Set ID Code command is not sent, the last code sent is
used. If none have been sent, then the default (0) is assigned.
The data format for the user-defined symbol set is shown in
Table 10-1.
Table 10-1 User-Defined Symbol Set Defintion Format
Byte 15 - MSB8 7LSB - 0
0 Header Size (18)
2 Encoded Symbol Set
Designator
4 Format Symbol Set Type
6First Code
8 Last Code
10 Character Requirements
Hdr
Size
Symbol Map [Last Code — First Code + 1]
M