Compaq 5525B/31/32 manual Underlining, Configuring the PCL-II Emulation with Control Codes

Models: 5525B/31/32

1 64
Download 64 pages 17.58 Kb
Page 42
Image 42
Underlining

Chapter 2 Configuring the PCL-II Emulation with Control Codes

The ESC*b#Y escape sequence allows you to skip multiple adjacent blank lines. The # of raster lines parameter is the decimal number of blank raster lines to skip. The size of the blank raster line to be skipped is equivalent to the currently set vertical raster graphics resolution. The advantage of using this escape sequence over sending multiple raster data transfer escape sequences containing blank raster lines is the escape sequence is processed faster and the paper is moved faster.

The ESC*rB sequence informs the printer that all the raster data has been transferred.

The following example illustrates how to send three lines of raster graphics to the printer.

ESC*rAESC*b2WDc

 

ESC*rA

Prepares printer for raster graphics

ESC*b2W

Indicates two bytes of data to follow

D

First byte of graphics data

cSecond byte of graphics data

ESC*b2WL@

ESC*b2W

Indicates two bytes of data to follow

L

First byte of graphics data

@Second byte of graphics data

ESC*b2W$+ESC*rB

ESC*b2W

Indicates two bytes of data to follow

$

First byte of graphics data

+Second byte of graphics data

ESC*rB

Raster graphics complete

Many systems perform an automatic line feed after each line of data. The system’s automatic line feed must be suppressed or else the raster lines will not be adjacent to each other. A file equation which specifies the line length (for example, RESC=-219) may be used to suppress the automatic line feed along with carriage control directives, such as “+”.

Graphics files must be raster graphics files in the format described here in order to print on the printer. To print vector graphics files, such as graphics files created for plotters, a vector-to-raster conversion must be performed on the data. (Vector-to-raster conversion is NOT a standard feature of the printer.) Text and graphics cannot mix on the same line due to grid conflicts. Raster graphics use 8-bit data.

Underlining

The ESC&dD sequence enables the automatic underlining mode. In this mode, each printed character and space is underlined until the printer receives an ESC&d@ sequence. The underline enhancement is disabled in the default state. Underlining only affects forward horizontal movement such as SP (space), DATA, or forward horizontal cursor moves; reverse movements such as BS (backspace), CR (carriage return) and negative horizontal cursor moves are not affected.

42

Page 42
Image 42
Compaq 5525B/31/32 manual Underlining, Configuring the PCL-II Emulation with Control Codes