Home
NX-10 user`s manual
Contents
1. 146 147 48 1 149 252 254 20 21 29 128 129 130 131 132 133 134 135 136 137 138 139 140 141 F 142 E 143 144 145 146 147 148 149 150 151 150 151 International characters England Denmark Sweden France Germany 0 5 152 Norway Spain Japan Italy 153 Germany England Denmark Sweden France U S A ar Bg ell LI LI eL 154 Spain Japan Norway Denmark II Italy 155 ITALIC CHARACTERS Standard characters Set 1 and Set 2 Note The block graphics characters are the same as tho
2. 10 ACK OUT 9 microsecond LOW pulse acknowl edges receipt of data T 12 PAPER This signal is normally LOW It will go OUT HIGH if the printer runs out of paper This signal can be held LOW permanent ly by turning DIP switch 1 5 off This signal is HIGH when the printer is on line Signal ground G CHASSIS Printer s chassis ground isolated from GND logic ground 5VDC 00 j External supply of 5VDC 19 30 GND Twisted pair return signal ground level 31 RESET IN When this signal goes LOW the printer is reset to its power on condition 32 ERROR OUT This signal is normally HIGH This signal goes LOW to signal that the printer cannot print due to an error condi tion 11 BUSY OU When this signal goes LOW the printer is ready to accept data OUT Unused EXT GND External ground 34 36 Unused 220 and 33 are grounded Pin 18 is connected to the 5VDC supply in the printer Pin 31 can be used to reset the printer If this signal RESET goes low the printer will reinitialize Pin 32 is used to report er ror conditions in the printer This signal ERROR is high during normal operation and goes low to report that the printer cannot print due to an error condition APPENDIX H CONNECTING WITH COMPUTER In this appendix we ll show you how to connect with various computers If you cannot find out the name of your computer your printer dealer will give you advice on connecting
3. CHAPTER 8 CARING FOR YOUR PRINTER Subjects we ll cover in Chapter 8 include e Cleaning the printer Changing the ribbon e Replacing the print head As any good mechanic will tell you dust and heat are the big gest enemies of any mechanism And your printer is no excep tion The best maintenance is preventive maintenance so the first step in keeping your printer healthy and happy is to make sure it s in a clean dust free location The range of temperature should be comfortable for both you and your computer printer system Please refer to Chapter 1 for more tips on locating your printer CLEANING THE PRINTER Another important rule for keeping your printer young and healthy is to clean it regularly inside and out Just use a damp towel every week or so you can moisten the towel with alcohol for stubborn dirt but be careful not to get any alcohol on the printer mechanism Use a soft brush to remove dust and lint from wside the printer but be very careful not to bend or injure any electronic parts or wiring It doesn t take much to do expensive damage so don t fuss where you re not supposed to besides periodic cleaning the only other maintenance you ll have to do will be changing the ribbon cartridge or the print head 124 REPLACING THE RIBBON This printer uses an endless ribbon cartridge which means that the inked ribbon inside is recycled automatically Eventual ly though pri
4. Top bottom margins and vertical tabs PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE Sets the top margin ESC n 27 114 n 1B 72 n This command sets the top margin to lines Printing begins on the r 1 th line on the page This command is ig nored when the optional automatic sheet feeder is installed Chapter 4 PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE 183 Sets the bottom margin ESC N n 21 78 n 1B 4E n This command sets the bottom margin to n lines The printer will generate a form feed whenever there are lines left on the page This command is ignored when the optional automatic sheet feeder is in stalled The value of n must be between 1 and 255 Chapter 4 Cancels top and bottom margins ESC o 27 79 1B 4F This command cancels both the top margin and the bottom margin Chapter 4 Advances paper to the next ver tical tab position 11 0B This command causes the paper to be ad vanced to the next vertical tab position or the top of the next page whichever it finds first If the vertical tab positions are not set this command works as a line feed command Chapter 4 184 PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE PURPOSE CODE decimal ASCII hex ASC
5. REMARKS SEE Returns print head to the left margin carriage return CR 13 0D This command returns the print head to the left margin If DIP switch 1 8 has been set off then this command will also cause a line feed character to be generated after the carriage return thereby advancing to the beginning of the next print line automatically Chapter 4 186 PURPOSE CODE decimal ASCIT hex ASCII REMARKS SEE PURPOSE CODE decimal ASCII hex 5 REMARKS SEE Sets the left margin ESC n 27 108 n 1B 6 n This command sets the left margin to n characters Each line will begin in the 1 th character position from the left edge The value of n must be between 0 and 255 You can set the left margin manually with the control panel Note Changing the print pitch after the left margin has been set does not change the margin it stays in exactly the same place on the page Chapter 4 Sets the right margin ESC C n 27 81 n 1B 51 n This command sets the right margin to n which is the last character position that can be printed in a line After execu tion of this command any attempt to print beyond print position will cause the printer to automatically generate a carriage return and a line feed before printing the remainder of the line The value of n must be between 1 and 255 You can set the right margin manually with the control panel Note Changing t
6. Note The character 1 decimal code 49 hexadecimal code 31 can be used in stead of ASCII 1 Chapter 3 Cancels a superscript or subscript 5 27 84 1B 54 This command stops printing of superscripts or subscripts and sets nor mal printing It also cancels uni direc tional printing and boldface which are set automatically for superscripts and subscripts Chapter 3 177 CONTROLLING THE VERTICAL PRINT POSITION These commands are used to move the paper relative to the print head By moving the paper up or down the print head in effect moves the opposite direction down or up on the page Line feed and reverse line feed PURPOSE CODE decimal ASCIT hex ASCII REMARKS SEE PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE Advances the paper one line line feed The actual distance by the line feed is set through various codes which can be sent see below When DIP switch 1 8 is off a line feed is automatically generated whenever the printer receives a Carriage return Chapter 4 Reverses the paper one line ESC 27 10 1B 0A This command causes the printer to reverse the paper in effect moving the print head up on the sheet one line The actual distance travelled is set through various codes which can be sent see below Chapter 4 178 PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE PURPOSE CODE deci
7. Selects character set 1 ESC 8 Disables paper out detector ESC 9 Enables paper out detector ESC CHR 0 CHR 0 CHR 0 Copies standard ROM font into RAM ESC Selects one line uni directional print ing 211 ESC gt gt ESC ESC n0 nl ESC ESC A ESC ESC ESC ESC ESC E ESC F ESC ESC H n Sets the value of the eighth data bit to logical 0 Sets the value of the eighth data bit to logical 1 Redefines the graphics mode Resets the printer Sets or defines line spacing to 2 72 inch nl n2 n3 CHR 0 0 n n Sets vertical tab positions Sets page length to inches Sets page length to n lines nl n2 n3 CHR 0 ESC I 0 ESC 1 ESC J n CESC n11n2m1 m1 ESC L n1 n2 m1 m2 ESC M ESC N ESC ESC P ESC 0 ESC n n n ESC S 0 ESC S 1 ESC T ESC ESC 70 0 1 ESC W 0 ESC W 1 ESC X ESC Y n1 n2m1 m2 nl n2 Sets horizonal tab positions Selects emphasized printing Cancels emphasized printing Selects boldface printing Cancels boldface printing Selects undefined codes as control codes Prints characters in the undefined control code area Sends a one time paper feed of 2
8. To Printer 470 PUE 74LS Compatible BUSY ACK 4 7kQ From Printer Figure G 2 Typical interface circuit When the printer has successfully received the byte of data from the computer it sets pin 10 low for approximately 9 micro seconds This signal acknowledges the receipt of the data and so is called the ACK for acknowledge signal Pin 11 reports when the printer is not able to receive data The signal is called BUSY When this signal is high the printer cannot receive data This signal will be high during data transfer when the printer is off line and when an error condi tion exists 219 The printer will report that it has run out of paper by making the PAPER OUT signal on pin 12 high This pin can be held low by turning DIP switch 1 5 off When the printer is in the on line state pin 13 is held high This signal SELECTED tells the com puter that the printer is ready to receive data Pins 14 15 and 34 36 are not used while pins 16 17 19 30 Table G 1 Parallel interface pin functions Direction Function Signals when data is ready to be read Signal goes from HIGH to LOW for at least 0 5 microseconds when data is available IN IN e DATAS DATA7 Daras These signals provide the information of the first to eighth bits of parallel data Each signal is at HIGH level for a logical 1 and at a LOW level for a logical 0
9. C9 CA 1010 1010 1010 1010 1010 1010 1010 1010 1010 1010 1010 1011 1011 1011 1011 1011 1011 1011 1011 1011 1011 1011 1011 1011 1011 1011 1011 1100 1100 1100 1100 1100 1100 1100 1100 1100 1100 1100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 d 7 2 seasga saasa Ea ESTE bod Bono oe ea m ae Pa a Character set 1 10 10 22 Peat lord Fre una a lb M a i Fa Set2 esM r4 ll i 140 Decimal Hexadecimal 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 Standard Codes Binary CD CE DO D1 D2 D3 D4 D5 D6 D7 D8 D9 DA DB DC DD DE DF E0 E2 E3 4 5 E6 E7 E8 E9 EA E B EC ED EE EF F0 F1 1100 1100 1100 1100 1100 1101 1101 1101 1101 1101 1101 1101 1101 1101 1101 1101 1101 1101 1101 1101 1101 1110 1110 1110 1110 1110 1110 1110 1110 1110 1110 1110 1110 1110 1110 1110 1110 1111 1111 1011 1100 1101 1110 1111 0000 0001 0010 0011 01
10. de id lt 1 Es jr 40 40 49 41 41 28 28 31 29 29 The same as ESC EM 1 above Chapter 5 Ejects paper ESC EM 27 25 82 1 19 52 This command causes the printer to eject paper This command is ignored when the optional automatic sheet feeder is not mounted Chapter 5 Ejects paper d 40 40 82 41 41 28 28 52 29 29 The same as ESC EM above Chapter 5 208 MEMO APPENDIX E COMMAND SUMMARY IN NUMERIC ORDER Control code CHR 7 CHR 8 CHR 9 10 11 CHR 12 CHR 13 CHR 14 CHR 15 CHR 17 CHR 18 CHR 19 CHR 20 CHR 24 CHR 27 CHR 127 ESC CHR 10 ESC CHR 12 ESC CHR 14 ESC CHR 15 Function Sounds the printer bell Moves the print head back one print position backspace Moves the print head to the next horizontal tab position Advance the paper one line line feed Advances paper to the next vertical tab position Advances the paper to the top of the next page form feed Returns print head to the left margin carriage return Sets the printer to expanded print for the remainder of the current line Sets the printer to condensed print Sets printer on line Cancels the condensed print Sets printer off line Cancels one line expanded print Cancels line Escape indicated as ESC below Deletes the last character sent Reverses the paper one line Reverses the pap
11. power on Chapter 3 175 PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE PURPOSE CODE decimal ASCID hex ASCII REMARKS SEE PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE Selects underlining ESC wy 1 27 45 1 1B 2D 01 This command underlines the following characters until underlining is cancelled Note The character 1 decimal code 49 hexadecimal code 31 can be used in stead of ASCII 1 Chapter 3 Cancels underlining ESC __ 0 27 45 0 1B 2D 00 This command stops underlining Note The character 0 decimal code 48 hexadecimal code 30 can be used in stead of ASCII 0 Chapter 3 Selects superscripts ESC E 0 27 83 0 1B 53 00 This command raises the following characters and prints them as super scripts until superscripting is cancelled Superscripts are printed from left to right only and in boldface Superscripts cannot be used with NLQ printing Note The character 0 decimal code 48 hexadecimal code 30 can be used in stead of ASCII 0 Chapter 3 176 PURPOSE CODE decimal ASCID hex ASCII REMARKS SEE PURPOSE CODE decimal ASCII hex REMARKS SEE Selects subscripts ESC 55 1 27 83 1 1B 93 01 This command lowers the following characters and prints as subscripts until subscripting is cancelled All conditions described for superscripts also apply to subscripts
12. 15 useful in printing tables or charts since it ensures that vertical columns of characters will be in alignment Note The character 1 decimal code 49 hexadecimal code 31 can be used in stead of ASCII 1 Chapter 5 Cancels uni directional printing ESC U 0 27 85 0 1B 55 00 This command cancels uni directional printing and returns to the standard bi directional printing which is con siderably faster Note The character 0 decimal code 48 hexadecimal code 30 can be used in stead of ASCII 0 Chapter 5 202 PURPOSE CODE decimal ASCH hex REMARKS SEE PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE Selects one line uni directional printing ESC a 27 60 1B 3C This command immediately returns the print head to the left margin The re mainder of the line is printed from left to right Normal bi directional printing resumes following a carriage return Chapter 5 Enlarges characters in whole or in part cancels same ESC h n 27 104 n 1B 68 A This special command enlarges characters following the command until the enlargement is cancelled The values of n have the following effects Effect Cancels enlargement Double high double wide Quadruple high quadruple wide Double high double wide Lower half only Double high double wide Upper half only 5 Quadruple high quadruple wide Lower half only 6 Quadruple hi
13. 216 inch Prints normal density graphics Prints double density graphics Sets the print pitch to elite Sets the bottom margin Cancels top and bottom margins Sets the print pitch to pica Sets the right margin Selects an international character set Selects superscripts Selects subscripts Cancels a superscript or subscript Cancels uni directional printing Selects uni directional printing Cancels the expanded print Sets the printer to expanded print Sets the left and right margins Prints double density graphics with double speed 212 ESC 77 n1 n2 ml m2 ESC N n1 n2 Prints quadruple density graphics Moves the print head to a specified horizontal position ESC n0 n1 n2 m2 ESC a n ESC b n0 n1 n2 n3 ESC h n ESC i 0 ESC 7171 ESC ESC ESC p 0 ESC p 1 ESC n ESC x 0 ESC x 1 ESC 0 ESC 1 0 R Prints 9 pin graphics Sets alignment or centering CHR 0 Sets vertical tab positions in a chan nel Enlarges characters in whole or in part cancels same Cancels immediate print mode Sets immediate print mode Sends a one time reverse feed of n 216 inch Sets the left margin Cancels proportional print Sets the printer to proportional print Sets the top margin Cancels NLQ characters Selects NLQ characters Prints
14. A 6 Italy 1 France 7 Spain 2 Germany 8 Japan 3 England 9 Norway 4 Denmark 10 Denmark 5 Sweden You can select a particular international character set except Japan Norway and Denmark type II as a power on default by adjusting the settings of DIP switches 2 2 2 3 and 2 4 Chapter 5 Selects character set 2 ESC 27 54 1B 36 This command selects the character set 2 when the DIP switch 1 6 is set off You can select character set 2 as the power on default by turning DIP switch 1 7 off Chapter 5 168 PURPOSE CODE decimal ASCII hex ASCH REMARKS SEE PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE Selects character set 1 ESC gt 27 90 1B 37 This command causes the printer to cancel character set 2 and selects in stead character set 1 when the DIP switch 1 6 is set off You can select character set 1 as the power on default by turning DIP switch 1 7 on Chapter 5 Selects NLQ characters ESC 1 21 120 1 1B 78 01 This command causes the printer to print near letter quality NLQ characters until NLQ mode is cancelled NLQ mode cannot be used with any other special printing functions except underlining expanded printing and big character printing This command is 1g nored when the Panel mode is selected at the power on Note The character 1 decimal code 49 hexadecimal code 31 can be used in stead of ASCII 1 Chap
15. IBM BASIC is very insistent about adding a line feed to a carriage return This is fine if you are printing text but if an ASCII 13 pops up in the middle of your graphics printout IBM BASIC will still add a line feed to it This will put strange things in the middle of your graphics and leave you with extra characters at the end of your line There is an easy way to avoid this problem You just open the printer as a random file The following program shows how this is done RANDOM ACCESS SET WIDTH TO 255 PRINT A LINE ADD YOUR OWN LF 10 OPEN LPT1 AS 1 20 WIDTH 1 255 30 PRINT 1 TESTING 10 PRINT 1 CHR 10 Listing programs To list programs on this printer make sure the program is in the IBM s memory and use the LLIST command This directs the listing to the printer instead of the screen WITH APPLE COMPUTERS Apple II computers require an interface board mounted in side the Apple II and a cable to run this printer We recommend that you use the grafstar interface for the Apple II II 223 and Ile It comes complete with a cable and is easily installed A unique feature of the grafstar M makes it possible to do some fancy dot graphics programming You can of course use many of the available parallel inter face boards for the Apple II and an appropriate cable Table H 2 Apple parallel cable Printer Apple Board Pin No Function Pin No Function SIG
16. case of NLQ download characters m1 through m22 determine which dots form the character Note This command is ignored when the DIP switch 2 1 is set on SEE Chapter 6 192 PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE PURPOSE CODE decimal ASCII hex REMARKS SEE PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE Copies standard character ROM font into RAM ESC 0 0 0 27 58 0 0 0 1 00 00 00 This command copies all the standard characters to the corresponding download character RAM area This destroys any existing user defined characters in that rar ge Note This command is ignored when the DIP switch 2 1 is set on Chapter 6 Selects download character set ESC 1 0 27 37 1 0 1B 25 01 00 This command causes the printer to select the download character set Note The character 1 decimal code 49 hexadecimal code 31 can be used in stead of ASCII 1 Chapter 6 Cancels download character set ESC 0 0 27 37 0 0 1B 25 00 00 This command cancels the download character set and selects the previous character set Note The character 0 decimal code 48 hexadecimal code 30 can be used in stead of the first ASCII 0 Chapter 6 193 DOT GRAPHICS COMMANDS PURPOSE Prints normal density graphics CODE ESC 1 2 ml 2 decimal 5 27 75 nl n2 ml me hex ASCII 1B 4B nl n2 m
17. normal zero Prints slash zero Cancels auto feed mode Supplies paper Selects auto feed mode Ejects paper APPENDIX F TECHNICAL SPECIFICATIONS Printing Printing method Serial impact dot matrix Printing speed 120 characters per second in Draft pica 30 characters per second in NLQ mode Print buffer 5KB Paper feed 2 7 inches second in case of form feeding Tractor and Friction feed Printing direction Bi directional logic seeking Uni directional in dot graphics modes Character set Draft characters 96 standard ASCII characters 33 international characters 11 sets 81 IBM special characters 52 IBM block graphics characters 96 italic ASCII characters 33 italic international characters 11 sets 81 italic IBM special characters NLQ characters 96 standard ASCII characters 33 international characters 11 sets 81 IBM special characters Other characters 255 downloadable characters Character matrix 18 x 11 dots NLQ characters 9 x 11 dots Draft characters 12 x 11 dots IBM block graphics characters 8 x 480 dots normal density graphics 8 960 dots double density graphics 8 x 1920 dots quadruple density graphics 8 x 640 dots CRT graphics 214 Line spacing Column width Special features Paper Single sheets 8 x 720 dots CRT type II graphics 8 576 dots plotter graphics 1 6 inch standard 1 8 n 72 or n 216 inch programmable 80 normal pica 96 normal elite 136 condensed p
18. 00 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 0000 0001 Ea SA OSES OF FSE xe Character set Set1 Hol fcu B Heo E ras I Sr Maa NE CASES or FA Set2 141 Decimal Hexadecimal 242 243 244 245 246 247 248 249 250 251 252 253 254 255 Standard ASCII Codes Binary F2 F3 F4 F5 F6 7 F8 F9 FA FB FC FD FE FF 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 S 1 Character set Setl Rafe nn l be 2 22 aje lt o qoc lt N 1 Set2 e Xaj l I 22 142 MEMO APPENDIX C CHARACTER FONTS ROMAN CHARACTERS Standard characters Set 1 and Set 2 I NEN 44 1 555 214 21 E l A i 1 2 Y 145 OM
19. 5 Selects auto feed mode ESC EM 4 27 25 4 1B 19 04 This command causes the printer to select the auto sheet feeding mode This command is ignored when the optional automatic sheet feeder is not mounted Chapter 5 206 PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE PURPOSE CODE decimal hex ASCID REMARKS SEE PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE Selects auto feed mode p d gt 4 40 40 52 41 41 28 28 34 29 29 The same as ESC EM 4 above Chapter 5 Cancels auto feed mode ESC 0 27 25 0 1B 19 00 This command causes the printer to cancel the auto sheet feeding mode This command is ignored when the optional automatic sheet feeder is not mounted Chapter 5 Cancels auto feed mode gt 0 ye 40 40 48 41 41 28 28 30 29 29 The same as ESC EM 0 above Chapter 5 Supplies paper ESC 1 27 20 1 1B 19 01 This command causes the printer to supply paper under non auto sheet feeding mode This command is ignored when the optional automatic sheet feeder is not mounted Chapter 5 207 PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE Supplies paper
20. 8 This command shifts the print head ore column to the left If the print head is at the left margin the command is ignored This command can be used to overstrike characters Chapter 5 190 PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE Sets alignment or centering ESC a n 27 97 n 1B 61 n This command causes the printer to for mat text as follows n Text formatting 0 Left aligned ragged r ght margin 1 Centered 2 Right aligned Chapter 4 191 DOWNLOAD CHARACTER COMMANDS PURPOSE Defines download characters into RAM CODE ESC E 0 nln2mOml mil 12 m22 decimal ASCII 21 38 0 nin2mOml mll 12 22 hex ASCII 1B 26 00 nIn2mOml 11 m12 m22 REMARKS This command is used to set up one or more user defined characters and store them into RAM for later use RAM is cleared when the power is turned off The values of and n2 specify the range of positions in RAM that the characters are to occupy Valid character positions are any number between 0 and 255 Following 42 this printer expects character data bytes for each character to be defined The first byte m0 is the attribute bytes for it specifies whether the character is a descender if the first bit is 0 and the proportional width of the draft character starting and ending dot columns are defined by the low order seven bits m1 through m11 determine which dots form the draft character In
21. ASCII REMARKS SEE PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE Sets the master print mode ESC ye n 27 33 n 1B 21 n This is a powerful command that allows the user to set several printing characteristics at one time print pitch condensed print expanded print em phasizing boldface underlining and any combination of these as determined by a number from 0 to 255 See Table 3 10 for details Chapter 3 Selects emphasized printing ESC 27 69 1B 45 This command causes characters to be emphasized until emphasized printing is cancelled Chapter 3 174 PURPOSE CODE decimal ASCII REMARKS SEE PURPOSE CODE decimal ASCII hex REMARKS SEE PURPOSE CODE decimal ASCIT hex ASCII REMARKS SEE Cancels emphasized printing ESC epe 21 70 1B 46 This command cancels emphasized printing Chapter 3 Selects boldface printing ESC 27 71 1B 47 This command causes characters to be printed in boldface until boldface is cancelled Boldface cannot be used with superscripts or subscripts This com mand is ignored when the Panel mode is selected at the power on Chapter 3 Cancels boldface printing ESC H 27 72 1B 48 This command turns off boldface print ing and returns the printer to normal printing This command is ignored when the Panel mode is selected at the
22. CII 0 Chapter 5 Sets immediate print mode ESC 1 27 105 1 1B 69 01 This command selects the immediate print mode In the immediate print mode the print head prints one character at a time as you send it The printer also moves the paper up so that you can see the current line and then down to con tinue printing This kind of instant feed back can be especially helpful in telecom munications Note The character 1 decimal code 49 hexadecimal code 31 can be used in stead of ASCII 1 Chapter 5 PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE PURPOSE CODE decimal hex ASCID REMARKS SEE 205 Cancels immediate print mode ESC a 0 27 105 0 1B 69 00 This command cancels the immediate print mode and returns the normal print mode Note The character 0 decimal code 48 hexadecimal code 30 can be used in stead of ASCII 0 Chapter 5 Resets the printer ESC a 27 64 1B 40 This command reinitializes the printer The print buffer is cleared and the form length bottom margin and international character set are all reset to the values defined by their respective DIP switches The main difference between the ESC command and turning the printer off and back on again is that download characters and macro instruc tions are preserved with this command Chapter
23. COMMANDS PURPOSE CODE decimal 5 REMARKS SEE PURPOSE CODE decimal ASCH hex ASCII REMARKS SEE Sets the value of the eighth data bit to logical 1 ESC y 27 62 1B 3E This command forces the eighth data bit of each subsequent character sent to the printer to logical 1 This code allows users with a 7 bit interface to access those characters whose ASCII code is greater than 127 This code should not be used to transmit printer control codes Chapter 5 Sets the value of the eighth data bit to logical O ESC 27 61 1B 3D This command forces the eighth data bit of each subsequent character sent to the printer to logical 0 This code should not be used to transmit printer control code Chapter 5 198 PURPOSE CODE decimal ASCIT hex ASCII REMARKS SEE PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE Accepts the value of the eighth data bit as is ESC 27 35 1B 23 This command cancels either setting of the eighth data bit The printer will use the value of the eighth data bit that is sent from the computer This code allows users with a 7 bit interface to resume normal functions after accessing those characters whose ASCII code is greater than 127 Chapter 5 Print slash zero ESC 1 27 126 1 1 01 This command causes to prin
24. D1 D2 D3 Table H 4 TRS 80 Model parallel cable 5 80 BASIC You may have to initialize your Model to direct LPRINT statements to the printer Use the SYSTEM FORMS com mand to do it TRS 80 uses another version of Microsoft BASIC TRS 80 does have a few unique problem codes They are 0 10 11 and 12 None of these are passed properly to the printer 226 You can bypass the TRS 80 s BASIC and send these codes directly to the printer with the following short routine The variable N must be set equal to the code that you wish to pass in our example it s 0 900N 0 100 IF PEEK 14312 lt gt 63 THEN 100 110 14312 N Or you can use this special printer driver that will solve all your problems Just run this program first and then any codes sent by a BASIC program will be sent directly to the printer This program is for the TRS 80 Model III 5 REM DRIVER FOR TRS 80 III 10 AD 16571 20 FOR I 0 TO 14 30 READ A POKE AD 1 A 10 NEXT 50 POKE 16422 187 60 POKE 16423 61 70 DATA 3322325531203 1263329252333 11 059791263 211 251 201 80 END And here is a version for the TRS 80 Model 1 5 REM DRIVER FOR TRS 80 I 10 AD 16571 20 FOR I 0 TO 15 30 READ A POKE AD 1 A 40 NEXT I 50 POKE 16422 187 60 16123 64 70 DATA 33 232 55 203 126 32 252 33 21 4057 5226 20 232 55 201 80 END Listing programs To list a BASIC program that is in yo
25. GND SIG GND SIG GND STROBE SIG GND SIG GND SIG GND SIG GND STROBE N C DATA1 DATA2 DATA3 DATA3 DATA4 SSS DATA4 DATAS S DATAS DATA6 in DATA6 A DATA DATAS8 ee DATA8 ACK KA ACK SIG GND SIG GND Applesoft BASIC The Apple computer using Applesoft BASIC does not have different types of PRINT statements for the screen and printer You must add commands to your programs that direct the output of the PRINT statements to the printer To direct output to the printer with the interface board in slot 1 you must use the PR 1 command Depending on the version of Applesoft BASIC that you are using this command can take various forms It is usually one of the following DATA1 DATA2 CONDOS bn 10 PR 1 or 10 PRINT Ctrl D FRz1 or 10 PRINT CHR 4 PR 1 To return output to the screen the command is PR 0 in the same form that works for PR 1 To allow line length longer than the Apple II usually uses you must add the following statement to your programs 224 20 PRINT CHR 9 255N This allows lines of any length to be sent to the printer and is especially important for dot graphics The number 255 in the BASIC statement above could be replaced by any number from 0 to 255 and would set the line length to that value Two codes are particular problem on the Apple CHR 7 and CHR 9 The computer will not send these codes to this printer Try to avoid using these in dot graphics pr
26. II REMARKS SEE Sets vertical tab positions ESC nl n2n3 0 27 66 ni n2 Nn 0 1B 42 nl n2n 00 This command cancels all current ver tical tab positions and sets those defined at lines 41 n2 n3 etc The maximum number of vertical tab positions allowed is 16 The ASCII 0 character is used as a command terminator Each vertical tab position must be specified in ascending order Chapter 4 Selects vertical channel ESC m nO 27 47 1B 2F This command selects one of the multi ple vertical channels determined by the value of 0 The value of must be be tween 0 and 7 Chapter 4 PURPOSE CODE decimal hex REMARKS SEE 185 Sets vertical tab positions in a channel ESC b n0 nl n2 0 27 98 nO nl n2 n3 0 1B 62 nO nl n2 00 This command cancels all current ver tical tab positions in channel 20 and sets those defined at lines 21 n2 n3 etc The maximum number of vertical tab posi tions for each channel allowed is 16 The ASCII 0 character is used as a command terminator Each vertical tab position must be specified in ascending order The vertical channel 40 must be bet ween 0 and 7 Chapter 4 CONTROLLING THE HORIZONTAL PRINT POSITION This section described commands that move the print head and restrict its printing range such as setting margins and tabs PURPOSE CODE decimal ASCII hex ASCII
27. SEE PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE Sets printer on line DC1 17 11 This command resets the printer to an on line state thus allowing it to receive and process all subsequent characters and function codes This is not the same as pushing the On Line key When the On Line lamp is out the printer will not res pond to DC1 Chapter 5 Sounds the printer bell BEL 7 07 This command causes the buzzer to sound for about a quarter of a second Chapter 5 Disables paper out detector ESC 8 27 56 1B 38 This command causes the printer to disregard the signal sent by the paper out detector The paper out signal nor mally sounds the printer bell and stops printing until paper is inserted and the printer is reset DIP switch 1 5 can also set to disable the paper out detector Chapter 5 PURPOSE CODE decimal hex ASCII REMARKS SEE PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE 201 Enables paper out detector ESC gt 27 57 1B 39 This command restores the function of the paper out detector Chapter 5 Selects uni directional printing ESC 1 27 85 1 1 05 01 This command causes all subsequent printing to be done in uni directional printing Uni directional printing
28. T LF CR 50 51 DC2 DC3 DC4 CAN EM ESC Space gt 4 Set2 DC2 DC3 DC4 8 ESC Space th o 136 Decimal Hexadecimal 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 Standard ASCII Codes Binary 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F 40 4l 42 43 44 45 46 47 48 49 4A 4B 4C 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0011 0011 0011 0011 0011 0011 0011 0011 0011 0011 0011 0011 0011 0011 0011 0011 0100 0100 0100 0100 0100 0100 0100 0100 0100 0100 0100 0100 0100 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 MAS 5 Character set 5 1 Ck iho Mm M t Cho ar wr 2 mea 4 0 53 0 li Set2 dk Xo lt E Decimal Hexa
29. The parallel interface connects to the computer by a 36 pin connector on the back of the printer This connector mates with an Amphenol 57 30360 connector The functions of the various pins are summarized in Table G 1 Functions of the Connector Signals Communications between the computer and the printer use many of the pins of the connector To understand how the system of communications works we need to look at the func tions of the various signals carried by the pins of the interface connector Pin 1 the STROBE pulse signal from the computer to the printer This signal is normally held high by the computer When the computer has data ready for the printer it sets this signal to a low value for at least 0 5 microseconds When the printer sees this pulse on the strobe pin it reads the data that the computer supplies on pins 2 through 9 Each of these lines carries one bit of information A logical 1 is represented by a high signal level and a logical 0 is represented by a low signal level The computer must maintain these signals for a period beginning at least 0 5 microseconds before the strobe pulse starts and continuing for at least 0 5 microseconds after the strobe pulse ends 218 ie Susec Approx 9usec T More than 0 5usec Figure G 1 The interface timing diagram Signal Name Circuit Example 74LS Compatible DATA 1 DATA 8 4 7kQ To Printer 74LS Compatible 4 7kQ STROBE 1000
30. ard ASCII Codes Hexadecimal 79 7A 7B 7 7D 80 81 82 83 84 85 86 87 88 89 8 8 8 8D 8 8 90 91 92 93 94 95 96 97 98 99 9 9B 9 9D 9 9F AO Al A2 A3 4 Binary 0111 0111 0111 0111 0111 0111 0111 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1001 1001 1001 1001 1001 1001 1001 1001 1001 1001 1001 1001 1001 1001 1001 1001 1010 1010 1010 1010 1010 1001 1010 1011 1100 1101 1110 1111 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 0000 0001 0010 0011 0100 tw NEC Ov gt Character set Setl BEL BS HT LF 50 51 DC1 DC2 DC3 DC4 CAN EM ESC Y Y WW ANN Ce AR 0 OS O Th po m et 0 Q1 000 Qe 0 C Set2 E No 9 139 Decimal Hexadecimal 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 Standard ASCII Codes Binary A5 A6 7 8 A9 AA AB AC AD AE AF 1 B2 B3 4 5 B6 7 8 B9 BA BB BC BD BE BF 1 C2 C3 C4 C5 C6 C7 C8
31. d and 160 characters per line for elite con densed NLQ characters are not printed in condensed pitch You can select the pica condensed pitch with the control panel but you cannot select the elite con densed pitch manually This command is ignored when the Panel mode is selected at the power on Chapter 3 Sets the printer to condensed print ESC SD 27 15 1B OF Same as SI above Chapter 3 Cancels the condensed print This command cancels the condensed printing and returns the printer to the normal print pitch This command is ig nored when the Panel mode is selected at the power on Chapter 3 PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE 171 Sets the printer to expanded print ESC 1 27 87 1 1B 97 01 This command causes characters to be printed twice as wide as normally half the current pitch until expanded print ing is cancelled Note The character 1 decimal code 49 hexadecimal code 31 can be used in stead of ASCII 1 Chapter 3 Cancels the expanded print ESC gt 0 27 87 0 1B 97 00 This command resets the character pitch to what it was before expanded printing was set Note The character 0 decimal code 48 hexadecimal code 30 can be used in stead of ASCII 0 Chapter 3 S
32. d the car tridge and the ribbon drive gear and vicinity 7 Take the new ribbon and holder out of the wrapper remove the adhesive tape on the joint and place the rib bon holder into the cassette as shown in Figure 8 2 8 Pull out the ribbon and thread it as shown in Figure 8 3 It s easy for the ribbon to get twisted along its path so be careful 126 Figure 8 3 Make sure that the ribbon is not twisted when you thread it through its path 9 Firmly pull the idler gear towards you and guide the rib bon between the idler gear and the ribbon drive gear 10 Remove the top and ihe bottom of the ribbon holder 11 Replace the ribbon cartridge top cover 12 Now you re almost finished Remount the cartridge to the printer Notice that five replacements is the max imum after which you should buy a completelt new car tridge REPLACING THE PRINT HEAD The dot matrix print head has a remarkably long life It will print perhaps 100 000 000 characters before you have to replace it You ll know when that time comes when printing is too faint even after you replace the ribbon cartridge Warning The print head gets hot during operation so let it cool off before you touch it To replace the print head start by turning off the Power switch and unplugging the power cord Then follow this pro cedure 127 1 Remove the printer cover and the ribbon cartridge 2 Remove the connector cover on the pri
33. decimal 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 Standard ASCII Codes 4D 4E 4F 50 51 52 53 54 55 56 57 58 59 5A 5B 5 5 60 61 62 63 64 65 66 67 68 69 6A 6B 6C 6D 6E 6F 70 71 72 73 74 75 76 77 78 Binary 0100 0100 0100 0101 0101 0101 0101 0101 0101 0101 0101 0101 0101 0101 0101 0101 0101 0101 0101 0110 0110 0110 0110 0110 0110 0110 0110 0110 0110 0110 0110 0110 0110 0110 0110 0111 0111 0111 0111 0111 0111 0111 0111 0111 1101 1110 1111 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 0000 0001 0010 0011 0100 0101 0110 0111 1000 Character set Set1 JH 2 1 TQ ho and oe 0 Set2 lt 1 TQ N 0 Fs R C T Uu Y 137 138 Decimal 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 Stand
34. er to the top of the current page Sets the printer to expanded print for the remainder of the current line Sets the printer to condensed print ESC CHR 25 CHR 0 Cancels auto feed mode 210 ESC CHR 25 CHR 1 Supplies paper ESC CHR 25 CHR 4 Selects auto feed mode ESC CHR 25 Ejects paper ESC CHR 32 n Adds dot spaces between characters ESC Sets the master print mode ESC 4 Accepts the value of the eighth data bit as is ESC n1 n2 Moves the print head to an absolute horizontal position ESC 0 CHR 0 Cancels download character set ESC 1 CHR 0 Selects download character set ESC amp CHR 0 n1 n2 m0 m1 m11 m12 m22 Defines download character into RAM ESC n1 n2 m1 m2 Selects graphics modes ESC CHR 1 Executes macro instruction ESC CHR 30 Defines macro instruction ESC 0 Cancels underlining ESC 1 Selects underlining ESC Selects vertical channel ESC 0 Sets line spacing to 1 8 inch ESC 1 Sets line spacing to 7 72 inch ESC 2 Sets line spacing to 1 6 inch or uses the ESC A definition ESC 3 Sets line spacing to n 216 inch ESC 4 Selects italic characters ESC 5 Cancels italic characters ESC 6 Expands the printable area Selects character set 2 ESC 7 Cancels the expansion of printable area
35. ets the printer to expanded print for the remainder of the current line SO 14 0 This command causes characters to be printed twice as wide as normally until a carriage return is sent It also cancelled with Chapter 3 172 PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE Sets the printer to expanded print for the remainder of the current line ESC 50 27 14 1B 0E Same as SO above Chapter 3 Cancels one line expanded print DC4 20 14 This command cancels one line expand ed print set with SO or ESC SO Chapter 3 Sets the printer to proportional print ESC 1 27 112 1 1 70 01 This command causes draft characters to be printed with proportional spacing until proportional printing is cancelled Note The character 1 decimal code 49 hexadecimal code 31 can be used in stead of ASCII 1 Chapter 3 PURPOSE CODE decimal ASCII 5 REMARKS SEE 173 Cancels proportional print ESC p 0 27 112 0 1B 70 00 This command cancels the proportional printing and returns to the fixed pitch printing Note The character 0 decimal code 48 hexadecimal code 30 can be used in stead of ASCII 0 Chapter 3 Special print modes PURPOSE CODE decimal ASCII hex
36. gh quadruple wide Upper half only Chapter 5 Co dh olx 4 PURPOSE CODE decimal ASCII hex REMARKS SEE PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE 203 Expands the printable area ESC 27 54 1B 36 This command causes the printer to use the high order control code area as the printable character area when the DIP switch 1 6 15 set on Chapter 5 Cancels the expansion of printable area ESC 27 55 1B 37 This command cancels the expansion of the printable character area and restores the high order control code area when the DIP switch 1 6 is set on Chapter 5 Prints characters in the undefined control code area ESC 1 27 73 1 1B 49 01 This command causes the printer to print the characters in the undefined con trol code area Note The character 1 decimal code 49 hexadecimal code 31 can be used in stead of ASCII 1 Chapter 5 204 i TEE PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE Selects undefined codes as control codes ESC 0 27 73 0 1B 49 00 This command cancels to print the characters in the undefined control codes and restores them as the control codes Note The character 0 decimal code 48 hexadecimal code 30 can be used in stead of AS
37. haracter definitions are ignored and the RAM is used as the print buffer When this switch is off the download character definitions are enable to use and the print buffer is set to one line buffer This switch is set on at the fac tory These three switches determine the default interna tional character set leaving the Japanese Norwegian and the second Danish as shown in Table A 2 These switches are all set on at the fac tory Table A 2 International character sets APPENDIX B ASCII CODES AND CONVERSION CHART Standard ASCII Codes Binary Decimal Hex 0 00 1 01 2 02 3 03 4 04 5 05 6 06 7 07 8 08 9 09 10 0 11 0B 12 0c 13 0D 14 0 15 0 16 10 17 11 18 12 19 13 20 14 21 15 22 16 23 17 24 18 25 19 26 1A 27 1B 28 1C 29 1D 30 1E 31 1F 32 20 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0001 0001 0001 0001 0001 0001 0001 0001 0001 0001 0001 0001 0001 0001 0001 0001 0010 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 0000 Control Character Ctrl Ctrl A Ctrl B Ctrl C Ctrl D Ctrl E Ctrl G Ctrl H Ctrl 1 Ctrl J Ctrl K Ctrl L Ctrl M Ctrl N Ctrl O Ctrl P Ctr Q Ctrl R Ctrl S Ctrl T Ctrl U Ctrl V Ctrl W Ctrl X Ctrl Y Ctrl Z Character set 5 1 BEL BS H
38. he print pitch after the right margin has been set does not change the margin it stays in exactly the same position on the page Chapter 4 PURPOSE CODE decimal hex ASCII REMARKS SEE PURPOSE CODE decimal 5 hex ASCII REMARKS SEE 187 Sets the left and right margins ESC X nl n2 27 88 nl n2 1B 58 nl n2 This command sets the left margin to n1 characters the right margin to n2 The values of 17 and 12 must between 1 and 255 and 12 should be greater than nl You can set the left and right margins manually with the control panel Note Changing the print pitch after the margins have been set does not change the margins they stay in exactly the same positions on the page Chapter 4 Moves the print head to the next horizontal tab position HT 9 09 This command causes the print head to advance to the next horizontal tab posi tion The horizontal tab positions are set at power on to print positions 8 16 24 etc to the maximum print position Chapter 4 188 PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE Sets horizontal tab positions ESC D nln2n3 0 27 68 nln2n3 0 1B 44 nln2n3 00 This command cancels all current horizontal tab positions and sets those defined at print positions 11 n2 n3 etc The maximum number of horizontal tab positions all
39. ica 160 condensed elite 40 expanded pica 48 expanded elite 68 expanded condensed pica 80 expanded condensed elite and proportional spacing Near Letter Quality Short tear off Easy access format switches Self test Hex dump Skip over perforation Automatic sheet feeder option 5 5 8 5 inches wide 0 07 0 10 mm thickness Sprocket feed paper Printer Dimensions Weight Power Environment Ribbon 4 10 inches wide 0 07 0 10 mm one part form thickness Max 0 28 mm 3 part form thickness Height 104 mm 4 1 inches Width 400 mm 15 7 inches Depth 336 mm 13 2 inches 6 Kg 13 2 pounds 120 VAC 10 60Hz 220 VAC 10 50 60Hz 240 VAC 10 50 60Hz Terperature 5 to 35 C 40 to 95 F Humidity 10 to 80 non condensing Black cloth ribbon in special cartridge Parallel interface Interface Synchronization Handshaking Logic level Connector 215 Centronic compatible 7 or 8 bit By external supplied Strobe pulses By ACK or BUSY signals TTL 57 30360 Amphenol 216 MEMO APPENDIX G THE PARALLEL INTERFACE This printer has a parallel interface to communicate with the computer that it is connected to The operating specifications of the parallel interface are as follows Data transfer 1 000 to 6 000 characters per second Synchronization Via externally supplied STROBE pulses Handshaking ACK and BUSY signals Logic level Compatible with TTL level
40. ich pins are fired for each character Chapter 7 Prints quadruple density graphics ESC 77 n1n2mlme 27 90 nl n2 ml m2 1B 1 2 2 This command selects 240 dots per inch column scan bit image graphics mode The values of 41 and 12 are the same as in normal density graphics The correct number of graphics data bytes m1 m2 etc must follow 2 The ASCII value of these characters determine which pins are fired for each character Chapter 7 195 PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE Selects graphics modes ESC n0 nl n2 ml 2 27 42 nl n2 ml m2 1B 2A nO nl n2 ml m2 This command selects one seven possi ble graphics modes depending on the value of 20 The values of 11 and 42 are the same as normal density graphics mode The correct number of graphics data bytes m1 m2 etc must follow 12 The ASCII value of these characters determine which pins are fired for each character The value of must be be tween 0 and 6 as shown below n Graphics mode 0 Normal density 1 Double density 2 Double density with double speed 3 Quadruple density 4 CRT graphics 5 Plotter graphics 6 CRT graphics type Chapter 7 Prints 9 pin graphics ESC 7 nOnI n2m1 m2 27 94 nOnln2mlm2 1B SE nOnlm2ml m2 This command selects 60 dots per inch c
41. l 2 REMARKS This command selects 60 dots per inch column scan bit image graphics mode The values of nl and n2 represent the number of graphics characters to be printed where the total number of characters n2 times 256 nl The correct number of graphics data bytes m1 m2 etc must follow n2 The ASCII value of these characters deter mine which pins are fired for each character SEE Chapter 7 PURPOSE Prints double density graphics CODE ESC L nil n2m1 2 decimal ASCII 27 76 nl n2 ml m2 hex ASCII 1B 4C nl n2 ml 2 REMARKS This command selects 120 dots per inch column scan bit image graphics mode The values of n1 and 12 are the same as in normal density graphics The correct number of graphics data bytes m1 m2 etc must follow 12 The ASCII value of these characters determine which pins are fired for each character SEE Chapter 7 194 PURPOSE CODE decimal 5 hex ASCII REMARKS SEE PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE Prints double density graphics with double speed ESC Y nl n2m1 2 27 89 nl n2 ml 2 1B 59 nl n2 ml m2 This command selects 120 dots per inch column scan bit image graphics mode with double speed The values of n1 and n2 are the same as in normal density graphics The correct number of graphics data bytes m1 m2 etc must follow n2 The ASCII value of these characters determine wh
42. mal ASCII hex REMARKS SEE PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE Sets line spacing to 1 8 inch ESC o 27 48 1B 30 This command sets the actual distance the paper advances or reverses during all subsequent line feeds to 1 8 inch Chapter 4 Sets line spacing to 7 72 inch ESC 12 27 49 1B 31 This command sets the actual distance the paper advances or reverses during all subsequent line feeds to 7 72 inch Chapter 4 Sets line spacing to n 216 inch ESC 3 n 27 51 n 1B 33 n This command sets the actual distance the paper advances or reverses during all subsequent line feeds to n 216 inch The value of n must be between 1 and 255 Chapter 4 179 PURPOSE CODE decimal 5 hex ASCII REMARKS SEE PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE Sets or defines line spacing to n 72 inch ESC A n 27 65 n 1B 41 n This command works in two different functions depending on the setting of DIP switch 1 6 When the DIP switch 1 6 is set off this command defines the ac tual distance the paper advances during all subsequent line feeds to 1 72 inch This command must be used in conjunc tion with ESC 2 which activates the ESC A definition When the DIP switch 1 6 is set on this command sets the actual distance the paper advances during all subsequent line feeds to 2 72 inch immediately The
43. mal ASCII hex ASCII REMARKS SEE Advances the paper to the top of the next page form feed FF 12 0C The actual length of a page ejected by a form feed is set either by setting of DIP switch 1 1 or through various codes which can be sent see below This com mand works as the ejecting paper com mand when the optional automatic sheet feeder is installed Chapter 4 Reverses the paper to the top of the current page ESC FF 27 12 18 0C This command causes the printer to reverse the paper to the top of the cur rent printing page or form This com mand is ignored when the optional automatic sheet feeder is installed Chapter 4 182 PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE PURPOSE CODE decimal ASCII hex ASCII REMARKS 4 SEE Sets page length to n inches ESC 0 n 27 67 0 n 1B 43 00 n This command sets the length of all subsequent pages to inches The value of n must be between 1 and 32 You can select a power on default form length of 11 inches or 12 inches by setting DIP switch 1 1 This command is ignored when the optional automatic sheet feeder is installed Chapter 4 Sets page length to n lines ESC n 27 67 n 1B 43 n This command sets the length of all subsequent pages to lines The value of n must be between 1 and 255 This com mand is ignored when the optional automatic sheet feeder is installed Chapter 4
44. nction code does CODE Control code mnemonic decimal ASCII decimal equivalent hex Hexadecimal equivalent REMARKS Briefly describes how the command is used SEE Tells where details of the command may be found Several commands require you to specify a value or values In _ these cases we have used an n or m to indicate a variable You should insert the ASCII code for the proper value here 166 COMMANDS TO CONTROL PRINT STYLE These commands are used to control the font style the print pitch and special effects Font style controls PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE Selects italic characters ESC 4 27 52 1 34 This command causes draft characters to be printed in italics until italic printing is cancelled Chapter 3 Cancels italic characters ESC 5 27 53 1 35 This command causes the printer to cancel the italic printing and select in stead the standard roman characters Chapter 3 167 PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE Selects an international character set ESC R n 27 82 n 1B 52 n This command selects the international character set according to the value of n as shown in the table below n Character set n Character set 0 U S
45. nter frame Figure 8 4 Replacement of the print head is simple 3 Remove the tab fastening the print head 4 Holding the print head and the head cable board secure ly unplug the head cable 5 Connect the cable of a new print head to the head cable board and fasten it reversing the above procedures Be absolutely sure that the connection between the print head and the cable is secure A loose cable will cause you problems later 129 Appendix 130 MEMO APPENDIX A DIP SWITCH SETTINGS A dual in line set of switches collectively called a one DIP switch controls some of the functions of the printer The DIP switch actually contains several individual switches This printer has one DIP switch with 10 individual switches in it and one DIP switch with 6 individual switches Figure A 1 is a draw ing of a typical DIP switch Figure A 1 The DIP switch is several small switches in one package All two DIP switches are readily accessible from the top They are located in the compartment with the print head and can be seen by opening the printer cover To set one of the switches use a ball point pen to move the switch lever gently The on position is towards the back of the printer and off is towards the front Never change the settings of any of the DIP switches when the power is turned on Turn off both the printer and your com puter to change the settings The indi
46. nting will become too faint to read easily and you ll want to change the ribbon By far the most convenient way to change the ribbon is to simply replace the whole cartridge see Chapter 1 for details After all the reason for using a cartridge is so that you can make the change easily and quickly But if for some reason you enjoy taking the time to mess with dirty ribbons read on Follow this procedure to remove the old ribbon and insert the new one in the original cartridge not recommended for people with ten thumbs 1 First obtain from your dealer the correct type of ribbon sub cassette not the spool type ribbons used with some other printers 2 Grasp both ends of the ribbon cartridge and pull the car tridge up and out of the printer Refer to Chapter 1 for il lustrations of installing the refilled ribbon cartridge 3 Unhook the six tabs of the cartridge cover carefully Figure 8 1 B Figure 8 1 Use a screwdriver to pry open the cartridge 125 4 Using a screwdriver with a thin blade pry open the car tridge cover Figure 8 1 shows the numerous slots for in serting a screwdriver 5 Press hard against the end of the idler gear holder to make a space between the holder and the ribbon drive gear and remove the old ribbon and holder See Figure 8 Figure 8 2 Replace the ribbon sub cassette 6 Clean the inside of the cartridge the area aroun
47. ograms The Apple II computer uses CHR 9 as a printer initializa tion code It won t send it on to the printer There is a way to bypass this problem however You can change the printer initialization code to a value other than CHR 9 like this PR 1 PRINT CHR 9 CHR 1 This makes CHR 1 the printer initialization code and transfers the problems to that code and allows you to use this printer s tabs There is one more way to sneak problem codes past the Apple II s operating system and that s to poke the codes directly to the output port To send ASCII code 9 for example you could do this 100 9 110 IF PEEK 49601 gt 127 THEN 110 120 POKE 49296 N Line 110 checks the printer s status and when it s okay line 120 pokes the code to the printer Listing programs To make a listing of your BASIC programs on this printer from your Apple computer you must take the following steps 1 Be sure that the program that you wish to list is in the memory of the Apple II 2 Direct the output to the printer by typing PR 1 3 Type LIST to start the listing 225 4 When the listing is finished type PR 0 to redirect the output to the screen CONNECTING WITH TRS 80 COMPUTERS All that s required to connect this printer to your TRS 80 is a cable It is available at your printer dealer Table H 3 TRS 80 Model I parallel cable Printer TRS 80 Model I Pin No Function Pin No Function STROBE
48. olumn scan 9 pin bit image graphics mode The value of determines the print density The values of nl and n2 are the same as in normal density graphics The correct number of graphics data bytes m1 m2 etc muct follow 12 The ASCII values of these two characters determine which pins are fired for each character Chapter 7 196 PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE Redefines the graphics mode ESC ni 27 63 n0 ni 1B 3F n0 nl This command redefines one of the 4 alternate graphics codes ESC SSC ESC Y or ESC 7 as one of the seven graphics density numbers with the ESC command where 10 is 7 and nl is between 0 and 6 Chapter 7 MACRO INSTRUCTION COMMANDS PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE Defines macro instruction ESC easi RS 27 87 30 1 ZB 1 This command cancels any existing macro instruction and replace it with the instruction defined The maximum number of characters allowed in the macro instruction is 16 The RS character marks the end of the macro definition Chapter 5 Executes macro instruction ESC d 1 27 43 1 1B 2B 01 This command executes a macro instruc tion that was previously defined Chapter 5 197 OTHER
49. owed is 40 The ASCII 0 character is used as a command ter minator Each horizontal tab position must be specified in ascending order Chapter 4 Moves the print head to an ab solute horizontal position ESC nl n2 21 36 nl n2 1B 24 nl n2 This command causes the printer to move the print head to an absolute horizontal position The position in in ches is determined by the formula n1 n2 x 256 60 The maximum position 15 8 inches Chapter 4 PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE 189 Moves the print head to a specified horizontal position ESC EN nl n2 27 92 nl n2 1B 5C nl m2 This command causes the printer to move the print head to a specified horizontal position It can move the print head either left or right The distance in inches is determined by the formula n1 n2 x 2561120 To move to the left add 64 to the calculated value of 42 The maximum distance is 8 inches The command will be ignored if you try to move to a posi tion outside of the current margins Chapter 4 Adds n dot spaces between characters ESC space n 27 32 n 1B 20 n This command increases the space be tween NLQ characters by dots when the DIP switch 1 6 is set on Chapter 5 Moves the print head back one print position backspace BS 8 0
50. printer width The following statement will prevent the computer from insert ing unwanted codes 10 WIDTH LPRINT 255 Listing programs Microsoft BASIC uses the L prefix on several commands to direct them to the printer To list programs on the printer just type LLIST To direct program output to the printer use LPRINT in place of PRINT
51. se of the roman characters 156 AO LLTTTTITIJ Ge 159 Special characters Set 2 only 140 160 Spain Japan Norway Denmark II Italy na E 10 e m 163 Germany England Denmark Sweden France U S A 164 Norway Denmark I Japan Spain Italy 5 126 APPENDIX D FUNCTION CODES The purpose of this Appendix is to provide a quick reference for the various functions available on this printer Codes are described in the following format PURPOSE Tells what the fu
52. t zero with slash Note The character 1 decimal code 49 hexadecimal code 31 can be used in stead of ASCII 1 Chapter 5 Prints normal zero ESC 0 27 126 0 1B 7E 00 This command cancels to print slash zero and returns to print normal zero Note The character 0 decimal code 48 hexadecimal code 30 can be used in stead of ASCII 0 Chapter 5 199 PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE PURPOSE CODE decimal hex ASCII REMARKS SEE PURPOSE CODE decimal ASCII hex REMARKS SEE Deletes the last character sent DEL 127 This command deletes the last character received This command is ignored if the last character received has already been printed or if the last character received was all or part of a function code Chapter 5 Cancels line CAN 24 18 This command deletes the last line in the print buffer at the time the command is used Chapter 5 Sets printer off line DC3 19 13 This command causes the printer to set itself off line disregarding all subse quent characters and function codes with the exception of DC1 which will return the printer to an on line state This is not the same as pushing the On Line key When the On Line lamp is out the printer will not respond to DC1 Chapter 5 200 PURPOSE CODE decimal ASCII hex ASCII REMARKS
53. ter 3 PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE Font pitch controls PURPOSE CODE decimal 5 hex ASCII REMARKS SEE PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE 169 Cancels NLQ characters ESC ib 0 27 120 0 1B 78 00 This command cancels NLQ printing and returns the printer to the draft mode This command is ignored when the Panel mode is selected at the power on Note The character 0 decimal code 48 hexadecimal code 30 can be used in stead of ASCII 0 Chapter 3 Sets the print pitch to pica ESC 21 80 1B 50 This command causes printing to be done in pica pitch with 80 characters per line This command is ignored when the Panel mode is selected at the power on Chapter 3 Sets the print pitch to elite ESC M 27 17 1B 4D This command causes printing to be done in elite pitch with 96 characters per line NLQ characters are not printed in elite pitch This command is ignored when the Panel mode is selected at the power on Chapter 3 170 PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE Sets the printer to condensed print SD 15 OF This command causes printing to be done in condensed pitch with 136 characters per line for pica condense
54. this printer to your computer CONNECTING WITH IBM PC AND COMPAQ Both the IBM Personal Computer and the Compaq computer function the same when connected to this printer We will discuss the IBM PC knowing that all we say works just as well as for the Compaq You only need a cable to connect this printer to your IBM PC Your printer dealer can furnish this cable or you can use a standard IBM PC parallel printer cable for the parallel inter face Table H 1 IBM PC parallel cable Pin No unction Pin No Function STROBE DO 01 D2 D3 D4 D5 D6 D7 ACK BUSY PAPER PAPER END SELECTED 2 SELECT GROUND m 18 25 GROUND RESET 16 RESET ERROR M 15 ERROR 1 2 3 4 5 6 7 8 9 0D ga WDNR 222 BASIC programming When you start writing your own programs there are several things you should know IBM BASIC defaults to a printer width of 80 This means that it will automatically insert a carriage return and line feed after every 80 characters If you want to print lines longer than 80 characters you will need to change the width of the printer If you set the printer width to 255 then the IBM will never insert a line feed and carriage return unless you start a new line This 15 what you want usually To set the width of the printer to 255 use this statement 100 WIDTH LPT1 255 IBM BASIC has one other little trick that will mess up your graphics if you let it
55. ur TRS 80 s memory on 227 this printer type LLIST This directs the listing to the printer instead of the screen CONNECTING WITH KAYPRO OSBORNE AND OTHER CP M COMPUTERS All that you need to connect this printer to an Osborne 1 or Kaypro computer is a cable Your printer dealer can provide the cable that you need Table H 5 Kaypro parallel cable Printer Kaypro Pin No Function Pin No Function STROBE STROBE DATA1 DATA1 DATA2 DATA2 DATA3 DATA3 DATA4 DATA4 DATA5 DATA5 DATA6 ___ DATA6 DATA7 DATA7 DATAS DATAS BUSY BUSY SIG GND SIG GND Table H 6 Osborne 1 parallel cable PinNo Function Pin No Function 1 DATA5 DATA2 DATA6 DATA3 DATA7 DATA4 DATAS STROBE BUSY SIG GND Sone kN O y 1 2 3 4 5 6 7 8 11 15 16 Using MBASIC Many CP M computers use Microsoft BASIC called MBASIC MBASIC is a very close relative of the IBM Microsoft BASIC The only difference is that MBASIC inter prets CHR 9 and substitutes a group of spaces to simulate a 228 tab You can send a horizontal tab to this printer by using CHR 137 instead of CHR 9 Some versions of Microsoft BASIC will add a carriage return and line feed at the end of every 80 or sometimes 132 characters To print lines longer than 80 or 132 characters as when doing dot graphics you must define a wider
56. value of n must be between 1 and 255 Chapter 4 Sets line spacing to n 72 inch or Use ESC A definition ESC 27 50 1 32 This command works in two different functions depending on the setting of DIP switch 1 6 When the DIP switch 1 6 is set off this command activates the line spacing defined in the ESC A com mand If the ESC A command has not been defined the line spacing is changed to 1 6 inch When the DIP switch 1 6 is set on this command sets the actual distance the paper advances during all subsequent line feeds to 1 6 inch Chapter 4 180 PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE PURPOSE CODE decimal ASCII hex ASCII REMARKS SEE Sends a one time paper feed of n 216 inch ESC gi n 27 74 n 1B 4A n This command causes the printer to ad vance the paper n 216 inch It does not change the current value of line spacing and it does not cause a carriage return The value of n must be between 1 and 255 Chapter 4 Sends a one time reverse feed of n 216 inch ESC T n 27 106 n 1B 6A n This command causes the printer to reverse the paper n 216 inch It does not change the current value of line spacing and it does not cause a carriage return The value of n must be between 1 and 255 Chapter 4 181 Form feed and related commands PURPOSE CODE decimal hex ASCII REMARKS SEE PURPOSE CODE deci
57. vidual switches on DIP switch 1 are called 1 1 132 through 1 10 those on switch 2 are 2 1 through 2 6 Table A 1 summarizes the functions of DIP switches 1 and 2 Table A 1 DIP switch settings Switch 1 1 1 12 page length Draft characters NLQ characters Print normal zero rint slash zero et bottom margin to 1 inc aper out not detected et IBM mode haracter set 2 LF must be from host uto LF with CR 11 page length 2 3 2 4 Not used Not used Figure A 2 The DIP switches are located under the printer cover 133 SWITCH FUNCTIONS Switch Functions 1 1 1 2 1 3 1 4 1 5 1 6 1 7 1 8 This switch sets the default page length When the switch is on the page length is set to 11 inches When the switch is off the page length is set to 12 inches This switch is set on at the factory This switch selects the default character style If this switch is on the default character style is nor mal draft characters If this switch is off the default character style is Near Letter Quality NLQ characters This switch is set on at the factory This switch tells the printer how to print zeroes When the switch is on the printer prints the normal zero when it is off the slash zero which is often us ed in draft mode to prevent any possible confusion with the letter O This switch is set at the fac tory This s
58. witch determines the default bottom margin When this switch is on the bottom margin is not set at the power on When this switch is off the bottom margin is automatically set to 1 inch This switch is set on at the factory This switch disables the paper out detector If the switch is on the printer will signal the computer when it runs out of paper and will stop printing If the switch is off the printer will ignore the paper out detector and will continue printing This switch 15 set on at the factory This switch selects the active control codes Turn this switch on to use the Standard mode Turn this switch off to use the IBM compatible mode This switch is set on at the factory This switch selects the default character set If this switch is on the default character set is Character Set 1 If this switch is off the default character set is Character Set 2 If switch 1 6 is set on this switch have no effect This switch is set on at the factory When this switch is on the computer must send a line feed command every time the paper is to ad vance When this switch is off the printer will 134 2 1 2 2 2 4 automatically advance the paper one line every time it receives a carriage return Most BASICs send a line feed with every carriage return therefore this switch should usually be on This switch is set on at the factory This switch controls the RAM condition When this switch is on the download c
Download Pdf Manuals
Related Search
Related Contents
Samsung HW-E450C User's Manual Axis Communications Security Camera axis User's Manual BENDIX BW7542S User's Manual graph100_man2 - Support Téléchargez - Canadian Tire 会報「協会ニュース」2015年春号 Copyright © All rights reserved.
Failed to retrieve file