Résumé du contenu de la page N° 1
®
PCL -II Programmer’s Reference Manual
5525B/31/32 Line Matrix Printer
Résumé du contenu de la page N° 2
Résumé du contenu de la page N° 3
5525B/31/32 Line Matrix Printer ® PCL -II Programmer’s Reference Manual P/N 422932-001
Résumé du contenu de la page N° 4
® Compaq makes no representations or warranties of any kind regarding this material, including, but not limited to, implied warranties of merchantability and fitness for a particular purpose. Compaq shall not be held responsible for errors contained herein or any omissions from this material or for any damages, whether direct, indirect, incidental or consequential, in connection with the furnishing, distribution, performance or use of this material. The information in this manual is subjec
Résumé du contenu de la page N° 5
Trademark Acknowledgements IBM and Proprinter are registered trademarks, and PC-DOS is a trademark of International Business Machines Corporation. Compaq is a registered trademark of Compaq Computer Corporation. Epson is a registered trademark of Seiko Epson Corporation. Hewlett-Packard, HP and PCL are registered trademarks of Hewlett-Packard Company. IGP, PGL, LinePrinter Plus, and Printronix are registered trademarks of Printronix, Inc. QMS is a registered trademark, and Code V is a tradema
Résumé du contenu de la page N° 6
Résumé du contenu de la page N° 7
Table of Contents 1 Introduction............................................................. 9 About This Guide................................................................................. 9 Warnings and Special Information ................................................ 9 Related Product Information ......................................................... 9 Software Features ............................................................................... 10 2 HP PCL-II ...............
Résumé du contenu de la page N° 8
Table of Contents Character Overstrike ..................................................................... 43 Bar Codes ..................................................................................... 43 US Postnet Barcodes.................................................................... 52 4.0 CPI (20 Bars per inch) US POSTNET Bar Code .................... 55 A Standard ASCII Character Set ............................. 57
Résumé du contenu de la page N° 9
1 Introduction About This Guide ® Your printer comes equipped with the standard Hewlett-Packard Printer ® Control Language (PCL -II) emulation. This manual explains the emulation in detail. The Programmer’s Reference Manual is designed so that you can quickly find ® the information you need to use and configure your Compaq 5525B/31/32 Series printer. Warnings and Special Information Read and comply with all information highlighted under special headings: WARNING Conditions that could harm yo
Résumé du contenu de la page N° 10
Chapter 1 Software Features Software Features The PCL-II emulation software provides the following features: • Graphics and a selection of print densities. You can enable graphics mode and specify a density mode (dots per inch). • Print Attributes. Characters can be bold, italic, double high, double wide, etc. • Page Formatting. PCL-II commands allow you to set line spacing, page length, and vertical forms control. • Font Typefaces. Also referred to as print modes. The five typefaces include
Résumé du contenu de la page N° 11
2 HP PCL-II Introduction ® This chapter describes the HP PCL-II emulation host control codes that are supported for your 5525B/31/32 Series printer. Emulation refers to the ability of a printer to execute the commands of a particular printer control language. A printer control language is the coding system used to convey, manipulate, and print data. It contains character codes and command sequences that configure the emulation. In this manual, the terms emulation, printer protocol, and pri
Résumé du contenu de la page N° 12
Chapter 2 Introduction HP PCL-II Emulation Default Settings The factory settings for the PCL-II emulation menu options are shown in Table 1. Host control codes can override the settings for these menu options. Table 1. PCL-II Menu Option Factory Settings Parameter Default Setting Primary/Secondary Character Set ID 0 Symbol Set Roman-8(8U) Pitch 10.0 cpi Density Data Processing Page Length Representation Inches/Page Graphics Density 60 dpi Perforation Skip Disable Display Functions Disable LF af
Résumé du contenu de la page N° 13
Printer Feature Set Compatibility NOTE: The SFCC is the Special Function Control Code. From the P-Series protocol, this code is selectable from the front panel. The default value is hex 01. For the Proprinter and Epson emulations, the SFCC is always the ESC (hex 1B) character. Configuring the PCL-II Emulation with Control Codes The remainder of this chapter describes the PCL-II printer control language codes that may be sent from a host computer attached to the printer. The escape (ESC) con
Résumé du contenu de la page N° 14
Chapter 2 Configuring the PCL-II Emulation with Control Codes General Information Programmatic Printer Control Control codes and multi-character escape sequences are used to control the printers. The printers execute command parameters in the order they are received. Therefore, the order of the parameters is significant. Unrecognized escape sequences are ignored in their entirety and may cause erroneous printing since the printer may be unable to perform the requested operation. Logical and
Résumé du contenu de la page N° 15
Escape Sequences Escape Sequences An escape sequence consists of the ESC control code followed by one or more characters in succession. Both two-character and structured escape sequences control the printer. Two-character escape sequences take the form ESCX, where X is a character from the ASCII table (0 through ~). Structured escape sequences take the following form: ESCXy[parameter]Z This sequence is explained below: ESCXy Prefix. This part of the escape sequence indicates that the escape
Résumé du contenu de la page N° 16
Chapter 2 Configuring the PCL-II Emulation with Control Codes Table 3 lists the escape sequences you can use with the printer. Note that the brackets [ ] used in these escape sequences are for clarification purposes only (the brackets are not actually part of the commands). Table 3. Line Printer Escape Sequences Escape Sequence Explanation Page No. PCL LEVEL I ESCE Software reset 18 ESCY Display mode on 26 ESCZ Display mode off 26 ESCz Self test 26 ESC*rA Raster graphics start 41 ESC*b[#]W[dat
Résumé du contenu de la page N° 17
Escape Sequences Table 3. Line Printer Escape Sequences (continued) Escape Sequence Explanation Page No. PCL LEVEL III ESC[(,)]s[0,1]S Italics for primary/secondary font 22 ESC[(,)]s[0,1,-1]Q Density for primary/secondary font 22 ESC&k4S 12 cpi selection 26 ESC*t[70,140]R Raster graphics vertical and horizontal dpi 41 selection ESC*r[60,70,120,140]L Raster graphics horizontal dpi selection 41 ESC*r[72,144]V Raster graphics vertical dpi selection 41 ESC&10V Move to TOF of physical page, VFC chann
Résumé du contenu de la page N° 18
Chapter 2 Configuring the PCL-II Emulation with Control Codes Programmable Reset The programmable reset escape sequence (ESCE) causes the printer to eject paper to the top-of-form (position 0,0) if not already at top-of-form. This command resets all current printer configuration values to the following states. The printer remains on-line after a programmable reset. When the printer is reset, it is set to a known state as follows: • Primary and secondary character sets (fonts) as configured f
Résumé du contenu de la page N° 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 cont
Résumé du contenu de la page N° 20
Chapter 2 Configuring the PCL-II Emulation with Control Codes Symbol Set Selection The printer allows you to select a symbol set. A symbol set is a set of characters that are mapped to certain locations in the printer’s memory. Symbol sets differ from one another in the characters contained in the set and in their locations within memory. The default symbol set is that of the default font specified from the control panel. The following escape sequences are used to specify the primary and se