Compaq 5525B/31/32 General Information, Programmatic Printer Control, Logical and Physical Pages

Models: 5525B/31/32

1 64
Download 64 pages 17.58 Kb
Page 14
Image 14
Chapter 2 Configuring the PCL-II Emulation with Control Codes

Chapter 2 Configuring the PCL-II Emulation with Control Codes

General Information

Programmatic Printer Control

Control codes and multi-character escape sequences are used to control the printers.

The printers execute command parameters in the order they are received. Therefore, the order of the parameters is significant. Unrecognized escape sequences are ignored in their entirety and may cause erroneous printing since the printer may be unable to perform the requested operation.

Logical and Physical Pages

The limits of the logical page determine the area in which printing can take place. Logical page length is set programmatically (in lines per page). Physical page length is set via the control panel and indicates the actual size of a single page. The physical page length cannot be changed programmatically. Refer to the User’s Manual for more information.

Table 2. Control Codes

Function

Symbol

Binary

Level

Description

 

 

 

 

 

 

 

 

 

 

Backspace

BS

1000

II

Move one column left.

 

 

 

 

 

Horizontal

HT

1001

V

Move the current active position to the next

Tab

 

 

 

tab stop on the current line. The tab stops are

 

 

 

 

at the left margin and every 8th column

 

 

 

 

between the left and right margins. If new

 

 

 

 

position crosses the right margin, the new

 

 

 

 

position is set to the right margin.

 

 

 

 

 

Line Feed

LF

1010

I

Move to next print line while maintaining

 

 

 

 

current column position

 

 

 

 

 

Form Feed

FF

1100

I

Move to first line at top of the next page while

 

 

 

 

maintaining current column position

 

 

 

 

 

Carriage

CR

1101

I

Move to the left margin on current print line

Return

 

 

 

 

 

 

 

 

 

Shift Out

SO

1110

I

Select following characters from the current

 

 

 

 

secondary character font until receipt of a

 

 

 

 

Shift In

 

 

 

 

 

Shift In

SI

1111

I

Select following characters from the current

 

 

 

 

primary character font until receipt of a Shift

 

 

 

 

Out

 

 

 

 

 

Escape

ESC

11011

I

The following characters are a special control

 

 

 

 

sequence

 

 

 

 

 

14

Page 14
Image 14
Compaq 5525B/31/32 General Information, Programmatic Printer Control, Logical and Physical Pages, Control Codes, Function