Instruction/ maintenance manual of the product 5525B/31/32 Compaq
Go to page of 64
5525B/31/32 Line Matrix Printer PCL ® -II Programmer’s Reference Manual.
.
5525B/31/32 Line Matrix Printer PCL ® -II Programmer’s Reference Manual P/N 4229 32-001.
Compaq ® ma kes no r epresen tations or w arranties of any ki nd regardi ng this material , includin g, but n ot limited to, impli ed warranti es of merc hantabili ty and fitnes s for a par ticula r purpose.
T radema rk Ackno wledge ments IBM and P roprinter are regis tered trade marks, and PC-DOS is a tra demark of Internati onal Bus iness Mac hines Corpo ration. Compaq is a regis tered trade mark of Compaq Comp uter Cor poration. Epso n is a regi stered tr ademar k of S eiko Eps on Corpo ration.
.
Table of Contents 1 Introduction ....... . ......... ........ ....... .. ......... ...... .. ......... . 9 About This Guide ................ ...... ............. ...... ....... ...... ....... ...... ....... ...... . 9 Warnings and Spec ial Informat ion .
Table of Contents Character Overstrik e .... ...... ............. ...... ....... ...... ....... ...... ....... ...... . 43 Bar Codes .......................... ....... ...... ...... ....... ...... ....... ...... ....... ...... . 43 US Postn et Barcodes .
9 1 Intr oduction About Thi s Gui de Your prin ter come s equipp ed with the standa rd Hewlett-P ackard ® Printer Control Lan guage (PCL ® - II) emu lation.
10 Chapter 1 Software Features Software Features The PCL-II emulat ion software provides the follow ing fea tures: • Graphi cs and a selecti on of p rint dens ities. Y ou ca n enable g raphics mode and s pecify a density m ode (dots per inch) . • Print Attr ibutes.
11 2 HP PCL-II Introduction This chapt er desc ribes the H P ® PCL-I I emulat ion host control codes that are support ed for yo ur 5525B /31/32 Ser ies print er. Emul ation refer s to the ab ility of a prin ter to exec ute the com mands of a partic ular prin ter control langu age.
12 Chapter 2 Introduction HP PCL-II Emulation De fault Settings The factor y settin gs for th e PCL-II e mulation m enu optio ns are s hown in Table 1 .
Printer Feature Set Compatibility 13 NOTE: The SFCC is the Special Function C ontrol Code. From the P-S eries protoco l, this code is sel ectable fro m the front panel. The default value i s hex 01. For the Prop rinter and Epson emulatio ns, the SFCC is always the ESC ( hex 1B) c haracter.
14 Chapter 2 Configuring the PCL-II Emulation with Control Codes General Information Program matic Printer Con trol Control c odes and multi -charact er esca pe seq uences a re used to contro l the printer s. The prin ters ex ecute co mman d param eters in the or der t hey ar e receiv e d.
Escape Sequences 15 Escape Se quences An esca pe seq uence co nsists of the E SC contr ol code followed b y one o r more ch aracter s in su ccessi on. Both t wo-ch aracter an d struc tured es cape sequenc es contr ol the prin ter. Two-cha racter escape sequ ences ta ke the form ES CX, where X is a char acter fro m the ASCII table (0 through ~) .
16 Chapter 2 Configuring the PCL-II Emulation with Control Codes Table 3 lists the escape sequ ences you can use with the prin ter. Note that the bracke ts [ ] use d in these escape sequen ces ar e for clar ificatio n purp oses only (the b rackets a re not ac tually p art of the com mands ).
Escape Sequences 17 PCL LEVE L II I ESC[(,)]s [0,1]S Italics for primary /secondar y font 22 ESC[(,)]s [0,1,-1]Q Density for primar y/seco ndary font 22 ESC& k4 S 12 cpi selec t ion 26 ESC*t[70, 1.
18 Chapter 2 Configuring the PCL-II Emulation with Control Codes Progr ammabl e Rese t The program mable reset esc ape seque nce (ES CE) ca uses the pr inter to eject paper to the top-of-fo rm (pos ition 0,0 ) if not a lready at top-of-for m. This comm and rese ts all c urrent p rinter co nfigurati on va lues to th e follow ing states.
Character Font Selection 19 Char acter Font Se lect ion The printe r can pri nt several differen t character sets (fon ts). By performin g a printer self-t est, you can se e whic h fonts are ins talled i n yo ur printer . You may specify any of th ese fonts from an a pplication.
20 Chapter 2 Configuring the PCL-II Emulation with Control Codes Symbol Set Select ion The printe r allows y ou to sel ect a symbo l set. A s ymbol s et is a s et of charac ters that ar e mapped t o certai n locations in the pr inter’s memory.
Character Font Selection 21 OCR-A 0O 7-Bit No 0 OCR-B 1O 7-Bit No 0 ISO Swe/Fin 0S 7-Bit No 0 ISO Spain 1S 7-Bit No 0 ISO Italian 0I 7-Bit No 0 ISO Portugu 4 S 7-Bit No 0 Lati n-1 0N 8- Bit N o 1 Lati.
22 Chapter 2 Configuring the PCL-II Emulation with Control Codes Printing in the Hex 80 through Hex FF Region The printe r exhibits differe nt behavi ors as it p rocesses characte rs in the he x 80 throug h FF range. B ehavior i s based upon the s ymbol set of the ac tive font.
Character Density Sel ection 23 Char acter Dens ity Selectio n (PCL Level III) Standar d-density print, hi gh-dens ity print, a nd high- speed draft p rinting can be spec ified u sing the following es.
24 Chapter 2 Configuring the PCL-II Emulation with Control Codes T able 5. A vailable Symbol Sets Name Code Density (Pitches) Roman-8 8U HS DP NLQ T urkish-8 8 T HS DP NLQ Arab-8 8 V HS(5,10) DP NLQ C.
Switching Character Fonts 25 NOTE: All fonts support the follow ing pitches unless otherwise no ted: (5, 10 , 12, 13. 3, 15, 16.67, 20). Switching Characte r Fonts Characte r fonts c an be acc essed using the Shift I n/Shif t Out (S I/SO) cont rol codes.
26 Chapter 2 Configuring the PCL-II Emulation with Control Codes Display Functions Mode (PCL Level I) The displ ay functio ns mode can be entered us ing the ES CY sequen ce.
Line Spa cing 27 Line Spacing Vertic al line s pacing of 6 or 8 L PI (lin es per i nch) ca n be sele cted e ither from the contr ol panel or remotel y using the ESC&l[ 6 or 8]D seq uence . When the printer i s reset, the vertic al line s pacing is as set fr om the c ontrol panel .
28 Chapter 2 Configuring the PCL-II Emulation with Control Codes *All es cape se quence s excep t ESC& l0V ref er to the l ogical page rathe r than the physic al page. This esca pe sequenc e causes a skip to the top of the next physical page (un less alre ady at top of page).
Programmable VFC 29 Programmable VFC Programm able VF C allows t he user t o specify p aper mov ement info rmation other than th e standard VFC definitio ns shown in Table 7 .
30 Chapter 2 Configuring the PCL-II Emulation with Control Codes Program mable VF C Using PC L Programm able VF C’ s using PCL seem to cause a lot of pr oblems a nd misunde rstandings . Most of the mis underst anding co ncerns the use of the escape s equence used to s et the VF C file.
Programmable VFC 31 A secon d method i nvolves only prov iding a “1” in C H3 where pri nt will oc cur. The program mer then s imply calls CH 3 and the bl ank lines are skipp ed. There sti ll is no fl exibil ity for addi ng or de leting li nes witho ut VFC modi fication , but line counting i s minim ized.
32 Chapter 2 Configuring the PCL-II Emulation with Control Codes Notice tha t for each l ine chan nel 3 is selected , this would s elect a single space ad vance .
Programmable VFC 33 • As an O CTAL number (one byte at a tim e) by prec eding the number w ith the % sign. • As a two or three cha racter mnemonic such a s BS or DC 1 (see Ap pendix B of the W orksta tion Config uration m anual).
34 Chapter 2 Configuring the PCL-II Emulation with Control Codes * DO NO T depre ss t he Contr ol Ke y o n these BOLDFACE ch ar acter s si nce they are pri ntabl e charac ters.
Programmable VFC 35 Example VFC Data Entry Methods The exampl e escap e sequence m ay be cr eated whi le the D ISPLAY FUNCTIONS key has be en enabled as shown below.
36 Chapter 2 Configuring the PCL-II Emulation with Control Codes Another method us ing a text editor wo uld be to do a CHANG E comm and replaceme nt to co nvert the c haracters to ASCII c haracters.
Logical Page Length Se lection 37 6. This escap e sequenc e must be sent to the printer before th e data by embedd ing in the applica tion or a s part of an ini tiali zation s tring. A programma ble or ha rdware RESET wi ll clear the VFC RAM causing the printer to re turn to the de fault VFC.
38 Chapter 2 Configuring the PCL-II Emulation with Control Codes Before c hanging t he page le ngth, it is recomm ended that a VFC se lect of channel 0 be pe rformed. This will bri ng the p rinter to th e top of the n ext physical page (un less the pr inter is a lready a t the to p of the phy sical page ).
Horizontal Margin Selection 39 Horizontal Margin Selection Abso lute left a nd right margin s electio n is acc omplis hed using the fol lowing escape seq uence s: ESC&a[ print positi on ]L Se t le.
40 Chapter 2 Configuring the PCL-II Emulation with Control Codes Cursor Con trol Abso lute and r elative cursor contr ol are prov ided for the pri nter.
Raster Graphic s 41 Raster G raph ics Graphics are se nt to the pr inter usi ng the foll owing esc ape sequ ences: ESC*t[70, 140]R Raster graphics resoluti on ESC*r# L Horizontal raster gr aphics r es.
42 Chapter 2 Configuring the PCL-II Emulation with Control Codes The ESC*b# Y escap e sequenc e allows y ou to skip m ultipl e adjace nt blank lines. Th e # of rast er lines parameter i s the dec imal num ber of bl ank raster lines t o skip.
Character O verstrik e 43 Charact er Overs trike To create special symbols and und erline selected portion s of you r output, one charac ter (maximum ) may be printed over anothe r on a ch aracter- by- charac ter or lin e-by-lin e basi s.
44 Chapter 2 Configuring the PCL-II Emulation with Control Codes NOTE: The Postne t Barcode t ypes 13 & 14 prin t 24 bars per inch. See the section on 256 x Postal Barcodes for inform ation on th e 20 bars per inch and 22.5 ba rs per inch Pos tal Ba rcodes.
Bar Cod es 45 Printing B ar C od es Generall y, sen ding bar c ode infor mation to th e printe r is perfo rmed in tw o steps: Step 1 : Selecti ng the bar code pr intin g specif ications ; bar co de type, h eight, and header contro l informati on. Step 2 : Moving the curs or to the desired label lo catio n and send ing the bar code data .
46 Chapter 2 Configuring the PCL-II Emulation with Control Codes Printing M ultiple L abels O n Th e S am e L ine Printing m ore than o ne lab el on the s ame line involv es no more than positio ning the cursor a nd send ing the data for each label to be prin ted.
Bar Cod es 47 NOTE: When a he ader is enable d, sendin g one l ine of inf ormat ion caus es the printe r to print two lines; one line contai ning the heade r along with any text you ma y have s ent in that line , and on e line co ntaining the bar cod e label.
48 Chapter 2 Configuring the PCL-II Emulation with Control Codes CODE 3 OF 9 A vari able-length data str ing of up to 32 ASCII c haract ers may be printed using th e Code 3 of 9 bar c ode. The string may be an od d or ev en length and may use any of the standard character s (specifi ed in MIL- STD-1189 ).
Bar Cod es 49 EAN8 A fixed -length data strin g of 7 ASCII ch aracters may be printed using th e EAN 8 bar co de. The str ing leng th must be 7 and may use any o f the stand ard charac ters 0 thro ugh 9.
50 Chapter 2 Configuring the PCL-II Emulation with Control Codes 20 Product V ariant n2+n2 21 Serial Number n2+an..2 0 22 HIBCC = Quantity , Date, Bat ch and Link n2+an..2 9 23 (**) Lot Nu mber (T ransitional U se) n3+n..19 240 Additional Product ID As signed By Manuf acturer n3+an.
Bar Cod es 51 344 (***) Width, Diameter , or 2nd Dimension, Inches, Logistics n4+n6 345 (***) Width, Diameter , or 2nd Dimension, Feet, Logistics n4+n6 346 (***) Width, Diameter , or 2nd Dimension, Y .
52 Chapter 2 Configuring the PCL-II Emulation with Control Codes (*)To indicate only year and month, DD must be filled with “00” (**) Plus one digit for length indication (***) Plus one digit for .
US P ostn et Ba rcodes 53 256X US POSTNET BAR CODE The US POSTNET Bar Code is a Compaq c haracter set whi ch meets the US Postal O ffice spec ificati ons for Pos tnet bar coding, i ncludin g the lates t Delivery Point Ba r Code , or DPBC. US POSTNE T Bar Codes p rint at 4.
54 Chapter 2 Configuring the PCL-II Emulation with Control Codes The printer does not calcul ate the check dig it, or automat ically gener ate frame bars.
4.0 CPI (2 0 Bars per inch) US P OSTNET Bar Code 55 Method 2: Frame Bar & “4”: {{} (1 01001) Characte rs “58”: } }}~{ (01010 1001 0) Characters “ 34”: ~`~{} ( 00110 0100 1) Characte rs.
56 Chapter 2 Configuring the PCL-II Emulation with Control Codes.
57 A Standar d ASCII Character Set KEY ASCII CHARACTER ESC 33 27 1B OCTAL DECIMAL HEX B 7 0 0 00 11 1 1 B6 0 B5 0 0 1 1 0 1 1 0 0 0 1 1 0 1 1 COLUMN 0 1 2 3 45 67 BITS ROW B4 B2 B3 B1 0 1 2 3 4 5 6 7 .
58 Appendix A.
59 Index A ASCII Charac ter Set, 57 Availa ble sym bol se ts Table, 24 B Bar Code Types Table, 43 Bar cod es PCL-II, 43 Bar Code , US POSTNET, 2 56X US POST NET Bar Code , 53 Binary da ta, printi ng P.
60 I Industrial 2 of 5 Bar Code , width, 48 Interlea ved 2 of 5 Bar Code , width, 48 Italic, c haracte r selec tion PCL-II, 22 L Labels, m ultip le Printing, 4 6 Levels, compatib le, PC L-II, 13 Line .
61 UPCA Bar Code , width, 48 UPCE Bar Code , width, 48 Uprig ht, char acter selecti on PCL-II, 22 US Postnet printin g che ck di git s, 52 US Po stnet bar c ode 4.0 cpi, 55 V Vertic al forms contro l PCL-II, 27 VFC Channel Definitio ns Table, 28 Z 11.
62.
.
1701 17 -001 A 5525B/31/32 Line Matrix Printer Compaq Computer Corporation P/N 42 293 2- 00 1.
An important point after buying a device Compaq 5525B/31/32 (or even before the purchase) is to read its user manual. We should do this for several simple reasons:
If you have not bought Compaq 5525B/31/32 yet, this is a good time to familiarize yourself with the basic data on the product. First of all view first pages of the manual, you can find above. You should find there the most important technical data Compaq 5525B/31/32 - thus you can check whether the hardware meets your expectations. When delving into next pages of the user manual, Compaq 5525B/31/32 you will learn all the available features of the product, as well as information on its operation. The information that you get Compaq 5525B/31/32 will certainly help you make a decision on the purchase.
If you already are a holder of Compaq 5525B/31/32, but have not read the manual yet, you should do it for the reasons described above. You will learn then if you properly used the available features, and whether you have not made any mistakes, which can shorten the lifetime Compaq 5525B/31/32.
However, one of the most important roles played by the user manual is to help in solving problems with Compaq 5525B/31/32. Almost always you will find there Troubleshooting, which are the most frequently occurring failures and malfunctions of the device Compaq 5525B/31/32 along with tips on how to solve them. Even if you fail to solve the problem, the manual will show you a further procedure – contact to the customer service center or the nearest service center