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

Page 14

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

Image 14
Contents 5525B/31/32 Line Matrix Printer Page PCL-II Programmer’s Reference Manual Page Trademark Acknowledgements Page Table of Contents Standard Ascii Character Set Introduction Related Product InformationSoftware Features HP PCL-II HP PCL-II Emulation Default Settings Switching Between the EmulationsConfiguring the PCL-II Emulation with Control Codes Printer Feature Set CompatibilityLogical and Physical Pages General InformationProgrammatic Printer Control Escape Sequences Combining Escape SequencesPCL Level Escape Sequences Line Printer Escape Sequences Explanation Programmable Reset Character Font Selection Symbol Set Selection OCR-A Character Style Selection Printing in the Hex 80 through Hex FF RegionPrint Pitch Selection Character Density Selection PCL LevelHS DP NLQ Switching Character Fonts Self-test Display Functions ModePrint Mode Selection Standard Computed VFC Line SpacingVertical Forms Control VFC Page Programmable VFC Special VFC ConsiderationsProgrammable VFC Using PCL Example FormChannel Line Configuring the PCL-II Emulation with Control Codes Programmable VFC Ascii CTL MSB/LSB Example VFC Data Entry Methods \CHANGEQ 7 to 00 \CHANGEQ 8 to Logical Page Length Selection Logical Page Length SelectionPerforation Skip Mode Text Length Vertical Margin SelectionHorizontal Margin Selection Transparent Print DataCursor Control Raster Graphics ESC*b# of raster lines YUnderlining ESC*z#V Bar Code Selection Character OverstrikeBar Codes ESC*z#Q Bar Code Header Control ESC*z#C Bar Code Label PlacementESC*z#H Bar Code Height ESC*zBar Code DataZ Bar Code Label DataPrinting Bar Codes Printing Multiple Labels On The Same Line Printing Bar Codes With TextBar Code Width Information Bar Code Number of Characters SentCode 3 EAN8 Royal MailAdditional Product ID Assigned By Manufacturer N3+an..30 Width, Diameter, or 2nd Dimension, Inches, Logistics N4+n6 US Postnet Barcodes Data Value Representation256X US Postnet BAR Code CPI 22.5 Bars per inch US Postnet BAR Code2 3 4 5 6 7 8 9 CPI 20 Bars per inch US Postnet Bar Code CPI 20 Bars per inch US Postnet Bar Code MethodConfiguring the PCL-II Emulation with Control Codes Standard Ascii Character Set Appendix a Index Bar Code Underlining PCL-II Upca Page Page 5525B/31/32 Line Matrix Printer