Compaq 5525B/31/32 manual Character Font Selection

Page 19

Character Font Selection

Character Font Selection

The printer can print several different character sets (fonts). By performing a printer self-test, you can see which fonts are installed in your printer. You may specify any of these fonts from an application. On the self-test printout, each available character font is printed along with a parameter number to the left of the printed font.

There are two ways to select a font from those available:

By entering the parameter number via the control panel (function 1 = primary character set; function 2 = secondary character set)

By specifying the attributes of the desired fonts using escape sequences.

The list below contains the font attributes, listed in order of descending priority:

Symbol Set (ASCII, Roman-8, Line Draw, etc.)

Pitch (10,12,13.3,15,16.67, 20)

Style (Upright/Italic)

Density (High-Speed, Near Letter Quality)

The attributes are specified for both primary and secondary fonts so that you may switch between the primary and secondary fonts using the Shift Out (SO) and Shift In (SI) control codes. Notice that the only difference between the primary and secondary font escape sequences is the direction of the parentheses. The left parenthesis “(“ is used for primary fonts and the right parenthesis “)” for secondary. Upon receiving these font attribute commands, the printer selects the best fitting font from those available.

It is not necessary to specify all four font attributes when selecting a font. If any of the attributes are not specified, the printer defaults to those attributes last specified (or, if none have been specified, from the control panel default font). For example, if you wish to select a font without selecting a print pitch, the print pitch last specified will be in effect. If you had not previously specified a print pitch, the printer will use the print pitch of the default font that was last specified from the control panel (provided that the particular symbol set selected is available in the current pitch).

The escape sequences used for specifying the character font attributes are explained in the following paragraphs.

19

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