Compaq 5525B/31/32 manual CPI 20 Bars per inch US Postnet Bar Code

Page 55

4.0 CPI (20 Bars per inch) US POSTNET Bar Code

 

Method 2:

 

Frame Bar & “4”:

{{}

(1 01001)

Characters “58”:

}}}~{

(01010 10010)

Characters “34”:

~`~{}

(00110 01001)

Characters “88”:

{}}~{

(10010 10010)

Characters “44”:

}~{{}

(01001 01001)

Characters “79”:

{~`{~

(10001 11000)

“9” & Frame Bar:

{{}

(10100 1)

Text sent to Printer:

SO{{}}}}~{~`~{}{}}~{}~{{}{~`{~{{}SI

For both examples, SO = Shift Out (hex 0E), and SI = Shift In (hex 0F).

4.0 CPI (20 Bars per inch) US POSTNET Bar Code

FONT SELECTION

You may select either of the US POSTNET character sets from the front panel, or through escape sequences. (Refer to your User’s Manual for details on front panel menus.)

The following escape sequence will configure the 4.0 cpi POSTNET BAR CODE as a secondary font:

ESC)0K

ESC)0KESC)s4.0H

The sequence above sets the secondary font symbol set to 4.0 cpi POSTNET BAR CODE, and sets the pitch to 4.0 cpi. Once the Secondary character set is configured for 4.0 CPI Postnet Bar Codes, the Shift Out command can be used to activate the bar codes:

Shift Out:

hex 0E

After the bar code is printed, the normal print mode is activated by using the Shift In command:

Shift In:

hex 0F

NOTE: It is recommended setting the US POSTNET Bar Code character set as the secondary set, with the normal operation mode as the primary font.

Perform the following steps to determine the check digit for 45834-8844-70:

1.Calculate the check digit:

Add the digits of the postal code: 4+5+8+3+4+8+8+4+4+7+0 = 51

2.Subtract from the next highest multiple of ten:

60 - 51 = 9

The check digit is 9.

Text sent to Printer:

SONUL458348844709SI

SO = Shift Out (hex 0E)

NUL = Nul (hex 00)

SI = Shift In (hex 0F)

55

Image 55
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