Compaq 5525B/31/32 manual EAN8, Royal Mail

Page 49

Bar Codes

EAN8

A fixed-length data string of 7 ASCII characters may be printed using the EAN 8 bar code. The string length must be 7 and may use any of the standard characters 0 through 9. If a non-valid character or string length is used, a blank non-readable bar code will be printed; non-valid characters are not substituted or deleted. The width of the printed bar code is not variable and is 1.25 inches.

EAN13

A fixed-length data string of 12 ASCII characters may be printed using the EAN 13 bar code. The string length must be 12 and may use any of the standard characters 0 through 9. If a non-valid character or string length is used, a blank non-readable bar code will be printed; non-valid characters are not substituted or deleted. The width of the printed bar code is not variable and is 1.56 inches.

Royal Mail

A variable length data string may be printed using the “Royal Mail 4 State Customer Code”. The string may use any character from 0 through 9 and alpha characters A through Z. A complete bar code consists of a set of distinct bars and spaces for each character followed by a checksum character and enclosed by a unique start bar, stop bar and quiet zone. A second version of the Royal Mail barcode prints with no stop bar, start bar or checksum character.

UCC/EAN 128

The UCC/EAN-128 bar code contains special characters which use unique codes to identify the leading and trailing end of the bar code. EAN/UCC 128 supports a full ASCII character set and provides standard alphanumeric keyboard characters and control and special characters.

The UCC/EAN-128 data structure requires an Application Identifier (AI) at the beginning of barcode data. Each AI determines the format and length of the data which follows. Refer to Table 12 for more detail.

Table 12. UCC/EAN-128 Application Identifiers

Application

Content

Format

Identifier (AI)

 

 

 

 

 

 

 

 

00

Serial Shipping Container Code

n2+n18

 

 

 

02

Item Num. of Goods Within Another Unit

n2+n14

 

 

 

10

Batch or Lot Number

n2+an..20

 

 

 

11 (*)

Production Date (YYMMDD)

n2+n6

 

 

 

13 (*)

Packaging Date (YYMMDD)

n2+n6

 

 

 

15 (*)

Sell By Date (Quality) (YYMMDD)

n2+n6

 

 

 

17 (*)

Expiration Date (Safety) (YYMMDD)

n2+n6

 

 

 

49

Image 49
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*z#H Bar Code Height ESC*z#C Bar Code Label PlacementESC*z#Q Bar Code Header Control ESC*zBar Code DataZ Bar Code Label DataPrinting 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