Compaq 5525B/31/32 manual Underlining

Page 42

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

Image 42
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 CompatibilityGeneral Information Programmatic Printer ControlLogical 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 Printing in the Hex 80 through Hex FF Region Print Pitch SelectionCharacter Style Selection Character Density Selection PCL LevelHS DP NLQ Switching Character Fonts Display Functions Mode Print Mode SelectionSelf-test Line Spacing Vertical Forms Control VFCStandard 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 Character Overstrike Bar CodesESC*z#V Bar Code Selection 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