Two-Byte HP-GL/2 Support

Label Mode

Command

One-byte applications (which support non-orthogonal rotation, scaling, and shearing of text) have long been able to use HP-GL/2 to print to HP LaserJet printers. Two-byte applications have not had this capability until the introduction of HP LaserJet 5 and 5M printers.

The capability of 2-byte applications (which support non-orthogonal rotation, scaling, and shearing of text) to print to HP LaserJet printers using HP-GL/2 is provided by the Label Mode (LM) command.

Determines how the Label (LB) and Symbol Mode (SM) commands interpret characters. Used for printing a 2-byte character set such as WinJ-DBCS, GB2312, or Big-5.

Syntax:

LM(mode,[row number]:)

Parameter

Format

Functional

Default

 

 

Range

 

mode

clamped

0, 1, 2, or

0 (8-bitmode)

 

integer

3

 

row number

clamped

0 to 255

0

 

integer

 

 

2-98 Printer-Specific Differences

Page 134
Image 134
HP L5 manual Two-Byte HP-GL/2 Support Label Mode Command, Syntax, Parameter Format Functional Default