Compaq 5525B/31/32 manual Character Overstrike, Bar Codes, ESC*z#V Bar Code Selection

Page 43

Character Overstrike

Character Overstrike

To create special symbols and underline selected portions of your output, one character (maximum) may be printed over another on a character-by- character or line-by-line basis.

A character overstrike is accomplished using either the backspace control code or a carriage return with no line feed. The overstrike print line will be held in the print buffer and will be merged with the next line to form a single printed line with superimposed characters.

Attempting to print more than two characters in any one print location will result in a loss of data integrity. (Only the last two characters received will be retained.)

When the automatic underlining enhancement is used (ESC&dD), the underlined character is not considered an overstrike character. Therefore, if the underlining enhancement was used to underline a character, another character could still be printed over it without risking data loss.

Bar Codes

To print bar codes, escape sequences are sent to the printer specifying the type of code, bar code height, bar code header information, placement information, and bar code data. The following five escape sequences are used for bar code printing:

ESC*z#V Bar Code Selection

This sequence selects the type of bar code to be used in subsequent printing of bar code data. If a number other than those available is selected, the previously selected bar code type will be used. The following table lists the bar code types available and their corresponding value field numbers.

Table 10. Bar Code Types

Bar Code Type

Character Length

Value Field No.

 

 

 

 

 

 

Code 3 of 9 (default)

Variable

0

 

 

 

Industrial 2 of 5

Variable

1

 

 

 

Interleaved 2 of 5

Variable

4

 

 

 

UPC A

Fixed

8

 

 

 

UPC E

Fixed

9

 

 

 

EAN 8

Fixed

10

 

 

 

EAN 13

Fixed

11

 

 

 

UCC/EAN-128

Fixed

12

 

 

 

Postnet

Fixed

13, 14

 

 

 

Royal Mail

Variable

15, 16

 

 

 

43

Image 43
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 Related Product Information IntroductionSoftware Features HP PCL-II Switching Between the Emulations HP PCL-II Emulation Default SettingsPrinter Feature Set Compatibility Configuring the PCL-II Emulation with Control CodesProgrammatic Printer Control General InformationLogical and Physical Pages Combining Escape Sequences 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 PCL Level Character Density SelectionHS DP NLQ Switching Character Fonts Print Mode Selection Display Functions ModeSelf-test Vertical Forms Control VFC Line SpacingStandard Computed VFC Page Special VFC Considerations Programmable VFCExample Form Programmable VFC Using PCLChannel 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 SelectionText Length Vertical Margin Selection Perforation Skip ModeTransparent Print Data Horizontal Margin SelectionCursor Control ESC*b# of raster lines Y Raster GraphicsUnderlining Bar Codes Character OverstrikeESC*z#V Bar Code Selection ESC*zBar Code DataZ Bar Code Label Data ESC*z#C Bar Code Label PlacementESC*z#H Bar Code Height ESC*z#Q Bar Code Header ControlPrinting Bar Codes Printing Bar Codes With Text Printing Multiple Labels On The Same LineBar Code Number of Characters Sent Bar Code Width InformationCode 3 Royal Mail EAN8Additional Product ID Assigned By Manufacturer N3+an..30 Width, Diameter, or 2nd Dimension, Inches, Logistics N4+n6 Data Value Representation US Postnet BarcodesCPI 22.5 Bars per inch US Postnet BAR Code 256X US Postnet BAR Code2 3 4 5 6 7 8 9 CPI 20 Bars per inch US Postnet Bar Code Method CPI 20 Bars per inch US Postnet Bar CodeConfiguring 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