\ a

fis Res, REE prickles ftom Table: of Commonly: Used Print Features LM PACKARD If switch 5 is DOWN (HP mode): ‘HP 2225C

Escape Sequence ASCII ASCII or Control Decimal Hexadecimal Code Equivalent Equivalent

Print Feature

| PRINT PITCHES Normal (default) (12 cpi, 80 cpl)

\jESC] & kOS

ThinkJet

127, 38, 107, 48, 83 | 1B, 26, 6B, 30, 53

The Personal Printer from Hewlett-Packard

Expanded (6 cpi, 40 cpl) | & k1S | 27, 38, 107, 49, 83 | 1B, 26, 6B, 31, 53 Compressed (21.3 cpi, 142 cpl) & k2S | 27, 38, 107, 50, 83 1B, 26, 6B, 32, 53 REFEREN Expanded-Compressed (HK Hit ce A , | 6 & (10.7 cpi, 71 cpl) & k3S | 27, 38, 107, 51, 83 1B, 26, 6B, 33, 53 | CE ) ANUAL BOLD MODE Bold mode on | | 14 Bold mode off (default) 115

| UNDERLINE Underline on Underline off (default)

[ESC] & dD | [Esc] & d @

| 27, 38, 100, 68 27, 38, 100, 64

If switch 5 is UP (Alternate mode):

Escape Sequence ASCII ASCII or Control Decimal Hexadecimal Print Feature Equivalent Equivalent

| PRINT PITCHES | Expanded on rLN OE Expanded off (default) | [cn 14 Compressed on Cc OF Compressed off (default) | [ct.R 12 Expanded-compressed | on | [crLN] 14, 15 OE, OF Expanded-compressed | off (default) 20, 18 14, 12 BOLD MODE | | Bold mode on E 27, 69 11B, 45 Bold mode off (default) F 127, 70 1B, 46 UNDERLINE | | Underline on | - ] | 27, 45, 49 11B, 2D, 31

Underline off (default) 0 | ‘1B, 2D, 30

| | 27, 45, 48

NOTE When reading this manual, be very careful to not confuse O (upper- case oh) with 0 (zero) or / (lowercase ell) with 1 (one).

02225-90012 . Printed in Singapore CP/04/84

HP 2225C ThinkJet

The Personal Printer from Hewlett-Packard

a)

Reference Manual Lg

am

April 1984

| ;

02225-90012

¢

¢

Printed in Singapore

"AAA AAA A AAARAARARRRABRHRADMH UW RWE FT MM

= 2 we =; = oxy? a = 2 oa wa = 2 « = < « = as a

a

t > «= - = Table of Contents = = GENERAL INFORMATION = oe How to Use Your Reference Manual ........- Neve een oe eS vii CHAPTER1 SETTING UP YOUR PRINTER ..........------------ 1-1 ge me Power for the Printer .......-.--e-eee eee reereees Brae VENuR Deere 1-1 Sis: Glace Swe 6 kc licens sate sco SS kee ee as 1-2 i wa Connecting the Printer Cable ......-..+-+++eeesere ere teererc es 1-3 i* Loading the Print Head Cartridge .......---+++++eerrer eres .. 14 a Types Of Paper, 65 eee een ss eine et tage tener aes tt tte aes Loading Fanfold Paper ....-..----+--++> ere A gakaliten swe an § 1-6 : m « Loading Single Sheet Paper ......--------- i gE Sanne een Seay . 1-8 ) Prvcasie GUE yc bs Kw do Sic zoe MOMeI ee Be SU ER Cem erin rw ae 6 1-10 nel Power (Red) Light ........--++-++-+:- Sh een 5! eles ease SOMONE ia 1-11 a al Line Feed Button ....... Fas DN Sce kee 5 GALA Sek ee ates 1-11 | Form Feed Button .........---+--+++' ec er arae oe eee 1-12 &- = belting Thseel Form’ ,.i5. 6. ---s- ++ -staws pine heen a 1-12 Attention (Yellow) Light ........ in RES < s wha wee ewes eee ee 1-12 -. 8 Printings Gell Test oo 5 ches eee eee stot e et not eee nede te eee eys 1-13 a Ready to Print ........- Meee ee ds Noe eee he 1-13 | = CHAPTER 2 USING PRINT FEATURES ............----------->: 2-1 | Introduction to Control Codes and Escape Sequences .....-----. 2-1 . be ae Control Sequence Modes .....-------+eeeecrereseetettr rset 2-3 Drier Has ko 6a eh Al eee ess ee eee Ne ee TP ge tas ees 2-4 - ws lid Print 45.0060t a eC ce aes ee 2-5 Dari no) hd kn kee le ce ts eee as Woe ne tga 299 2-6 & Mixing Modes . 2.62.2... 250 cee cence eecen ees seapalehyynae css 2-6 es Perforation Skip <5. 2.0605. eee bene cre ses ce tieehiat Saba is 2-7 é. et Page Length ...... ee te whe ince b wae a ten oo alae ke ew ee 2-8 | Line Spacing <<... 26.06 sence. s ees eee BA ad pals ea ee a a 2-9 Gq S cuapTeR3 MORE ON PRINT FEATURES........-...----------- 3-1 Positioning the Print on the Page .......---+--+++-+++ TUE ge es 3-1 &. ou Charette. 6 oy i ays ob erg ee toe se Vee AOI Vie cette hee Sones) te ee ees aly aes a 3-2 s. im Selecting Unidirectional or Bidirectional Printing ..... eames es 3-6 End of Line Wrap-Around ......... oo ep Ua he ui wining’ So wing © wee 3-7 i ae Linking Escape Sequences: ~....-++-+2- 600s reer terete scene te 3-7 - (4 Display Functions Mode ...-..---++-+++++>: Leena ees er 2 i Sy, ete ea ae a a ck > wenn n ae Be ge 8 ae ager he 8 3-8 & a Pacate eh a Ge aa oe ys ed # a eee os «sie ene emo | 3-9 Automatic Line Termination Sy Re MR ORE ey Ree SOTERA URE 2

Bae mT pal am

CHAPTER 4 MAINTENANCE AND TROUBLESHOOTING Environmental Conditions ....... Haar eO a, ISM ote es acti Seis gay Maintenance of the Print Head Cartridge ..... see SON ame 8 Maintenance of the Printer ........- ces eect ete ee te ome ee ree nes Pine Remiacerent oo. 555 5. es rae hig eee ne es oe en tae ae Troubleshooting ......---+-+eeeereees ance es i Gem cag oS bia Potential for Radio/Television Interference .....----++++srrrrree

oe es gan a ea cee we ee Cate ae eer Ss A-1 Appendix A: Mode Select eres i Seg see ee se ees ae A-1 Appendix B: Table of HP Mode Print Features ....-.-. abe nl . B-l Appendix C: Table of Alternate Mode Print Features C-1 Appendix D: Character Sets ....---- Cees cole eae vee oy Appendix E: Changing the Fuse or Line Voltage ......---4-+0-5: Appendix F: Parallel Interface Specifications ....-.--+++++eseeee: Appendix G: List of Accessories and Supplies ......--+---- yee. Appendix H: Warranty and Service Information ....... ao oe

General Information

Congratulations on your purchase of the Hewlett-Packard 2225C ThinkJet | Printer. Your printer is designed to give you years of trouble-free operation. Its small footprint uses little precious desk space. However, do not let its size fool vou. It is fast (150 characters per second), intelligent, and offers a wide variety of easy-to-use print features.

Trademarks: IBM/International Business Machines Corporation Apple/Apple Computer Inc. Radio Shack/Radio Shack, a division of Tandy Corporation Epson/EPSON, Shinshu Seiki Co., Ltd. Microsoft/Microsoft, Inc.

iia aT 5 A Rae ae ahaa DE oa

. oe

SP ae,

HP 2225C ThinkJet Printer

The versatility and convenience of your printer are enhanced by the quiet- ness of its ink jet printing. The ink jet print head cartridge contains sufficient es ink to print approximately 500 pages. The cartridge is completely disposable ~ and easy to replace. In addition, the HP 2225C printer uses a standard parallel printer interface to communicate with many different computers.

To set up your printer you will need a printer cable. You should have

obtained a printer cable with either your computer or your parallel printer } interface card. If you do not have one, contact your Hewlett-Packard dealer or an authorized sales representative.

| 4 r + a= om “, pees } = 4 !

an wi

General infor i

How to Use Your Reference Manual

Chapter 1, “Setting Up Your Printer,” provides all of the information you need to begin operating your printer.

Chapters 2 and 3, “Using Print Features” and “More on Print Features,” describe how to use the many advanced print features of the HP 2225C printer.

Chapter 4, “Maintenance and Troubleshooting,” offers easy-to-use tips on how to keep your printer running smoothly.

The appendices contain reference guides where you can quickly find infor- mation about your printer. Also included in the appendices are the list of accessories and information on warranty and service.

viii

cage h, Se a fe is Bee je ae ae bie pata F Stdroee ugh co le Lance eg Mca na. a me ea iT 7 ee ee Re ae ee ee es | wig: st ial ek ties ea Front = ee a ot Ae ol Far pene: its eg

ie

Ee:

errk paras aes Ps ie = 24 / v A ce ay P ete fae 5 oat eae cena i ae ae ae athe eee - ere 2 Be cae ee

ene | ay be be

Kis r " = - -

waa

Chapter 1

Setting Up Your Printer

i

Your HP 2225C ThinkJet Printer was carefully inspected before shipment. Verify that each of the items listed below is present.

° an ink jet print head cartridge a packet of fanfold paper e the owner's manual * a paper separator © a power cord ¢ a warranty card

aw WW

im mw Wm W

Optional and replacement accessories are listed in Appendix G.

You are now ready to set up your printer with your computer. In doing so, keep in mind the following guidelines:

¢ Place the printer on a flat, level surface.

» Choose an area that is relatively free of dust and dirt.

¢ Avoid operating your printer at temperatures above 104°F (40°C) and below 50°F (10°C).

~ Power for the Printer Figures 1-1 and 1-2 show the two possible rear panel configurations for the HP 2225C printer.

n

POWER CORD MODE SELECT SWITCHES

sa : RECEPTACLE es

A

Figure 1-1 United States Rear Panel

POWER CORD RECEPTACLE

REQUIRED VOLTAGE

Figure 1-2 International Rear Panel 1-1

5 . ae . To r = 7 w a ls ® +=

————EEE en =

_ Chapter 1: so, Your Printer

If the rear panel of your printer looks like Figure 1-1, you must power your printer from a 120 volt AC, 50/60 Hz, outlet. If the rear panel of your printer looks like Figure 1-2, the required line voltage is visible through the small window in the cover of the fuse box. Printers with a rear panel such as Figure 1-2 can be configured to operate from several different line voltages. If you need to change the fuse in your printer or configure it for a different

line voltage, refer to the instructions in Appendix E.

WARNING

Your printer may be damaged if you attempt to power it from an incorrect voltage.

To connect the printer to a power outlet, plug one end of the power cord into the receptacle on the rear panel of the printer and plug the other end into an

appropriate outlet.

Mode Select Switches

On the rear panel of your printer there are 8 switches which allow you to configure your printer so that it will work with almost any computer sys- tem. These switches are numbered from 1 (closest to the power switch) to 8 (farthest from the power switch).

Table 1-1 contains switch settings for several computer systems. If your é computer system is not ‘ncluded in the table, or the format of your printouts ‘SS is incorrect, refer to Appendix A.

Table 1-1 Mode Select Configuration Guide (8¥2" x 11” paper, English language)

Switch Settings 1 2 2 A 5 6 is

Computer

down down down down up up down up up down up down

|down down down down up down \down up down | up down down

| Hewlett-Packard | IBM PC Apple | Radio Shack

NOTE The printer reads the switch settings only when it is first turned on. Therefore if you change any of the switch settings, you must turn the printer off for several seconds and back on before printing.

You cannot damage your printer by setting the switches incorrectly.

Chapter 1: Setting Up oe

The mode select switches can be used to customize your printer for applica- tions such as languages other than English or 12” paper. See Appendix A for more details.

If switch 5 is up, your printer will work with most software which expects one of the following printers:

¢ Epson MX-80

¢ Epson MX-100

¢ IBM 80 CPS Printer

¢ IBM Graphics Printer

If switch 5 is down, your printer will work with most software which either does not specify a printer or specifies a Hewlett-Packard printer. ©

Connecting the Printer Cable

To use your printer with your computer, your computer must be equipped with a parallel printer interface port. You should have obtained a printer cable with either your computer or your parallel printer interface card. If

ou do not have a printer cable for your computer, contact your Hewlett- Packard dealer or an authorized sales representative.

Insert the end of your printer cable into the connector on the rear panel of , your printer and snap the two wire clips of the printer connector onto the - end of the cable as shown in Figure 1-3.

WIRE CLIPS

Figure 1-3 Printer Cable Connection

1-3

cali aes = Se aS ee a eS ee eee eee ee se ; : 5 . ¥

Chapter 1: seu Your Printer

Loading the Print Head Cartridge

Remove the print head cartridge and the absorber from their container, taking care not to touch the face of the print head cartridge.

Open the front cover of the printer and insert the absorber into the holder as shown in Figure 1-4, making sure that the colored side of the absorber faces the back of the printer.

Figure 1-4 Inserting the Absorber

When the printer is turned on, a few drops of ink are sprayed on the absorber to prepare the print head for operation. Absorbers are provided with each print head cartridge and should be replaced each time the car- tridge is replaced. lo remove a used absorber, insert the tip of a pencil into the hole at the top of the absorber, pull up, and discard.

Never move the carriage while loading the print head cartridge; this may cause damage to your printer.

To load the print head cartridge:

* Open the carriage latch by pushing it down.

* Insert the print head cartridge into the carriage.

° Close the carriage latch by lifting it up. Make sure that the carriage latch is fully closed as shown in Figure 1-5.

&

ARR RARR ARKH A

i 4 « ik

\

iM

pee wa a ie

Chapter 1: Setting Up Your Printer

CARRIAGE

LATCH CARRIAGE

ae ae

tes pea ow rata

ar cone

i

reat ae

Figure 1-5 Print Head Cartridge Loaded

mn

WARNING The ink in the print head cartridge contains diethylene glycol which is HARMEUL IF SWALLOWED. Keep new or used cartridges OUT OF

REACH OF CHILDREN.

1

Types of Paper

Your HP 2225C printer 1s designed to print pean size A4, single sheet or fanfold paper.

on standard 8%" x 11" or Euro- Though your printer will print ~ onany type of paper, best print quality can be assured by using HP-specified

ink jet paper. Additional paper stock is available from your dealer or Hewlett-Packard. Refer to Appendix G for more information. |

1-5

Chapter 1: ¢ Up Your Printer Chapter 1: Setting Up Youn Brinter

4 H 1 #

* Slide the paper into the slot under the paper separator and pull the to

edge above the bail arm rollers. - Align the holes in the left side of the paper with the left-side pin wheel.

- Slide the right-side pin wheel to align those pins with the holes in the right side of the paper as shown in Figure 1-8.

Loading Fanfold Paper

* Open the front cover of the printer. * Open the bail arm as shown in Figure 1-6.

BAIL ARM

Figure 1-6 Open Bail Arm

Figure 1-8 Fanfold Paper

- Install the paper separator and raise It as shown in Figure 1-7.

PIN PAPER gate WHEEL SEPARATOR Ewe » Push the bail arm forward to the closed position.

: se - Lower the paper separator to the operating position as shown in Figure 1-9.

PAPER SEPARATOR

sees oe

a) is hi i

PINCH PINCH ROLLER ROLLER © Figure 1-7 Raised Paper Separator

Figure 1-9 Paper Separator Operating Position

° Close the front cover of the printer.

io ot es ee ee Fel .

Chapter 1: & Up Your Printer Chapter 1: Setting Up Your Printer

PAPER ADJUSTABLE PIN WHEEL SEPARATOR PIN WHEEL

The recommended fanfold paper paths are shown in Figure 1-10.

RECOMMENDED RECOMMENDED FOR USE ONLY FOR PAPER PATH

LONG PRINTOUTS SHORT PRINTOUTS

PRINTER STAND | : HP PART NO. 92261S |

Figure 1-10 Fanfold Paper Paths

PINCH PINCH ROLLER ROLLER

Figure 1-12 Raised Paper Separator

Loading Single Sheet Paper

* Open the front cover of the printer.

he slot under the paper separator. Align the left edge

¢ Open the bail arm as shown in Figure 1-11. (GB. - Slide the paper intot of the paper with the channel on top of the printer case as shown in Figure J BAIL ARM 1-13. t PAPER CHANNEL Figure 1-11 Open Bail Arm - Install the paper separator and raise it as shown in Figure 1-12. Figure 1-13 Single Sheet Paper | 1-8 1-9

> z == a a SS Pe ee et ae 7 nual a = ct 5 —— ie, , - a = ae a es sa i li Ye tm Ree z ; i : Penret - : a ee “4g Prat Oe oe te = a - 2 = 9 7 a ain, * . ? = =

Chapter 1: Setting Up Yo GH rte:

a F | -—— ———— ——————— i ————

Chapter 1: Setting Up Your Printer

NOTE In some computer systems the printer will not be operational if it is connected to the computer and the computer is turned off. For these systems, you must either disconnect the printer cable or turn the computer on before using the buttons on the printer control panel.

Power (Red) Light The red power light on the printer's control panel (shown in Figure 1-16) is lit to indicate that the printer is on.

- Pull the top edge of the paper approximately 74° (6 mm) above the bail arm

rollers. ie » Push the bail arm forward to the closed position. » Lower the paper separator to the operating pos! 1-14.

tion as shown in Figure

PAPER SEPARATOR

on

& fed = -

= a a cas a z a ios is

Figure 1-14 Paper Separator Operating Position

° Close the front cover of the printer.

Power Switch The power switch is located on the rear panel of the print Figure 1-15. Turn the printer on by

POWER

er as shown in

pressing the power switch to position I. Figure 1-16 Control Panel si

(@tine Feed Button The line feed button advances the paper. Tap the line feed button quickly and the paper advances a single dot row. Press the line feed button normally and the paper advances one line. If the line feed button is held down, the paper advances one line, pauses, and then continues rapid line feeds until the button is released.

a —_ * = SS ee = = _ _ ——eEeEeEeeee a

j -1 Power Switch Figure 1 5 oe

1-10

Chapter 1: -.. Up Your Printer

Chapter 1: Setting Up Yougirer

NOTE The attention light also blinks if there is paper in the printer and one of the following conditions is present:

Form Feed Button

The form feed button advances the paper to the next page. The exact position to which the paper advances is called the “top of form.”

¢ The printer is performing the internal self test immediately after power is turned on.

NOTE If your printer is not correctly set for the length of paper you are using, the form feed button may not advance the paper the distance you expect. If you need instructions on setting the printer for your length of paper, see pages 2-8 and A-3.

¢ A self test error was detected.

Printing Self Test

You can now verify that the printer is operating correctly by using the printing self test. First turn the printer off. Then depress and hold the line ( é feed button while turning the printer on. Release the line feed button to start ™® the self test sequence, which includes a set of printed examples. You can terminate the self test at any time by turning the-printer off.

Setting Top of Form a Top of form is set to the current line each time the printer is turned on or the q blue button (the top button on the control panel) is pushed.

Normally you should set top of form to the fourth line on the page, which will leave a top margin of 2". To set top of form to the fourth line, use the line feed button to position the paper so that the perforation is just above the pinch rollers, and press the blue button.

WARNING The carriage should be against the left side of the printer whenever the printer is off. If the carriage remains in the center of the page for prolonged periods, it is possible for the print head face to come in contact with the paper, causing ink to wick out of the print head cartridge.

Some software packages instruct you to set top of form to the first line of the page. To do this, use the line feed button to position the paper so that the perforation 1s approximately “4° (6 mm) below the pinch rollers, and press e€ the blue button. '

If the carriage is not at the left side of the printer, turn the printer on and wait for the carriage to move to the left side of the printer. Then turn the printer off.

NOTE If the printer runs out of paper while printing a document, it will stop automatically. After loading paper and positioning it, press the blue button. This will set top of form and instruct the printer to continue printing the document.

Ready to Print

The HP 2225C printer is now prepared for printing. For your convenience, it

is designed to print with 1” margins on each side of the page. If you want

larger margins, software packages such as word processors should have the / capability of increasing them. Other “default” (pre-set) printing specifica- c | tions are:

Attention (Yellow) Light Under normal operating conditions the yellow attention light is off. If the attention light is on, the printer 1s out of paper. After paper 1s loaded, the attention light begins flashing. Position the paper using the line feed button and then set top of form with the blue button. The attention light will turn off. The printer is now ready to print.

e 12 characters/inch ¢ 80 characters/line ¢ 6 lines/inch

You should now be able to use your printer with your computer system without reading any more of this manual. However, Chapters 2 and 3 explain how to use other print features such as underlining and bold mode, as well as change the default printing specifications listed above.

You should never move the carnage manually or obstruct its movement. If the printer detects that this has happened, it will stop printing. In this event, the print buffer empties, all print features return to their default settings, and the attention light begins flashing. To recover from this error state, remove any obstructions such as crumpled paper from around the carriage and push the blue button.

(

1-12 1-13

ee wa mg ee ee eee -_ —_— == 1 = ~ —— <6. es r+ == —— = ——_

TT ae Te

a

: * ; i | i 4 ! ee i

4

Chapter 2

Using Print Features

a ate Saisie

| The previous chapter told you how to set up and begin operating your HP 2225C printer. This chapter will tell you how to use the more commonly selected print modes and form control features: print pitches, bold mode, underlining, line spacing and perforation skip mode. Chapter 3 introduces more advanced print features. :

-_ Introduction to Control Codes and

Escape Sequences You may already have software which allows you to use many of the print features of your HP 2225C printer. If, however, you wish to use any of these print features on your own, the following two chapters provide you with examples of each of the print features and the data used to generate those examples.

Sy ie is sy OL vee? Teeny Von) Vom) oem

The print features of your printer are controlled by “control codes” and

“escape sequences.” Control codes are data that, when sent to your printer, /@- do not cause anything to be printed. They are commands which cause an ( action. An example of how control codes are written in this manual is [cTLN], which is pronounced “control N."

One of the control codes is named “escape,” which in this manual is written as [ESC]. Escape sequences consist of the control code followed by one or more other characters. For example, & k 1S is an escape sequence which changes the print pitch. None of the characters in an escape sequence is printed; together they forma command which is used to control a feature of your printer, just as a single control code is a command.

6

NOTE When reading this manual, be very careful to not confuse O (upper- case oh) with 0 (zero) or / (lowercase ell) with 1 (one).

Some features are controlled by both a mode select switch on the rear panel of the printer and an escape sequence. In these cases, the switch sets the default condition of the feature but the escape sequence will override the switch. If the printer is turned off and on, the feature will return to the

‘eq setting selected by the switch.

| Ez h bY i ke } 4 ! ij i. 7 *

=

ce

ove a wae ee es a fe ie iy 2 ae ae . 3 oe fe Sv fe

Chapter 2: oi Features Chapter 2: Using Print eo

If you are using a software package such as a word processor or spreadsheet, refer to your software documentation to learn how to represent control codes and escape sequences.

To generate printouts using these print features, you will need to become familiar with the method used by your computer or software to send escape sequences and control codes to your printer. Some of the different methods commonly used are:

If you are writing BASIC programs, you can generate control codes with the CHR ) function. For more information on the CHR3%( ) function, refer to a

¢ Typing escape sequences and control codes directly from the keyboard. BASIC programming manual.

Many computer keyboards have a key labeled and another key labeled TONS, Ceui8, or CGuGT8. When the key is pressed, it gener- ates the escape control code. Other control codes are generated by holding down the key while pressing a different key, Just as holding down the key while pressing another key generates special puncuation characters and uppercase characters. On some keyboards that do not have

an key, can be generated as(ctt [].

In this manual, CHR$( ) is used to specify numbers which are ASCII numbers, not characters. For example, 83 and CHR9$(83) are two different | things. The first, 83, is a string of two characters: 8 and 3. CHR$(83) is a |

single character, uppercase “S". ig

Control Sequence Modes

The HP 2225C printer has two different control sequence modes: HP Con- ‘i trol Sequence Mode (HP mode) and Alternate Control Sequence Mode (Alternate mode). The escape sequences and control codes which control the print features are different for the two modes. If the printer receives an escape sequence or control code which is invalid for the current mode, it will | either ignore the command or produce unexpected results. However, do not | be afraid of making mistakes. You cannot damage your printer with an |

NOTE If you are entering escape sequences in this manner, do not type any spaces between the characters of the escape sequence. In this man- ual spaces are sometimes inserted in the escape sequences for read- ability; they are not actually a part of the escape sequence.

- Specifying each control code, including [ESC], by its ASCII* number.

Some software packages require that you specify each control code by its ASCII number, usually preceded by a special character such as a ) For example, the escape sequence & k 1S would be specified as \027 & k 1S. Appendix D contains the ASCII representation of each control code.

invalid escape sequence.

Switch 5 on the rear panel of the printer determines which mode is currently 4 | being used. If switch 5 is down, the printer is in HP Control Sequence Mode; ai if switch 5is up, the printer is in Alternate Control Sequence Mode. Page A-3 | | discusses choosing the appropriate control sequence mode for your com- |

puter system.

¢ Specifying each character of the escape sequence by its ASCII number. 7 2 The following sections discuss both control sequence modes for each

print feature. For reference purposes, Appendix B lists all of the HP mode control sequences; the control sequences for Alternate mode are listed in Appendix C. |

Some software packages require that you specify and the characters following it by their ASCII numbers. The reference tables in Appendices B and C contain the ASCII representation of each escape sequence

& k1S is represented in ASCH

As an example, the escape sequence as 27 38 107 49 83.

*The ASCII (American Standard Code for Information Interchange) charac- ter tables in Appendix D assign a number between 0 and 255 to every character or control code recognized by the printer. Computers use these numbers when storing and communicating text material. Unless specifi- cally noted otherwise, the numbers used in this manual are decimal num- bers. A few software packages require you to enter ASCII numbers in “hexadecimal.” The reference tables in Appendices B and C include the hexadecimal representation of each control code and escape sequence.

a I = al - ie a ms, = = ae we = - r * fe oe «eee = a

Chapter 2: A. Features Chapter 2: Using Print

Print Pitches Your HP 2225C printer offers four print pitches: normal, expanded, com- pressed, and expanded-compressed.

Table 2-2 | Print Pitches (Alternate Mode) ©

fen]

This is compressed print.

This is mormal print. default

Normal

This is expanded-compressed print - | This is expanded primt. g = Expanded- a |

Compressed | fcTLN][crLO] | [eT T]ictLR ' If switch 5 is DOWN (HP mode): ha | = | fen q

Table 2-1 provides the specific escape sequence for each print pitch. | Expanded

ws)

Fue |

Table 2-1 Print Pitches (HP Mode) The data used to generate the preceding example is:

im)

f[cnO] This is compressed print .(cnAl

This is normal print.

[cruN][cr.O] This is expanded-compressed print .{entl[cnA} [cuN] This is expanded print .[cnT]

Print Pitch

lEscape Sequence

[ESC] & k2S [ESC] & k 0S

Compressed

bi)

| Normal Bold Print

The HP 2225C printer can print characters either normal or “bold” (darker).

i

Expanded- Compressed

[ESC] & k3S ESC] &k1S

Bold mode can highlight single words.

| Expanded : Entire lines can also be highlighted.

If switch 5 is DOWN (HP mode): The bold print mode is enabled by [cTLN]. The printer will then print darker

If more characters per line are sent than is allowed by the selected print pitch, the additional characters are normally ignored. To print those ad-

ditional characters, you may use the wra -around mode described in =

Chapter 3. F a characters until bold mode is disabled with [cTLO}.

The data used to generate the preceding example is: ia The data used to generate the preceding example is:

[ESC] &k2SThis is compressed print. a Bold mode can [cnN]highlight[cno] single words. 4s [cunJEntire lines can also be highlighted. [cnO]

[Esc] ak OSThis is normal print. [Esc] &k3SThis is expanded-compressed print. [feEsc]#k1SThis is expanded print.

If switch 5 is UP (Alternate mode):

The bold print mode is enabled by E. The printer will then print darker

If switch 5 is UP (Alternate mode): characters until bold mode is disabled with IESC| F.

@

Table 2-2 specifies the control codes which turn on or off each of the print 3 The data used to generate the preceding example is: pitches. : - Bold mode can [esc]Ehighlight[Esc]F single words. fesc|EEntire lines can also be highlighted.|[Esc]F

2-5

Chapter 2: si Din Features

Underlining Your HP 2225C printer can underline text as shown in the following example.

Underlining can be used for a single word. Entire lines can be underlined.

If switch 5 is DOWN (HP mode):

Underline mode is enabled by & d D. The printer will then underline all characters until underline is disabled by &d @.

The data used to generate the preceding example 1s:

é€

Under lining can be used fora [ESC] &dDsinglelEsc| &d@ word. [esc]adDEntire lines can be under lined.|ESC| &d@ If switch 5 is UP (Alternate mode):

Underline mode is enabled by - 1. The printer will then underline all characters until underline is disabled by - 0.

The data used to generate the preceding example is:

Under lining can be used for a -isinglelEsc]-0 word. fesc]-1Entire lines can be under lined.|ESc] -0

Mixing Modes

The HP 2225C printer is capable of mixing any combination of print modes. For example, it can print in expanded and underlined mode. The printer does not limit the number of mode changes allowed in a single line.

Print modes can be mixed ona Lime. E€

If switch 5 is DOWN (HP mode): The data used to generate the preceding example is:

Print modes can be mixed on a & k 1S[ESC] &dD1 i nelESC] &d@ [esc] @k OS.

If switch 5 is UP (Alternate mode):

The data used to generate the preceding example is:

Print modes can be mixed ona [enNJ [ESC] - 111 ne[ESC) - OfenT].

+ omy ee ——

'

\

4

a es www wf @

;

Tee ee i a

Chapter 2: Using _

Perforation Skip

The HP 2225C printer is capable of automatically leaving top and bottom margins on every page. This is called “perforation skip mode” because,

them.

The printer does not sense the perforations in the paper; you must tell it where to put the margins by setting top of form as described on page 1-12. When you set top of form, you specify the position of the first line of print: the line immediately following the top margin. The default “perforation skip length” (combined length of the top and bottom margins) 1s 6 lines. If top of form is set to the fourth line of the page, the printer will leave a margin of three lines at the top and bottom of each page.

o~

Figure 2-1 shows top of form set correctly for equal top and bottom margins.

>| } 3 Lines.

TOP OF FORM

1 SHEET = TEXT LENGTH = 60 Lines}

PAGE LENGTH = 66 Lines

PERFORATION SKIP LENGTH = 6 Lines -

Figure 2-1 Top and Bottom Margins

(@

Switch 3 on the rear panel of the printer determines whether perforation skip mode defaults on or off. If switch 3 is down, perforation skip mode defaults off; if switch 3 is up, perforation skip mode defaults on.

when printing, the printer does not print on the perforations, it skips over

eee oe

: z ——————— a 2 em eee ee ee eee ee eee ee

oe ae arr heres oe oe dE a ee ee

@.. Features

Chapter 2: Usi

If switch 5 is DOWN (HP mode):

The escape sequence & | 1L turns perforation skip mode on, & 10 L turns it off. These escape sequences override switch 3.

The perforation skip length is not specified directly. If you wish to use a value other than the default, you must specify a new ‘text length,” which is the number of lines to be printed on each page. The perforation skip length is the total length of each page minus the text length.

The escape sequence to set the text length is [ESC] & / # F, where # 1s the text length specified in number of lines. For example, the escape sequence & 154 F sets the text length to 54 lines. If the printer is set for a page length of 66 lines (11 inch paper, 6 lines per inch), the perforation skip length is 66 minus 54: 12 lines. To get equal top and bottom margins of 6 lines, top of form must be set to the seventh line of the page.

Text length cannot be less than one line nor greater than the page length. The escape sequence & 10 F will set the text length back to the default, which is 1 inch less than the page length.

If switch 5 is UP (Alternate mode):

The escape sequence N CHR$(#) sets the perforation skip length to # lines and turns perforation skip mode on. The number used to set the perforation skip length is the ASCII number associated with the character following “N.” For example, N 1 does not set perforation skip length to 1 line, the ASCII number for the character “1” is 48 (see Appendix D), so perforation skip length is set to 48 lines. To set the perforation skip length to 10 lines, look in Table D-1 of Appendix D and find that 10 is equivalent to [ctLJ |. Then use the escape sequence N [ctiJ].

The escape sequence O turns perforation skip mode off.

These escape sequences override switch 3.

Page Length

The HP 2225C printer allows you to change the page length. The current value of page length determines how far the printer advances the paper when the form feed button is pressed or the printer receives a form feed control code. The printer also uses the value of page length, when perfora- tion skip mode is on, to determine where to place the top and bottom margins.

Switch 4 on the rear panel of the printer selects the default page length. If switch 4 is down, page length defaults to 11 inches (279.4 mm), which is 66 lines at 6 lines per inch. If switch 4 is up, page length defaults to 12 inches (304.8 mm), which is 72 lines at 6 lines per inch.

2-8

4 a

Dnnnnnnnnmnne sO “we

|

eee ee eee ee

«

Chapter 2: Using Print 2 tures

If switch 5 is DOWN (HP mode):

The escape sequence & 1 # P sets the page length to # lines. For example, & 150 P sets the page length to 50 lines. This escape sequence

- overrides switch 4.

Page length can be set to any number of lines from 1 to 255. The escape sequence & 10 P will reset the page length to the default.

The page length escape sequence automatically sets the text length to 1 inch (6 lines at 6 lines per inch) less than the new page length.

If switch 5 is UP (Alternate mode):

The escape sequence C CHR$(#) sets the page length to # lines. The number used to specify the page length is the ASCII number associated with the character following “C.” For example, C 1 does not set page length to 1line. The ASCH number associated with the character “1” is 48, so page length is set to 48 lines. To set page length to 70 lines, look up 70 in Table D-1 of Appendix D and find that 70 is equivalent to the character ge Then use the escape sequence CE.

The escape sequence C CHR$(0) CHR$(#) sets the page length to # ‘aches. The number used to specify the page length is the ASCII number associated with #. |

(oa. escape sequences also turn perforation skip mode off.

Line Spacing The HP 2225C printer offers different line spacings as shown in the follow- ing example.

This group of lines 15 printed at a

line spacing of 8 lines per inch. Notice that

@ they are close together.

These three lines are printed at the default line spacing of 6 lines per inch.

2-9

Chapter 2: Using Print Features

If switch 5 is DOWN (HP mode):

To print at 8 lines per inch, send the escape sequence & 18D. To return to 6 lines per inch, use & 16D.

If line spacing is changed, page length and text length measured in inches

remain the same. For example, if line spacing is 6 lines per inch and page length is 66 lines (11 inches), changing line spacing to 8 lines per inch will also change page length to 88 lines (11 inches).

The data used to generate the preceding example is:

sI@DThis group of lines is printedata

line spacing of 8 lines per inch. Notice that they are close together [ESC] &/6D

These three lines are printed at the default line spacing of 6 lines per inch.

If switch 5 is UP (Alternate Mode):

To print at 8 lines per inch, send the escape sequence 0. To return to 6 lines per inch, use 2. To set line spacing to 7 dot rows (96/7 lines per inch), use 1. A CHR$(#) sets line spacing to # dot rows. The number used to set the line spacing is the ASCII number associated with the character following “A.” For example, A sets the line spacing to 20 dot rows because the ASCII value of is 20.

The data used to generate the preceding example is:

fesc]OThis group of lines is printed ata line spacing of 8 lines per inch. Notice that they are close together .[ESC|2

These three lines are printed at the default line spacing of 6 lines per inch.

2-10

;

TRA mm vee vee) Vee) Vee Vie

r ry

nT wT uy

= sg = 2 = @ = @ = @ = ¢ = @

kz . @ >

a

Pa

¢

r a m

€C

«

Chapter 3

More on Print Features

: * In the previous chapter we discussed the frequently used print features.

In this chapter we will discuss some advanced print features.

Positioning the Print on the Page

Some of the control codes and escape sequences change the position at which the next character received will be printed. This position 1s called the “current active position.” Each time the printer receives a printing character, the current active postion is moved one character to the right. The following control codes separate lines of print, cause the printer to overstrike charac- ters, or cause the printer to advance the paper.

Unless specifically noted otherwise, these control codes and escape

sequences are identical in HP mode (switch 5 down) or Alternate mode

(switch 5 up).

¢ Carriage Return ([cTLM] ): Moves the current active position to the first character position on the current line. Normally you do not need to send carriage returns explicitly; your computer system will send them automatically.

Fither switch 1 on the rear panel of the printer or the Automatic Line Termination escape sequence discussed on page 3-9 can cause the printer to perform a line feed in addition to each carriage return.

¢ Back Space ([ctLH)]): Moves the current active position one character to the left. If the current active position 1s already the leftmost character position, no action is taken.

. Line Feed ({ct.J ]): Advances the paper one line. Normally you do not need to send line feeds explicitly; your computer system will send them automatically.

Either switch 2 on the rear panel of the printer or the Automatic Line

Termination escape sequence discussed on page 3-9 can cause the printer to perform a carriage return in addition to each line feed.

» Half Line Feed ([ESC] =): Advances the paper half the distance of the current line spacing.

This escape sequence is only valid if switch 5 is down (HP mode). If switch 5 is up (Alternate mode) you must change the line spacing and then send a line feed control code.

Chapter 3: mop Print Features

Half line feed is useful for printing subscripts and superscripts.

H.0

J

r

Cs]

? a =b tc

The data used to generate the preceding example is:

H OfEsc] =[cum] 2 3 2{esc] =[ctuM]a =b +c

. Form Feed ({cT.L }): Advances the paper to the top of the next form.

“NOTE The printer cannot sense the actual position of the paper. For form feed to advance the paper to the next perforation, top of form must be set correctly as described on page 1-12.

Overstrike There are two methods of overstriking text:

¢ Sending two lines of text separated only by a carriage return. This causes the printer to print the second line over the first line.

This method will work only if carriage return does not perform a line feed (see Carriage Return on page 3-1). If carriage return does perform a line feed, you must use the back space method for overstriking.

- Using back space. Each time the printer receives a back space control code, ‘t moves the current active position one character position to the left before printing the next character. Therefore, if two characters are sent to the printer separated only by a back space, the second character is printed over

the first. , Graphics Many computer systems allow you to draw graphs or pictures on your computer display using the computer's capabilities and a graphics software package. The computer then handles the details of copying the graphics data to the printer. You may, however, be interested in writing your own

graphics software program. The following information provides the details of the HP 2225C graphics capabilities. 4

3-2

Chapter 3: More On Print Features

The HP 2225C printer is capable of printing in two modes: text mode and graphics mode. In text mode, the printer interprets each data byte it receives from the computer as an ASCII character. It then looks that character up in ‘ts internal character table and prints the dot pattern which it finds. In

Me sraphics mode, however, the data received from the computer directly

specifies the dot pattern which is to be printed.

The HP 2225C uses a form of graphics called “dot-image” graphics. In this system, the paper can be thought of as consisting of a grid of dot positions. Graphics data specifies which of the dot positions should be printed and which should be left blank.

NOTE

Some computers automatically add control codes, such as carriage -eturns and line feeds, or blanks to the data being sent to the printer. These characters are necessary when printing text. In graphics mode, however, they may be interpreted as graphics data and give unex- pected results. Before writing programs which generate graphics, you should consult the manual for your computer to determine how to prevent your computer from sending this extra data to the printer.

If switch 5 is DOWN (HP mode):

é Graphics Density ® The HP 2225C is capable of printing graphics in two different dot densities.

The default dot density is 96 dots/inch in both the horizontal and vertical directions; the print region is 640 dots wide. The higher dot density 1s 192 dots/inch in the horizontal direction and 96 dots/inch in the vertical direc- tion; the print region is 1280 dots wide. The escape sequence used to select high density graphics is [ESC] *r 1280 S. To return to the default graphics density use «1640S. Once the graphics resolution 1s specified, it stays ‘n effect until it is explicitly changed or the printer is reset.

Raster Dot Row

& Graphics data is sent to the printer one byte (8 bits) at a time. Each bit

specifies one dot position. If a bit is zero, the corresponding dot position 1s left blank. Ifa bit is one, a dot is printed at the corresponding position. In HP mode, graphics data bytes are sent to the printer in groups, where each group contains the graphics data for one “raster” (horizontal) dot row. The first (most significant) bit of a graphics data byte specifies the leftmost dot, the last (least significant) bit specifies the rightmost dot.

3-3

Chapter 3: More On Print Features

The escape sequence to transfer the data for one dot row is *b #W. The value field, #, specifies the number of graphics data bytes which follow the escape sequence. For example, if the printer receives * b 20 VW, it interprets the next 20 bytes of data as specifying 160 dots (20 x 8 bits) of the current dot row. If less data is sent for a dot row than will fit in the print

region, the rightmost dots of the row are left blank. If more data is sent than will fit in the print region, the extra data 1s ignored.

Paper advance occurs automatically between graphics dot rows; it 1s not necessary to send any paper advance control codes.

Beginning and Ending Graphics Mode

If the printer has a partial line of text data in its buffer and it receives the raster dot row escape sequence, it terminates the line of text with a carriage 4 return (but no line feed), prints it, and then accepts the graphics data. This may cause the graphics data to be printed over the text data.

To avoid printing graphics over text, send the escape sequence *rA before sending any graphics data. This escape sequence causes any partial lines of text to be terminated with a carriage return and line feed. If there is no text in the buffer, this escape sequence has no effect.

When the printer receives graphics data, it places that data in its buffer. Normally the graphics data is not actually printed until the buffer contains 12 ce dot rows of default-density graphics or 6 dot rows of high-density graphics. é. To make sure all of the dot rows are printed and not still stored in the printer's buffer, send the escape sequence * r Bafter sending all of the graphics data.

Sample Graphics Program

The following is an example of a simple HP BASIC program which prints graphics.

Description

|

| Select default graphics density | Begin raster graphics

| 55 dot rows will be printed Initiate a dot row of length 5 bytes

| 5 bytes = 40 dots

10 PRINT CHR$(27)&” *1640S”; 20 PRINT CHR$(27)&” #rA”; 30 FOR I=1 TO 55

40 PRINT CHR$(27)&” *#b5W”; 50 FORJ=1TO5

60 PRINT CHR$(136); | Send 1 byte of graphics data 70 NEXT J 136 decimal = 10001000 binary | 80 NEXT I

90 PRINT CHR$(27)&” *rB" | Terminate raster graphics

m 6

" ow a e

amnn th Hm hh | ee - = pawoeaewWwwwuwubWoowte mo

nH A

r 4

/100 NEXT I

Chapter 3: More On Print @.

Printer output:

You may need to modify this program to make it run correctly on your computer. To produce the preceding graphics example using Microsoft BASIC, Version A2.00, use the following program:

Description

| 10 OPEN “LPT1:” AS #1

| 20 WIDTH #1,255 Prevent the computer from

sending CR, LF 30 PRINT #1, CHR$(27) +” #16405"; Select default graphics density AQ PRINT #1, CHR$(27)+”*rA”; | Begin raster graphics

| 50 FOR I=1 TO 55 | 55 dot rows will be printed

| 6 PRINT #1, CHR$(27)+” *b5W”; | Initiate a dot row of length 5 bytes 70 FOR J=1 TOS | 5bytes = 40 dots 80 PRINT #1, CHRS(136); Send 1 byte of graphics data 90 NEXT J 136 decimal = 10001000 binary

110 PRINT #1, CHR$(27)+”*1B” | Terminate raster graphics If switch 5 is UP (Alternate mode):

In Alternate mode, each byte of graphics data specifies an 8-dot high col- umn. The first (most significant) bit specifies the top dot of the column; the

. last (least significant) bit specifies the bottom dot of the column. If a bit is . zero, the corresponding dot position is left blank. If a bit is one, a dot is

printed at the corresponding position. | You can specify the horizontal distance between adjacent columns as either 1/96 inch or 1/192 inch. The escape sequence K #1 #2 selects default- density graphics (1/96 inch between columns), L #1 #2 selects high- density graphics (1/192 inch between columns).

Chapter 3: More ; n Print Features

The 2-byte value field (#1 and #2) specifies the number of following bytes which are to be interpreted as graphics data. #1 and #2 are not inter- preted as ASCII characters, they form a 16 bit binary number where #2 is

the most significant byte and #1 is the least significant byte. For example,

K CHR$(128) CHR$(1) specifies that the next 384 bytes (128 + (256 * 1)

= 384) of data are graphics dot columns which are to be printed 1/96 of an inch apart.

Before sending any graphics data, line spacing should be set to 8 dot rows by the A CHR$(8) escape sequence. After sending all of the graphics columns across one row, you must send a carriage return and line feed to the printer to cause it to advance the paper and return to the left margin.

Some computer systems do not have the capability of controlling the most | significant bit of data bytes sent to the printer. If your computer system always clears this bit, you can still print graphics by setting line spacing to 7 dot rows (by either 1 or A CHR3$(7)) before sending graphics data.

Selecting Unidirectional or Bidirectional Printing The HP 2225C printer normally prints text bidirectionally. You can get

slightly better alignment between lines of print by setting the printer to. print unidirectionally (left to right only).

If switch 5 is DOWN (HP mode):

The escape sequence & k 0 W will force unidirectional printing. To return to bidirectional text printing, use & k1W.

This escape sequence does not affect graphics printing; the printer always prints graphics unidirectionally. If switch 5 is UP (Alternate mode): eq

The escape sequence [ESC] U 1 will force unidirectional printing. To return to bidirectional text printing, use U 0.

This escape sequence does not affect graphics printing; the printer always prints graphics unidirectionally.

3-6

Chapter 3: More On Print oe”

End of Line Wrap-Around

If the printer is in wrap-around mode, the first character received which exceeds the line length of the printer forces a new line of print to be started. This causes long lines to be broken and printed as several lines. If the printer is not in wrap-around mode, characters which exceed the line length of the current print pitch are not printed.

If switch 5 is DOWN (HP mode):

The default 1s wrap-around mode disabled. The escape sequence & s 0 C enables wrap-around mode, & s 1 C disables wrap-

~ ground mode.

If switch 5 is UP (Alternate mode):

The printer is always in wrap-around mode; you cannot disable it.

Linking Escape Sequences If switch 5 is DOWN (HP mode):

You can link several escape sequences into one escape sequence string. For example, you can enable perforation skip mode and set line spacing

. to 8 lines per inch by entering either & 18 D and & 11L or y [ESC] & 18 d1L.

The two rules to follow when linking escape sequences are-

© The first two characters after must be the same. In the example above these are & and I. and the first two characters following it are used only once in a string of linked escape sequences.

* The final character of the internal escape sequences becomes lower case. In the example above, D becomes d.

» If switch 5 is UP (Alternate mode):

It is not possible to link escape sequences, each one must be sent exactly as it is specified in this manual.

Display Functions Mode Control codes and escape sequences are not normally printed; they are either recognized as commands and cause some action or they are ignored.

The display functions mode allows you to print control codes and escape sequences without executing them. This is useful if you are trying to determine exactly what control codes and escape sequences are being sent to your printer. The symbol which is printed for each control code can be found in Table D-1 of Appendix D.

3-7

Chapter 3: More On Print eo”

Chapter 3: More On Print Features

Resets

The simplest way to return your printer to its default printing specifications

is to turn the printer off for several seconds, then on. This causes the printer switches, reset all features to their default values,

@@™ to read the mode select _ and set top of form to the current line. If switch 5 is DOWN (HP mode):

The escape sequence E causes the printer to print whatever data is in the print buffer, reset all features to their default values, and, if the paper 1s not at the top of form, execute a form feed. ,

This escape sequence does not cause the mode select switches to be read. The printer will use the value it read when it was turned on.

In Disnplay Funtions mode, control codes are printed not executed.

ro

‘R LIn Display CFuntions moder, control codes

Lare printed ER dDnot ade executed. EEL

a P

If switch 5 is DOWN (HP mode): Display functions mode 1s enabled by Y and disabled by Z.

mode, the only control codes or escape

When in display functions sequences executed are: If switch 5 is UP (Alternate mode):

The escape sequence ® causes the printer to reset all features to their default values. |

| oo cause the mode select switches to be read. | read when it was turned on. |

- Carriage Return, which 1s printed and then executed as a carriage return

and line feed. ¢ [ESC| Z, which is printed and then executed.

The data used to generate the preceding example 1s:

This escape sequence does not The printer will use the value it

In [cuN|Display Functions modelcno] , control codes E : : :

are printed, [ESC| & dDnotlESc| &d@, executed. é. ( Automatic Line Termination

[ESC] Y : Most computers terminate each line with a carriage return and a line feed. However, there are computers which terminate with either a carriage return

In [ctiN|Display Functions mode|cnO] , control codes are printed, [ESC] &dDnot [ESC] &d@, executed. [ESC] Z

or a line feed, but not both. In order for your printer to operate normally with these systems, you need to change the definition of the carriage return and line feed control codes. This can be done with either switches 1 and 2 on the rear panel of your printer (see Appendix A) or with the escape

sequences of Table 3-1.

é&

If switch 5 is UP (Alternate mode):

There is no display functions mode; escape sequences and control codes are

always executed.

Self Test If switch 5 is DOWN (HP mode):

Your HP 2225C printer can perform a self test to ensure that it is operating

properly. The escape sequence z causes it to perform a test of the electronics and then print one page of characters.

In addition, page 1-13 explains how to perform a power-up self test. m= i 4

If switch 5 is UP (Alternate mode): There is no escape sequence to cause a self test. The power-up self test described on page 1-13 must be used.

3-8

7 ll a = r > te “. Fr " , oe .s _ Ss * ae es ee ee ae oa ool “ee Ae os ae _ . r 5 Se 7 4 = q 7 a, 7 a 7 ? = eo ea = ‘a= oe ee a Ma ro i ies :

SOTA ei ns A eM

Chapter 3: Ae. Print Features

ae nie atc oe! Bae rajecamateneicausnnarcaeancn aes nang aia ane Mate Sen ee ie Eas aeeega ccna ek Se eae ns gem eee cere ego sata ee ace ae aR a Sher fea a 2s ht Seca EN ust th

Chapter 4

Maintenance and Troubleshooting

If switch 5 is DOWN (HP mode):

Table 3-1 Automatic Line Termination Escape Sequences ————————————— cope .

¢ ;

| Your HP 2225C printer is designed for durability. The printer can operate in a wide range of environmental conditions with very little maintenance. This chapter provides a few basic instructions on care and some simple trou-

bleshooting instructions for printer malfunctions.

Environmental Conditions Your printer should be maintained and operated under the following environmental conditions: | |

Character(s) executed by printer

Character* | received by | printer

Escape Sequence

[ESC] & kOG

<

& k1G ¢ Operate only at temperatures from 50°F to 104°F (10°C to 40°C). | ¢ Store only at temperatures from 4°F to 140°F (— 20°C to 60°C). i} ¢ Operate only in relative humidity from 10% to 90%. ql

Maintenance of the Print Head Cartridge ||

The print head cartridge is durable, disposable, and easy to maintain. i Observe a few simple rules of care, and your print head cartridge should be trouble-free. | :

|

[ESC] &k2G

[ESC] & k3G

—————— —_— @r*:€ ae * a ge oi radi ~ Avoid touching the face of the print head cartridge with your fingers. RE = Form Feed | » Periodically check the ink level of the print head cartridge. Hold the |

cartridge up and view the bladder inside. If the bladder is collapsed, then |

These escape sequences override switches 1 and 2. the ink supply is nearly depleted and the cartridge needs to be replaced. .|

BLADDER

If switch 5 is UP (Alternate mode):

There are no escape sequences to change the definition of carriage return, line feed, or form feed control codes. You must use switches 1 and 2 to specify their definition.

a a

Figure 4-1 Empty Cartridge

4-1

3-10

fi

Chapter 4: LD nce And Troubleshooting Chapter 4: Maintenance And Troubleshooting

- If the printer has not been used for a prolonged period, or if dust has accumulated on the face of the print head cartridge, wipe the face of the cartridge with a tissue to maintain best print quality. If print quality problems remain, see Table 4-1.

Maintenance of the Printer Ideally your printer should be stored and operated in a clean, dust-free environment. However, it can endure some rugged use.

fe ( remove dirt and smudges, damp wipe with a mild solution of dishwash- ARE? Ning detergent and water. Never use harsh chemicals to clean the printer.

AREA Unplug the printer prior to cleaning.

Periodically clean the paper dust out of the printer.

Fuse Replacement

Appendix E contains instructions for replacing the fuse in your printer. A ( q blown fuse may be a sign of a malfunction in your printer. If you experience

trouble with blown fuses, do not continue installing new ones; return your unit for repair.

Troubleshooting Table 4-1 contains some possible error conditions and recommended correc- tive action. In most instances, performing the corrective action described

will eliminate the problem. If the problem persists, however, the printer should be returned for repair.

C 3

| 1. Red power light off.

4 |

Table 4-1 Error Conditions

Error Condition Correction Action Ensure that the power cord is plugged into a working outlet and the power switch is on | (see pages 1-2 and 1-10).

| » Ensure that the voltage selector is correctly

Figure 4-2 Wipe Area set (see Appendix E).

« Ensure that the fuse 1s installed correctly and

» Avoid allowing the face of the print head cartridge to come into prolonged not blown (see Appendix E)

contact with other materials. This may cause the ink to wick out of the cartridge.

* Use the print head cartridge prior to the month and year of expiration printed on the package.

* Load paper into the printer. The attention light will begin flashing (see page 1-12).

| 2. Yellow attention light | on continuously. |

/. Press the blue button. The carriage will | move and the attention light will turn off | (see page 1-12).

1 3. Yellow attention light

WARNING flashing.

The ink in the print head cartridge contains diethylene glycol which is HARMEUL IF SWALLOWED. Keep new or used cartridges OUT OF REACH OF CHILDREN.

» Remove any obstruction from around the | carriage and press the blue button again (see | page 1-12).

- If the attention light continues flashing, the printer should be returned for repair.

mm le SR ee ee

Chapter 4: WD vance And Troubleshooting

| 4. Printer does not respond to computer.

attention light is off. If this is not the case, refer to error conditions 1 through 3 above. | ¢ Verify that the printer is operational by run- ning the self test (see page 1-13).

Fe Your computer may be sending all data bytes

codes with the high bit set are not recog- nized. Try using one of the 7 bit character sets such as US ASCII (see Appendix D).

5. The format of | your printouts is incorrect. Lines may start in the wrong place or the top and bottom margins are excessive.

your computer system. Refer to Table 1-1 of through the instructions in Appendix A for

printer.

| 6. Paper does not

feed properly. card any that is crumpled.

can travel freely without catching, and that

for the width of your paper (see page 1-6).

1-10).

4-4

| © Ensure that the power light is on and the

to the printer with the high bit set. If you are | using the Roman-8 character set, control |

Your printer is not correctly configured for Chapter 1 for switch configurations or work

setting the mode select switches of your

¢ Remove the paper from the printer and dis- |

| ¢ If you are using fanfold paper, verify that it |%

the right-side pinwheel is adjusted correctly |

| «Reload the paper (see pages 1-6 through

ders? SDs ek - 1b

q

AAAAAAARADARARRR RHEE SH A * oe eeee eee

AAW A We

. Print quality 1s poor, rows of dots are missing from print- outs, or the carriage moves but produces

no print.

» Ensure that there is sufficient ink in the car- | tridge by viewing the bladder. If the bladder | is collapsed, replace the cartridge (see Figure | pm). | | « Ensure that the carriage latch is fully closed |

(see page 1-5). :

- Ensure that you are using a recommended ink jet paper. | « Wipe the face of the print head using a tissue | to remove any accumulated dust (see Figure 4-2). If the print head cartridge has not been | used for a prolonged period, moisten the tissue with water before wiping. | « Lightly wipe the electrical connector of the © carriage using a cotton swab dipped in alco- | hol (see Figure 4-3).

| - If the problem continues, replace the print | head cartridge.

CONNECTOR

Figure 4-3 Carriage Electrical Connector

Chapter 4: Maintenance And Troubleshooting

Potential for Radio/Television Interference

The HP 2225C printer generates and uses radio frequency energy and may cause interference to radio and television reception. Your printer complies with the specifications in Subpart J of Part 15 of the Federal Communications Commission rules for a Class B computing device. These specifications provide reasonable protection against such interference in a residential © installation. However, there is no guarantee that interference will not occur in a particular installation. If the printer does cause interference to radio or television reception, which can be determined by turning the printer off and on, you can try to eliminate the interference problem by doing one or more of the following:

¢ Reorient the receiving antenna.

- Reorient the position of the printer with respect to the receiver.

* Move the printer away from the receiver. :

- Plug the printer into a different outlet so that the printer and the receiver are on different branch circuits.

4 .

If necessary, consult an authorized HP dealer or an experienced radio/ television technician for additional suggestions. You may find the following booklet, prepared by the Federal Communications Commission, helpful: How to Identify and Resolve Radio/TV Interference Problems. This booklet is available from the U.S. Government Printing Office, Washington D. C.

20402, Stock No. 004-000-00345-4. 4

~ WARNING Use of a non-shielded printer interface cable will invalidate the FCC certification.

Appendix A

Mode Select Switches

oe ocr each PORE UN RSA ten cba tM LA Sip Sea RRC AR oa eB

= ~The eight switches on the rear panel of the printer allow you to configure the default conditions of your printer for most computer systems and applica- tions.

Table A-1 Mode Select Switches (1 through 5)

Pa

| 1 CR* definition

CR does CR, LF CR does CR only

= ——— - —--

| 2 LF definition | LF does CR, LF | LF does LF only 3 Perforation skip mode | 1” perforation skip | no perforation skip 4 Page length 12” (304.8 mm) | 11" (279.4 mm)

5 Control sequence mode | Alternate | HP

*Note: CR = Carriage Return LF = Line Feed

| “Table A-2 Mode Select Switches (6 through 8)

Switch Settings 7 _ Character Set

ee ee ee

| Roman-8 | | | United States ASCII | : | Swedish |

Tl ry

| Italian

French

German : | | United Kingdom |

Spanish i

nN WT la

Appendix A: © Select Switches

Setting the Mode Select Switches The switch settings in Table A-3 can be used as a guide for configuring some computer systems.

\

4

eee

Table A-3 Mode Select Configuration Guide (8/2" x 11” paper, English language)

Switch Settings Computer Co RI

Hewlett-Packard| down down

IBM PC

| Apple

Radio Shack

If your computer system is not included in Table A-3, or the format of your printouts is incorrect, the following instructions will help you correctly configure your printer.

Before using these instructions, you must obtain some printout from your computer and printer. If you are going to use your printer with software such as a spreadsheet program or a word processor, use your software generate some printout. Alternatively you may generate printout with a short BASIC program such as the following example.

10 FOR I = 17010

20 PRINT “This is a line of sample output for testing my printer. 30 NEXT I

40 END

If your printer does not respond to your computer at all, try setting switch 6 on the rear panel of your printer up. If you still get no response, refer to the owner’s manual for your computer or parallel printer interface card.

"NOTE The printer reads the switch settings only when it is first turned on. Therefore if you change any of the switch settings, you must turn the printer off for several seconds and back on before printing,

The switches are numbered from 1 (closest to the power switch) to8 from the power switch). The remainder of this section describes, | switch, conditions which may cause you to change the switch setting. if none of the conditions apply, leave the switch at its current setting.

vole) vee? Vom oe? Vey Vey Vi Ve Vi VO i =

Appendix A: Mode select ches

Switch 1 - Carriage Return (CR) Definition If your printer does not advance the paper between lines of print, set switch 1 up. The printer will add a line feed to each carriage return it receives. . : If your printout is double spaced, set switch 1 down. The printer will not add | a line feed to each carriage return. Switch 2 - Line Feed (LF) Definition If some lines of your printout start too far to the right, or only the first line is printed, set switch 2 up. This causes the printer to add a carriage return to each line feed it receives.

If some lines of your printout start too far to the left, set switch 2 down. The printer will not add a carriage return to each line feed.

Switch 3 - Perforation Skip Mode

If you are listing programs or using software which does not provide top and bottom margins in your printout, set switch 3 up. This will put the printer in perforation skip mode. In this mode the printer automatically provides top and bottom margins.

If you do not want top and bottom margins or you are using software such as a word processor which already provides margins, set switch 3 down. This turns off perforation skip mode.

Ze, Switch 4 - Page Length 6: you are using 12” (304.8 mm) paper, set switch 4 up. This sets the printer's. page length to 12 inches (304.8 mm). If you are using 11” (279.4 mm) paper, set switch 4 down. This sets the printer's page length to 11 inches (279.4 mm).

Switch 5 - Select HP or Alternate Control Sequence Mode If you are using software such as a word processor or graphics package that does not expect a Hewlett-Packard printer but does expect one of the __ following printers; (( Epson MX-80 ¢ Epson MX-100 ¢ IBM 80 CPS Printer ¢ IBM Graphics Printer set switch 5 up. This puts your printer in Alternate Control Sequence Mode which will work correctly with many software packages.

If you are using software which expects a Hewlett-Packard printer or you are _. writing your own software, set switch 5 down. This puts your printer in HP

(eons Sequence Mode.

Appendix 2. Select Switches

Switches 6, 7, and 8 - Select Character Set

The HP 2225C printer contains 8 different character sets. Switches 6, 7, and 8 together select which character set is being used for printouts. The 8 character sets and the switch settings used to select them are contained in

the following table.

Table A-4 Character Set Selection Switch Settings 7

Character Set

| Roman-8 United States ASCII Swedish

Italian

French

German

United Kingdom

| Spanish

language you want printed, use the Roman-8 character set. Otherwise selec the appropriate language character set from the list.

If you are using an HP computer system which is already configured for the z

For more details on the character sets, see Appendix D.

A-4

a

ear

ag Bibs

* = Beer] see

re

ee

yee) ee) ee) ee

ui

ee ee

Oe You may use

c

Table of HP Mode Print Features

ae ay paras mt is SUR AR pent nsminatmat Sep a FR ie tite eatin an a Eat ind

the escape sequences and control codes of this table only if

Appendix B

begets = iat 2d

switch 5 on the rear panel of the printer is down. If switch 5 is up, you must use the escape sequences and control codes found in Appendix C.

Print Feature

| PRINT PITCHES Normal (default)

(12 cpi, 80 cpl) Expanded (6 cpi, 40 cpl) Compressed

(21.3 cpi, 142 cpl) Expanded-Compressed

(10.7 cpi, 71 cpl) /-BOLD MODE

Bold mode on Bold mode off (default)

| UNDERLINE

Underline on Underline off (default) LINE SPACING

6 lines/inch (default)

8 lines/inch

| PERFORATION SKIP

Perforation skip on Perforation skip off (switch 3 sets default)

PAGE LENGTH

# lines/page” (switch 4 sets default)

TEXT LENGTH

# lines/text area”

| END OF LINE

e@

WRAP-AROUND Wrap-around on Wrap-around off

(default)

lfescl & k2S

\[ESc] &dD —_| 27, 38, 100, 68 1B, 26, 64, 44 [ESC] &d @ 27, 38, 100, 64 1 1B, 26, 64, 40

[Esc] & 16D

[esc] &11L

Ifesc] & OL

ESC

| [Esc

[Esc] & sOC

[Esc] &s1C

ASCII Hexadecimal Equivalent

Escape ASCII | Sequence or Decimal Control Code Equivalent

1B, 26, 6B, 30, 53 11B, 26, 6B, 31, 53

27, 38, 107, 48, 83 27. 38, 107, 49, 83

[Esc] &k0S [Esc] &k1S

| 27, 38, 107, 50, 83 1B, 26, 6B, 32, 53

&k3S |27,38,107,51,83 | 1B, 26, 6B, 33, 53

14 15

OE | OF

127. 38, 108, 54, 68 27, 38, 108, 56, 68

[esc] & 18D

| 27, 38, 108, 49, 76 1B, 26, 6C, 31, 4C

| 27, 38, 108, 48, 76

1B, 26, 6C, 30, 4C

1B, 26, 6C, #, ..#, 50

| 27, 38, 108, #, ..#, 80.

27, 38, 108, #, ..#, 70.

| 27, 38, 115, 48, 67 _| 1B, 26, 73, 30, 43

27, 38, 115, 49,67 —_| 1B, 26, 73, 31, 43

B-1

; 7 ra = ee re, r 8 at yp eS 1 ri v i gts Tay eS Soot te in “tries E nt a ae <9 Sy a # Le —- ay See | = = rat = 4 4 f Ce es ee Me ee ee ae ae i i

1B, 26, 6C, #, ..#, 46 |

Appendix B: Table of HP Mode Print Features

ASCII Hexadecimal Equivalent

“ASCII Decimal Equivalent

Escape Sequence or Control Code

Print Feature DISPLAY FUNCTIONS

MODE

Display Functions on

Display Functions off

(default)

| UNIDIRECTIONAL OR

BIDIRECTIONAL PRINT

Unidirectional print

Bidirectional text

Y 1B, 59

[Esc] Z

1B, 60

1B, 26, 6B, 30, 57

&kOW | 27, 38, 107, 48, 87

| 27, 38, 107, 49, 87

print (default) | & k1W | 1B, 26, 6B, 31, 57 | PRINT POSITION | CONTROLS | Line Feed [ctu | | 10 OA Carriage Return 13 OD Back Space Half Line Feed Form Feed | GRAPHICS | Select low density | | graphics | » 1640S | 27, 42, 114, 54,52, | 1B, 2A, 72, 36, 34,

48, 83

30, 53

Select high density graphics

1 1B, 2A, 72, 31, 32, | 38, 30, 53

27, 42, 114, 49, 50, 56, 48, 83

[ESC] * r 1280S

(@

Raster dot row* | »b#W |27, 42, 98, #, ..#, 87 | 1B, 2A, 62, #, ..#, 97 | Begin raster graphics *rA 27, 42, 114, 65 | 1B, 2A, 72, 41

*rB 27, 42, 114, 66 1B, 2A, 72, 42

End raster graphics

(@

(€

Appendix B: Table of HP Mode Print ©...

AUTOMATIC LINE TERMINATION

ASCII Hexadecimal Equivalent

ASCII Decimal Equivalent

Escape | Sequence Or ' | Control! Code |

Character(s) Executed

Character™ Received

CR ICR ESC] & k 0 G| 27, 38, 107, 48, 71 | 1B, 26, 6B, 30, 47 | LF LF ?(default) | |

FF | FF

CR CR, LF & k 1G| 27, 38, 107, 49, 71 | 1B, 26, 6B, 31, 47 | LF | LF FF FF CR CR & k 2 G| 27, 38, 107, 50, 71 | 1B, 26, 6B, 32, 47 LF |CR, LF

FF | CR, FF

CR CR, LF & k 3G| 27, 38, 107, 51, 71 | 1B, 26, 6B, 33, 47 LF | CR, LF | | FF CR, FF

(switches 1 and 2 set default)

SELF TEST

Perform self test | z 27, 122 11B, 7A RESET

Perform reset | 27, 69 | 1B, 45 *When using the decimal or hexadecimal form of these escape sequences, ou must substitute the decimal or hexadecimal form of each digit of the value field (#). For example, the character “7” is represented in ASCII as 55 decimal or 37 hexadecimal; the character “2” is represented in ASCII as 50 decimal or 32 hexadecimal (see Appendix D). Therefore the escape sequence ESC] & 172 P has a decimal form of 27,38,108,55,50,80 and a hexadecimal form of 1B,26,6C,37,32,50. **Niote: CR = Carriage Return LF = Line Feed FF = Form Feed

W pe ® we e& 4") ft O O 2 oO a ® os om = @

)

Table D-2 Roman-8 Characters (Roman Extension

—_- 5 ae -j * ae ic ie clea a = a ree i cee r

Appendix D: @.. Sets

Roman-8

aracter set. In addition to all of the acter set, shown in Table D-1, it

The Roman-8 character set is an 8-bit ch

characters of the standard ASCII char contains the international characters an

Table D-2.

d symbols which are displayed in

Table D-l Roman-8 Characters (ASCII)

ee SES eee

ras —-lru| om) atilwlo]r g|2| [|=] 2/s/¢|5 | PD

CHAR. DEC

CHAR. DEC. HEX.

CHAR. DEC. HEX.

s(2[=[3|2[5|2|2|=|2]2/5|/8[3|2|#|=|9 SBBBHEE alels|s|=|2|2|3[2[2[2[8[2[2[=[2|2 [2 [2/2 [2 /2/¢ ad ed ed ead ed ed <_ - ee ne ee I hae 4 =| , |

35 = " = =a ) Ph A Ay Sa ho | oy

Addddadeidd dts

Wreeeit™

ae ee oe ee ee

3|s|3|2|*|=\<|* al [-lefelefel-Tel-[-F-Heleelelel del

HEX

—|N | % | i co | = | =r | sF —T —T 215/28 olrilanj[o|si/el/eCieci2Ziz —| oO

CHAR. DEC.

= [|o| SERBEELE

~ @ cp) ws | ue N +t)in|w] re fo) co ro) ra) elo|Ss oh pi Berit ft oa Bp > | Cc QO. l—lrul|o| +) ~ —) wu} ols m | cola iIN|2le m | co i a | | a Ee : am aaa ai )

> —I|NI|o. Lo oOla)wi wt o}o|o i —i-ierln

e|<[elelel4|slels|a]a]s]s]=lsl2lelSlSl2l Zizi zl El Slee A 5/5) 5|65]¢ +) 2\ZlElEl Blelel S| SB] 5/ 5/5/51) 5/5] 5] 5] 5) 5) 5] 5] 5) 5) 51 51%

N a

= . = = = = . tJ ia: = - a eo

= =

i 7 fi al . =_— - 2 7 x a all ; a = = * ! | 5 _— . Page a) 5 aah a + ie " - 7" , at E at Se ae ee ee = ct cre tad 4 r - te > = kee. - * r beg e i = eo ee te - " a_i ya oe 1s ee . : z ae rete fg” oe] ft a ie oj A cI aul : = 4+ . = -T -“ a hts AP Doe on ponetateea, teh ater a Ree noernt-s peatage tein reearambaeeeee ian aa ee Re ae tasiae a nh Sa a =e HD rast * ioyuatatnnan sets eS oie a ro mma! oie Bota tr nema popteta., RAL Aan erg eto De ea aa Seam yap eae ee ee ae Thee oan gris ec SRE haat st NT SD ee ee ee se —. seca rateceee ge acigt RT Rta ePeaa a SE Comat hrs ct ses ees Pde tes ca Hecmeane Bane i ae Jenenman ante hier Romer nt ed ta nee ah bea ot a Spon ae oe jo Saher oot Spon a net Sapna see a deat otc Saree eat RR a une or, SPRL ACA estar asta Basia ae aties oe Senate tee ame tte Se nese oe De ene ee oe eee ME aE iets eat SBeenpr ure arte eee area tate ara ah CME Lan ese gee elt ne sree trees oe! es mE far ater mae ueten Bese See nas SEs Ba ea ney scatter Inmet OSB OMSS Ce ae ote eee cette a nH en aC egal an SS MC Bi Bates nso ee Nc r Te aiiietn viernes RM ube Mn inven Soy aya fe tatelanaiarabl el» SERRE atcha eae Thee it aes TN een ec sa- eeas Bist ca rch ci aah Motel a BRS ses RMT en Sabet bi caer snr icostt rehash i ae ht sigh : Ernestine NR Ie oa sea Sa RRR RRS cata oe RG Se Eytan ee ahaa cape eee ee ap Seer ea

Appendix D: Character Sets

Appendix E

International Character Sets ; The HP 2225C printer contains seven, 7-bit, international character sets. Changing the Fuse OF Line Voltage These character sets are all very similar to characters 0 through 127 of the Roman-8 character set, found in Table D-1. Table D-3 shows the differences

between Roman-8 and the seven international character sets.

eae tal eno

Ta athe ECR

Figures E-1 and E-2 show the two possible rear panel configurations for the

HP 2225C printer.

Table D-3

International Character Sets POWER CORD MODE SELECT |

RECEPTACLE SWITCHES |

Figure E-1 United States Rear Panel

If the rear panel of your printer looks like Figure E-1, it must be operated from 120 volt AC, 50/60 Hz, line voltage. Operating it from any other voltage may cause damage to your printer. The fuse for the printer is inside the - round fuseholder on the rear panel of the printer. To remove the fuseholder, , push the cap of it in with a wide-blade screwdriver and turn it counter- clockwise. To insert a new fuse, put the fuse in the fuseholder, push the fuseholder into the cavity with a wide-blade screwdriver, and turn the |

fuseholder clockwise.

ted States rear panel, you do not need to read any remainder deals with the international rear

If your printer has the Uni more of this appendix; the panel.

REQUIRED POWER CORD VOLTAGE RECEPTACLE

Figure E-2 International Rear Panel |

a me | ee Faye og le lft:

Appendix E: @... the Fuse or Line Voltage Appendix E: Changing the Fuse or ‘eo

» Close the cover of the fuse box (firmly) and confirm that the correct voltage is visible through the window.

¢ Before using the printer, you MUST ensure that the correct fuse is installed as explained in the following section. :

If the rear panel of your printer looks like Figure E-2, it has one of the international options and is capable of operating from one of the following AC power sources:

¢ 100 volt AC, 50/60 Hz ¢ 120 volt AC, 50/60 Hz ¢ 220 volt AC, 50/60 Hz ¢ 240 volt AC, 50/60 Hz

“i

Replacing the Fuse, international options

The fuse for the HP 2225C is located behind the cover of the fuse box. The fuse is in a carrier which slides into a cavity in the fuse box. There are two cavities for fuse carriers; one above the other. The fuse must be installed in the UPPER cavity. The white arrows on the inside of the fuse box cover point up, to the correct cavity.

The fuse box on the rear panel of the printer contains a voltage selector drum

for selecting one of the four line voltages. The line voltage your printer is set

for is visible through the small window in the cover of the fuse box.

selecting a Line Voltage, international options Two fuse carriers can be used with the printer, one (white) for U.S. style : —_—_—— a : ——_—_——— —_—— fuses, and one (black) for European style fuses. The correct carrier for your

area was supplied with your printer. If you wish to use your printer witha

line voltage which requires the other fuse carrier, contact your local Hewlett-

Packard dealer or authorized sales representative. An unused carrier may be

stored in the lower cavity of the fuse box.

a

WARNING Incorrect voltage selection or fuse may cause damage to your printer. Read and follow all instructions carefully.

To select a line voltage:

UPPER CAVITY

* Remove the power cord from the printer.

- Open the cover of the fuse box with a small screwdriver. The cover closes tightly but will yield to firm pressure.

e Pull out the voltage selector drum.

- Rotate the voltage selector drum until the setting that corresponds to the line voltage in your area faces out, and insert it back into its slot. Do not force the voltage selector drum into the slot; if itis turned upside down it will not fit.

INSERT VOLTAGE SCREWDRIVER SELECTOR HERE TO OPEN DRUM

a

a ‘a

a

FUSE FUSE Figure E-3 Fuse Box CARRIER Figure E-4 Fuse Replacement

E-2 E-3

ZANnMNAAAAM THR RRR EET RRR EAA HAAR BHR KRAKAKAAARAAAAKBKKEBKEBASE

Appendix E: Changing the Fuse or Line Voltage

To replace a fuse: Appendix F

sid Parallel Interface Specifications ns

e Remove the carrier from the upper cavity.

¢ Replace the fuse with a new fuse of the correct type and rating (see Table E-1).

» Put the selected fuse in the correct fuse carrier and slide the carrier into the upper cavity. The end of the carrier without the arrow should slide into the cavity first. The arrow on the end of the carrier is visible and pointing up when the carrier is correctly installed.

The HP 2225C printer uses a standard parallel printer interface which is compatible with many personal computers.

Printer Connector Pin Assignments

P |

Table E-1 specifies the correct fuse size, ampere rating, and fuse carrier for

different areas and line voltages. : The printer interface connector 1s compatible with a standard Amphenol-

type, 36-pin connector.

Table E-1 Fuse Sizes and Ratings

( é "he direction conventions used in Table F-1 are:

“In” - The signal is received by the printer from the computer.

| Carrier |

Line Voltage

“Out” - The signal is transmitted by the printer to the computer.

100 volt AC 500 ma TD | 3AG white 120 volt AC 400 maTD | 3AG Table F-1 220 volt AC 2950 ma TD | 5x 20mm Pin Assignments | | ae

| 240 volt AC | 200 ma TD | 5x 20mm igs i, AE Description

A LOW pulse of width greater than 0.5 WS

a il - = 1 = s i a sf 1 Strobe : Power Cords, international options é& = 3 ( | causes the printer to read one byte of data. | TR : } ! | i The power cord supplied with your printer should match the plug require- - 2 ete bit 0 See ment for your area. However, power cords with different plugs are available és 3 Bogan bit } eel for printers with an international options and are illustrated in Figure E-5. If i « 4 ee oe : | you wish to use a different power cord, contact your local Hewlett-Packard y | Data bit 3 } dealer or sales representative. . 6 | Data bit 4 | & a | 7 Data bit 5 | es vo « 8 | Data bit 6 er Australia Europe grounded & s ; 4 ata Ot 7 iB120-tae ae 8120-1689 LSE EME Pato ( 10 | The printer sends a LOW pulse to indicate | oS hilar canis unre Sos bee © | | that it has accepted a byte of data and is ready | Rae <u all power cords). aS for more data. : a : be z 11 | A HIGH logic level indicates the printer us wines Denmark ae cannot receive data due to data entry, a full 8120-1378 6.) eee Switzerland & | r buffer, or error status. | > pr oo N= 8120-2104 ie ee | ae Ris | ie oe C= 12 - A HIGH logic level indicates the printer 1S NS | Ni Sy ee fe g out of paper. i R SNR . 13 - Always HIGH E L E pu | 7 g 14,15 Not used Figure E-5 Available Power Cords fx Z 16 E-A =D | : F-1 |

i

Appendix F: @.. Interface Specifications

19 to 30| Logic |

| Not used

Gnd

| riage position lost.

Not used

Printer Timing Diagram The timing diagram, Figure F-1, illustrates the data and handshake lines during transfer of one data byte to the printer. DATA 1 through DATA 8 and the Strobe line are driven by the computer, the Acknlg line is driven by the

printer.

| Interval

Delay from DATA written to data Strobe. | Data Strobe width.

Acknlg pulse width.

| Duration of valid data after Strobe.

BUSY

DATA

STROBE _

Table F-2 Minimum and Typical Timing Intervals

Description

i | | ee ee pee,

tp ty

Figure F-1 Timing Diagram

F-2

A LOW pulse of width greater than 40 ps | | resets the printer and clears the print buffer. A LOW level indicates the printer has reached an error state: self test failed or car-

ee nm

Appendix G

List of Accessories and Supplies

Part No. Description

92261A Print Head Cartridge

92261M Ink Jet Paper 2000 sheets, single sheets

92261N Ink Jet Paper 2500 sheets, fanfold

922615 Printer Stand Clear Acrylic

82949A HP Series 80 Parallel Printer Interface HP-86A Printer Cable |

82957A

These accessories and supplies are available through your local dealer or directly from Hewlett-Packard. For most of the United States, direct order- ing information can be obtained by calling, toll-free, 1-800-538-8787. In Alaska, California, or Hawaii, call 1-408-738-4133.

SBSBABARBKAAAABASESES

$+ -

i i Baas & & &

G-1

Pnnnnannnnneneenene een &

' 1 : F \ 5

/ om,

Appendix H

Warranty and Service Information

&

a

ape nh ate eae a A A Miles te teawee ess ie oie cama hath atgaee ieee Guetta ONE a tones

Warranty Information

The complete limited 90-day warranty statement is included with your printer. Additional copies may be obtained from any authorized Hewlett- Packard dealer, or the sales and service office where you purchased your printer.

f Ber =

« If you have any questions concerning this warranty, please contact an authorized Hewlett-Packard dealer or a Hewlett-Packard sales and service office. Should you be unable to contact them, please contact:

¢ In the United States:

r- a

Hewlett-Packard Company Personal Computer Group Customer Support 11000 Wolfe Road Cupertino, CA 95014 Telephone: (503) 758-1010

Toll-Free Number: (800) FOR-HPPC (800 367-4772)

¢ In Europe: Hewlett-Packard S.A. 150, route de Nant-d’ Avril P.O. Box CH-1217 Meyrin 2 Geneva Switzerland

Telephone: (022) 83 81 1 €.. ote: Do not send units to this address for repair.

e In other countries:

Hewlett-Packard Intercontinental

3495 Deer Creek Rd. Palo Alto, CA 94304 U.S.A. y 4 Telephone: (415) 857-1501 «é Note: Do not send units to this address for repair.

PRTTRTTRRRR RRR PR MRR RR RRA

HK BB SESE BSBKBAARBKAAAAABA ABS SB BA,

Appendix 2... and Service

How to Obtain Repair Service For information on service in your area, contact an authorized HP dealer or the nearest Hewlett-Packard service facility listed in the limited 90-day warranty statement included with your printer.

If your printer malfunctions and repair is required, you can help assure efficient servicing by having the following items with your printer at the time of service:

* A description of the configuration of the system you were using at the time of failure.

¢ A brief description of the malfunction symptoms for the service personnel. é

¢ Printouts or other material that illustrate the problem area(s).

* Acopy of the sales slip or other proof of purchase to establish the warranty coverage period.

Serial Number

Each printer carries an individual serial number. It is a good idea to keep a separate record of this number. Should your printer be stolen or lost, the serial number is required for insurance claims and is often helpful for racing and recovery. Hewlett-Packard does not maintain records of individual Owners names and printer serial numbers.

General Shipping Instructions Should you ever need to ship the printer, be sure that all components are

packed in a protective package (use the original shipping case) to avoid in- transit damage. We suggest that you always insure shipments.

contact the nearest authorized dealer or local Hewlett-Packard office fo

If you happen to be outside of the country where you bought your printer, shipping instructions. All customs and duty charges are your ard ofce

H-2

Index

“1m: «a tye | ait i

Page numbers in bold type indicate primary references; page numbers in standard type indicate secondary references.

GS)

index-1

J ie J é A & ue BIBOTOET osc 3 oo 6a bes Me ahead Vil: a ad Rea nara paruee aR: ASU igs Sane , 1-4 Cee og oon RRR: GOONS es ibe Reena apne rr rane saa ag ee ea eg 1-1, G-1 be FC : Alternate Controls Mode 5.5 oc ok cov cc ce kee c cee s cen, 28, Al, Ad, C1 « COE ae ee oe 2-2, 3-3, A-1, A-4, D-2, D-4 be K Attention (Yellow) Light .............. Vedas so sNGluve sees sss rap ee ee Automatic Line Termination ......... PO Nlathecg a aepRe C8. its Re aia ae 3-1, 3-9, B-3 64 8 Back Space <2... 25: ape he ea ee SS ae wales oes. sk Ry eee ee ore & rt Wirhirechioral Pie 6 oo es oe a ss OO A Sash sl ee. | bi Blue Button........ a ae ka etna ries Res ir ram 2 sig eG ah 1-12, 4-3 & z rune. PVaeE ss ea a ik es OL, Ree Se aE i Ne re INN 2-5, B-1, C-1 = C & xf oo. Be gs fee Ek. tn ee 1-3, 4-6, G-1 cris Carriage Return .......... 3-1, 3-2 thru 3-6, 3-8, 3-10, A-1, A-3, B-2, C-2 & rac Crraracter Sets 5 ee eee ee .... 44, A-1, A-4, D-1 thru D-4 . PURSE |) FREON i os os os a as es Ph ee ee ee 2-3 Control Codes 2-1 thru 2-3, 2 5, 3-1, 3-2, 3-7 thru 3-10, B 1, B-2, C- 1 C-2 ef Control Sequence Modes ..........--0 0 ec cceese nec cdens 2-3, A-1, A-3 S Etirrent Active Position io os. ons cakes Se si eS GO Ain gS 3-1, 3-2 en | s ss Default Printing Specifications ......... PORE Rag te pare mee ee ane tN A 1-13, 3-9 : Display Functions ............---+++eeee: ad dese 0s Sea 3-7, 3-8, B-2 je E Environmental Conditions .............-++-2+-%-: Terese pene er 4-1 = ee Berar ©) eee ge so oO eee oA ee Bs Oe 4-3 thru 4-5 - Escape Sequences 2-1, 2-2 thru 2-10, 3-1 thru 3-10, B-1 thru B-3, C-1, C-2 pee LINKING -. 5. eee ee ie eee ee ene ts Vales «are eee = SS Spare ey . (fe ; Form Feed : eth a oc aeeceaws se ipgale Raae te eA aS het Ae 24 3 (( er ee eee a 2-8, 3-2, 3-10, B-2, C-2 ts PUB nbd ea Te er a a ne A ar AS ) G . CSOD ess is RRS Wee aa COST eins CoRR 3-2 thru 3-6, B-2, C-2 {| | i

= a ee

H Ralf Line Feed... oe.'s3% LPR er 7 8S GN Bee ADR IN ek pe Ree ase ee 3-1, 3-2, B-2 BP Controls MOG 6 Gi.c ido his WRG Os Cee Ea 2-3, A-1, A-3, B-1 I a eer es « ale ere ee EO RR Rn age 3% aera 4-6 : Line Feed Pete es aes Se i ee eo ana lglg et ns 1-11, 1-13 CNG ok eee sia a dx eae we AGRO 3-1, 3.9, 3-10, A-1, A-3, B-2, C-2 Line Spacing .........-- eee erect eee eeees . 2-9, 2-10, 3-1, 3-6, B-1, C-1 M Maintenance Print Head Cartridge: ......0-..5 66. sc creme eee ner eens 4-1, 4-2, 4-5 iri as eee etecah apes ARR Ie GS Te OU sien LO PIAL FS EG 4-3 AAPG a aes eee ee oo ee oe we 1-12, 1-13, 2-7, 2-8, 4-4, A-3 Mic PAOUOS 6h bie. oe ne tee cae heaga sete eae nesters ee Re 2-6 Mode Select SWiHCheS .. ...65.65.658 +405. 1-2, 1-3, 2-1, 2-3, A-1 ee A-4 Configuration Guide .........---ceeeeer cece reteet sees eens 1-2, A-2 O

Operating Conditions CaN Ss. a a oe ea Vaasa ee es ww nk ne ae OES

P Page Length ...........--+--- le i Be 24, 0-1, Ao fs PRET oes Gs 9. 9: arate a Re CN MNES cee Soin Ti i 1-5, 4-5, G-1 i ha pha aie sien eo 1-11, 1-12, 3-1, 3-2, 3-4, 3-6 Ee OA alle are ernie i hot ie hae an ae i aa ae a ge 6 ae 4-3 BRE ee i aes wea we eee Owes 4-5 thru 18, G-1 ariel PAUISS cook Goa Wek Wb SW COs ce Oh eee CON EY eS Re 1-8 Bike Fe Poa Ea ee ees A Sas hig FR os a es 43. 4.5, G-1 LORIE Coe lige sane ot Lae a Case ek Gene Oana 1-6 thru 1-10 Bak ee eee ere Ee ewes sa eae Oe eee a eS 1-12, F-1 Sitiele SEC sok pe case esc are ee es eee eee nes 1-8 thru 1-10, G-1 Paper Separator ........---++-+---> CAR IE Sa .. 1-1, 1-6 thru 1-10 ata BEER oo sc ce ee eh sae eens: 1-3, F-1, F-2, G-1 Perforation Skip ...... ee Se DO At ae, OMe kre PeNWIGE COON 6 Sa bo wee ee eS et: CR ee OF oa 1-1, 1-2, E-2, E-4 Power (Red) Light ........... ti HRA COO ANNI SOE AE SS eS a ee 1-11, 4-3 cer Git a Oe ia wae kt eam ss > kVA we sees Ree mee 1-10 Print Head Cartridge ...........++-++-- 1-4, 15, 1-13, 4-1, 4-2, 4-5, G-1 Print Pitches ..... ie bel ee eee a ee, oe Ter EAE oc co Sin Sern ee eae CEN ee nO KR ae eee 1-8, G-1 1-13, 3-8

Printing Self Test ........ YMG ay WERIES w ele eae RNa tre er

index-2

2 7 e & a al ad & b i & e . & es & i fe & a “— = | i x

& G G cK x a x K K a x

«

rr

(@

R

Ge aan eae omer rey rere rr Pec re ae 4-3, H-2 I BeOS EDI OE EU NE IIE ee IEE PRR RPL EMU at oD -9 B-3, C-2, F-2 S

ne Cem oy ero) ah Mo ely eee ees ss 1-13, 3-8, B-3, F-2 Serial Number ......... (eee fe BOO t caw CA ved ER Ree os H-2 Shipping Instructions ......... Pe oe aac «ve REALS © Cequehs a eee Storing Conditions .. .. 2. sew e sce e eee oe te ce Rg eee ws .... 41,43 MR oe ok Sued ks Sate awe Moe ce en ee RNR eee’ Oe SUROCHHIMNGS iS cea ele ens sce tle ce ys Riedie = 9 ae se sie PRY Ot 3-2 GUODOS oon ok eae ng NORE Rn = SR kb 2 ns nie se A G-1 T

TOME RONG oo oe ce des ee eee eee Seine De ere ae dene 2-8, 2-9, 2-10, B-1 Top of Form... cess the eye he ite ee ee a $612, 2-7; 2-0, 9-9 Troubleshooting .........+..+.-.-+: ie Ce kak sR a OS aINee 6 .. 43 . ,

CTeeCP cs os a Re aes es le ns a Dee al PE eg ee eg eo os eee 3-6, B-2, C-1 V

Voltage Selection ..........-- esse eee cece. Pe ap eget 1-2, E-1 thru E-4 ae :

» Warranty Information ............ eee eee e eee etter H-1 Wrap-Around ............ HA”) ae UMS Ligh shod SCR Re ey wo ts 3-7, B-1

Iindex-3