Compaq 5525B/31/32 manual PCL Level

Page 16

Chapter 2 Configuring the PCL-II Emulation with Control Codes

Table 3 lists the escape sequences you can use with the printer. Note that the brackets [ ] used in these escape sequences are for clarification purposes only (the brackets are not actually part of the commands).

Table 3. Line Printer Escape Sequences

Escape Sequence

Explanation

Page No.

 

 

 

PCL LEVEL I

 

 

 

 

 

ESCE

Software reset

18

 

 

 

ESCY

Display mode on

26

 

 

 

ESCZ

Display mode off

26

 

 

 

ESCz

Self test

26

 

 

 

ESC*rA

Raster graphics start

41

 

 

 

ESC*b[#]W[data]

Raster graphics data

41

 

 

 

ESC*rB

Raster graphics end

41

 

 

 

ESC&d[DEFGLMNOTUVW\}^]

Underline mode on

42

 

 

 

ESC&d[@CHIJKPQRSWXZ[]

Underline mode off

42

 

 

 

ESC&11L

Perf skip mode on

38

 

 

 

ESC&10L

Perf skip mode off

38

 

 

 

ESC&k[0,2]S

10 and 16.67 cpi

26

 

 

 

PCL LEVEL II

 

 

 

 

 

ESC[(,)] [#ID]

Primary/Secondary font symbol set

19

 

 

 

ESC[(,)]s[Cpi]H

Primary/Secondary font cpi

22

 

 

 

ESC&1[6,8]D

6/8 lpi

26

 

 

 

ESC&1[1-128]P

Page length in lines

37

 

 

 

ESC&1[1-128]F

Text length in lines

38

 

 

 

ESC&a[print position]L

Left margin set

39

 

 

 

ESC&a[print position]M

Right margin set

39

 

 

 

ESC&p[#]X

Transparent mode

39

 

 

 

ESC&a[#]R

Move to absolute row position

40

 

 

 

ESC&a[#]C

Move to absolute column position

40

 

 

 

ESC&a[+#]R

Move to relative row position

40

 

 

 

ESC&a[+/-#]C

Move to relative column position

40

 

 

 

16

Image 16
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 CompatibilityProgrammatic Printer Control General InformationLogical and Physical Pages Escape Sequences Combining Escape SequencesPCL Level Escape Sequences Line Printer Escape Sequences Explanation Programmable Reset Character Font Selection Symbol Set Selection OCR-A Print Pitch Selection Printing in the Hex 80 through Hex FF RegionCharacter Style Selection Character Density Selection PCL LevelHS DP NLQ Switching Character Fonts Print Mode Selection Display Functions ModeSelf-test Vertical Forms Control VFC Line SpacingStandard Computed 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 Bar Codes Character OverstrikeESC*z#V Bar Code Selection ESC*z#C Bar Code Label Placement ESC*z#H Bar Code HeightESC*z#Q Bar Code Header Control 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