Home

LC-10 USERS MANUAL

image

Contents

1. i mn o t3 137 153 185 20 217 233 249 155 171 187 203 29 235 251 220 at a ks lp p 236 252 223 239 255 103 CHARACTER SET 1 149 150 EN ER R DEDE ZINC Other characters are identical to IBM character set 2 The duplication of control codes enables systems with a 7 bit interface to obtain control functions when the most significant bit is set to 1 by the lt ESC gt gt command 104 ADDITIONAL CHARACTER SET In IBM mode additional characters can be printed by special commands GREEK 105 INTERNATIONAL CHARACTER SETS When an international character set is selected by DIP switches 2 2 to 2 4 or by a command from software the following changes are made in the character set os 36 64 91 92 ss oa se ispast MEHREREN RH v ets DENMARK NORWA See page 17 for the DIP switch settings The commands for selecting the international character sets are Standard mode lt ESC gt R n IBM mode FS R n Where n means character code n i e CHR n in BASIC The values of n are 0 U S A 5 Italy 10 Denmark IT 1 France 6 England 11 Spain 2 Germany 7
2. CLS LOCATE 1 1 PRINT SAVE TO FILE S 1 2 1 903 S1 No GOSUB 3020 IF 5 THEN 2530 LOCATE 5 10 PRINT Output file name FIS INPUT FO IF FO AND FI THEN 2450 IF FO THEN FOS FIS OPEN R 41 F0 48 FIELD 41 48 AS A LSET A HD STRING 48 LEN HD 0 PUT 1 1 GOSUB 3420 CLOSE 1 LOCATE 7 1 PRINT DOWNLOAD TO PRINTER DIP SWITCH 2 1 MUST BE OFF S 0 PX 8 PY 1 S0 Yes S1 No GOSUB 3020 IF S THEN END LOCATE 11 1 PRINT PRINT CHARACTER SET 5 0 PX 12 PY 1 S0 Yes S1 No GOSUB 3020 IF S THEN END LOCATE 15 1 PRINT WHICH MONITOR ARE YOU USING 5 0 S1 COLOR S0 MONOCRO PX 16 1 GOSUB 3020 PB S GOSUB 3500 LPRINT E 3 CHRS 50 FOR CC 33 TO 126 LPRINT CHR CC NEXT CC LPRINT STRING 10 10 PRINT STRING 5 10 END a SUBROUTINES m mm Selector 1 5 2 LOCATE PX PY PRINT 1505 LOCATE 1 PRINT 51 IF NOT S THEN 3060 ELSE 3070 LOCATE PX PY PRINT gt LOCATE PX 1 PY PRINT LOCATE PX PY IF S THEN 3080 ELSE 3090 LOCATE PX PY PRINT LOCATE PX 1 PY PRINT gt LOCATE PX PY I S INPUT 1 IF I lt gt CHR 13 THEN S GOTO 3050 RETURN EX Gd Input check 9
3. FUNCTION Print double density double speed 8 bit graphics Print quadruple density 8 bit graphics Select character height width and line spacing Enable printing of all caaracter codes Relative horizontal tab Enable printing of all character codes on next character Print 9 pin graphics Stop overlining Start overlining Left justify Center text Right justify Set vertical tab stops in channel Set top margin Set horizontal tab stop every n columns Set vertical tab stops every n lines Absolute horizontal tab in columns Feed paper n lines Select double or quadruple size Cancel immediate print Immediate print Perform one n 216 inch reverse line feed Select NLQ type style Set left margin Select fixed spacing Select proportional spacing Select standard character set Select IBM character set Return to normal height Print double height characters Select draft quality characters Select NLQ characters Select normal zero Select slash zero Select italic characters Select upright characters Copy standard characters from ROM into RAM Set MSB to 0 Set right margin Select international character set Relative horizontal tab Manual feed Auto feed Eject paper from ASF Set print start position on ASF PAGE 80 81 70 65 79 65 82 63 62 78 78 78 75 78 75 80 72 69 87 72 60 76 68 67 63 64 69 69 59 60 65 65 61 82 86 76 64 79 88 89 89
4. Set horizontal tab stop every n columns ASCII 27 101 48 65 30 m t O ES e lt 0 gt n 27101 0 n JIB 65 00 m 78 Cancels all current horizontal tab stops and sets new tab stops every n columns where is between 1 and 127 Reset all tab stops ASCII IBM lt ESC gt R 27 82 52 Resets the horizontal tab stops to their power up values in which a tab stop is set every 8 column starting at column 9 Also clears all vertical tab stops Horizontal tab ASCII Bot SM o ee Moves the print position to the next horizontal tab stop Ignored if there is no next horizontal tab stop in the current line Note that when un derlining is selected spaces skipped by horizontal tabulation are not underlined Relative horizontal tab asa Deima Hexadecimal Std lt ESC gt m o nl n2 27 92 nl n2 IB 5C nl n2 BM lt FS gt 47 m n 28 92 nl n2 Moves the print position right or left a specified distance maximum 6 inches Ignored if the resulting position is beyond the right or left margin The formulas for the distance and direction are as follows If n2is between 0 and 63 the print head moves right by n1 n2x 256 120 inches If n2 is between 64 and 127 the print head moves left by n n2 64 x 256 120 inches Absolute horizontal tab in inches ASCII lt ESC gt nml n2 27 36 nl n2 1B 24 ni m2 Sets the next
5. lt ESC gt P lt 3 gt 27 13 3 IB 49 03 ESC 27 73 55 IB 49 37 lt 5 gt P lt 7 gt 21 13 7 IB 49 07 Changes to the Courier NLQ font Ignored if the NLQ Type Style switch was pressed during power up Select italic characters Mode ascu lt ESC gt 47 27 52 IB 34 Causes subsequent characters to be printed in italics Ignored if the NLQ Type Style switch was pressed during power up Select upright characters Stops italic printing and causes subsequent characters to be printed up right Ignored if the NLQ Type Style switch was pressed during power up Emphasized printing Mode ascu Causes subsequent draft characters to be emphasized by adding extra thickness to vertical strokes Cancel emphasized printing 7 p oma Cancels emphasized printing 6 _ Double strike printing oth lt ESC gt G 27 71 47 Causes subsequent characters to be printed double strike mode with a slight vertical paper motion in between causing a thickening of hori zontal strokes For bold print use of double strike is recommended in NLQ mode and combined use of emphasized and double strike is recommended in draft mode Double strike cannot be used with superscripts or subscripts Cancel double strike printing Mode sci lt ESC gt 27 72 IB 48 Cancels double strike printing Sta
6. 2 elu Dnm mmm ccc I INPUT 1 SK ASC I lt 1 IF SK gt 6 AND 5 lt 14 THEN ST SK 6 GOTO 3210 IF FK 0 OR FK 5 THEN 3120 IF FK MOD 3 0 THEN Y Y 1 IF FK MOD 3 1 THEN Y Y 1 IF FK 6 THEN X X 1 IF FK lt 4 THEN X X 1 IF Y WI THEN Y WI ELSE IF Y 1 THEN Y 1 IF THEN X HI ELSE IF X 1 THEN X 1 a Clear all dots FOR N 1 TO 16 LOCATE N 2 3 PRINT SPC 24 N FOR X 1 TO HI FOR TO WI DT X Y 0 NEXT ST 2 X 1 Y 1 RETURN Store character data FL 0 IF DES THEN 0 ELSE A CC 128 IF NLQ THEN ZA 15 ZB 2 ELSE ZA 8 ZB 1 FOR 1 TO WI 128 0 Q CC Y 0 FOR X 1 TO ZA STEP ZB IF NLQ THEN Q CC Y Q CC Y WT DT X 1 Y AND 1 P CC Y P CC Y WT DT X Y AND 1 WI 5 WT NEXT X FL FL P CC Y Q CC Y NEXT Y IF FL 0 THEN A CC 1 BEEP CC CC 1 CC 127 THEN CC 33 GOSUB 3220 GOTO 1510 Output to Diskette FOR CC 33 TO 126 M CC 31 A CC 1 THEN B STRING 48 0 GOTO 3480 ELSE 8 1 97 3450 FOR Y 1 TO WI B B CHR P CC Y NEXT Y 3460 IF NOT NLQ THEN B B 4STRING 35 0 GOTO 3480 3470 FOR Y 1 TO WI B B CHR Q CC Y NEXT Y 3480 LSET A B PUT 1 3490 NEXT CC RETURN 3500 Output to Printer
7. 3510 LPRINT HD 3520 FOR CC 33 TO 126 3530 IF lt 0 THEN 3580 3540 LPRINT amp CHR 0 STRING 2 CC Z A CC GOSUB 3600 3550 FOR Y 1 TO WI Z P CC Y GOSUB 3600 NEXT Y 3560 IF NOT NLQ THEN 3580 3570 FOR Y 1 TO WI Z Q CC Y GOSUB 3600 NEXT Y 3580 NEXT CC 3590 LPRINT E 1 RETURN 3600 3610 IF PB THEN 3640 3620 PP INP amp H3BD IF lt 128 THEN 3620 3630 OUT amp H3BC Z OUT amp H3BE 5 OUT amp H3BE 4 GOTO 3660 3640 PP INP amp H379 IF lt 128 THEN 3640 3650 OUT amp H378 2 OUT amp H37A 5 OUT amp H37A 4 3660 RETURN 3670 Plot character 3680 LOCATE X 2 1 Y 2 1 PRINT CS 3690 LOCATE 2 2 2 1 PRINT CS RETURN 3700 LOCATE BX 2 1 BY 2 1 PRINT CS 3710 LOCATE BX 2 2 BY 2 1 PRINT CS RETURN 3720 LOCATE X 2 Y 2 PRINT CS RETURN 3730 LOCATE BX 2 BY 2 PRINT CS RETURN Appendix D CHARACTER SETS This appendix gives tables of the printer s standard and IBM character sets The decimal character code of each character is shown in an inset to the lower right of the character The hexadecimal code can be found by reading the entries at the top and left edges of the table For example the character A is in column 4 and row 1 so its hexadecimal character code is 41 This is equivalent 4 x 16 1 65 to decimal 65 the number in the inset Control codes recognized by this printer are in
8. 35 00 Causes the printer to perform only a carriage return when it receives a lt CR gt code This command takes priority over DIP switch 1 8 HA Backspace ASCII Hexadecimal lt BS gt Both Moves the print position one column to the left Ignored if the print position is at the left margin This command can be used to overstrike or combine characters 7 N Left justify Decimal Hexadecimal 27 97 48 IB 61 30 27 97 0 IB 61 00 Aligns subsequent text with the left margin leaving the right margin ragged Center text 27 97 49 1B 61 31 27 97 1 1B 61 01 Centers subsequent text between the left and right margins Right justify 27 97 50 IB 61 32 37 97 2 IB 61 02 Aligns subsequent text with the right margin leaving the left margin ragged Set horizontal tab stops Asc lt ESC gt D nl 2 lt 0 gt 27 68 ni 2 0 1 44 nl n2 00 Cancels all current horizontal tab stops and sets new tab stops at columns n1 n2 etc in the current character pitch pica pitch if proportional spacing is currently selected where n n2 etc are numbers between 1 and 255 The maximum number of horizontal tab stops allowed is 32 in Standard mode and 28 in IBM mode The tab stops must be specified in ascending order any violation of ascending order terminates the tab stop list Standard termination is by the lt 0 gt control code To clear all tab stops specify lt ESC D 0
9. Cancel double strike printing 62 lt lt ESC gt P 0 Select draft quality characters 59 lt ESC gt I 1 Select draft elite characters 60 f lt ESC gt I 2 Select Sanserif characters 60 ESC I 3 Select Courier characters 61 lt ESC gt 174 Select draft download character set 84 f lt ESC gt I 5 Select draft elite download character set 85 lt ESC gt D 6 Select NLQ download character set 85 lt ESC gt I 7 Select Courier characters 61 t lt ESC gt J n Perform one n 216 inch line feed 72 lt ESC gt K n n2 m2 Print single density 8 bit graphics 80 lt ESC gt L n n2 m2 Print double density 8 bit graphics 80 1 ESC M Elite pitch 66 lt ESC gt n Set bottom margin 73 lt ESC gt Cancel top and bottom margins 74 STD ESC P Pica pitch 66 w lt 5 gt P 0 Select fixed spacing 68 bd ESC P lt gt Select proportional spacing 67 i lt ESC gt Q lt 3 gt Set printer off line 87 k STD lt ESC gt Q n Set right margin 76 lt ESC gt Reset all tab stops 79 STD lt ESC gt R n Select international character set 64 we lt ESC gt 5 0 Superscript 63 lt ESC gt 871 Subscript 63 lt ESC gt T Cancel superscript or subscript 63 lt gt U 0 Bidirectional printing 88
10. ason Decimai Hexadecimal lt ESC gt lt EM gt T n 27 25 84 n 1B 19 54 n gt T 4 Y n 140 40 84 41 41 n 28 28 54 29 29 n Skips n 6 inches at top of page where is equal to or greater than 1 Ignored if DIP switch 1 4 is ON ASF inactive Both Reset printer Mode ason lt ESC gt 27 64 1B 40 Reinitializes the printer Clears the print buffer and returns settings to their power up values Does not clear the input buffer or change ASF selections Sa 222222222222 22 222 22227 4522 AT IIE Appendix DOWNLOAD CHARACTER GENERATOR With this printer you can create new characters and symbols download their dot data and have them printed in place of selected characters in the regular character set Characters that can be generated in this way range from simple but useful symbols like the check mark through complex Chinese or Japanese characters The process of designing new characters with paper and pencil is somewhat time consuming The program listed in this appendix enables you to do everything on the computer screen It also enables you to maintain disk files of character data for downloading when required The creation of a car shaped symbol as a draft character m and near letter quality character is explained below Draft character m2 m3 m4 m5 m7 m9 ml0 mil ASCII Code 33 D
11. m Converts graphics defined by subsequent lt ESC gt lt ESC L ESC Y or lt ESC Z commands to a density mode defined by ESC n is L Y or Z indicating the mode to be converted m is a code from 0 to 6 indicating one of the modes of lt ESC gt 81 Print 9 pin graphics lt ESC gt no 1 27 94 n0 nl 1B SE n0 nl m2 fs n2 mi m2 n2 mi m2 Std n2 mi Prints bit image graphics at 60 dots per inch if n0 0 or 120 dots per inch if n0 1 The graphics image is 9 dots high and n1 n2 x 256 dots wide Maximum width is 8 inches Dots beyond the right margin are ignored mi m2 are byte pairs representing 9 vertical dots each In the leftmost position the most significant bit of m is the top dot the least significant bit of m is the second dot from the bottom the most significant bit of m2 is the bottom dot and the other bits of m2 are ignored Other byte pairs are similar The number of data bytes must be 2 x n1 n2 x 256 At the end of bit image printing the printer returns auto matically to character mode DOWNLOAD CHARACTER COMMANDS Copy standard characters from ROM into RAM Model ascu Decima Hexadecimal ESC 0 0 lt 0 gt 27 58 0 0 Of1B 00 00 00 IBM FS lt lt 0 0 lt 0 gt 28 58 0 0 0 00 00 00 Copies all the standard characters to the correspondi
12. 55 30 t 2 lt ESC gt U lt 0 gt 27 85 0 55 00 Causes subsequent printing to be done the normal bidirectional mode which is faster than unidirectional printing Unidirectional printing Mode AsCI Both lt ESC gt 0 lt gt 27 85 1 55 01 Causes subsequent printing to be done unidirectionally ensuring maxi mum vertical alignment precision One line unidirectional printing asc Hexadecimal 3 Immediately returns the print head to the left margin then prints the remainder of the line from left to right Normal bidirectional printing resumes on the next line Manual feed asa lt ESC gt lt gt lt 0 gt 27 25 0 19 00 s Selects manual sheet feeding even when the optional automatic sheet feeder is mounted Ignored if DIP switch 1 4 is ON ASF inactive Both 88 Auto feed Decima Hexadecimal Both lt ESC gt lt EM gt lt 4 gt 27 25 4 19 04 ot 490447 5 140 40 52 41 41128 28 34 29 29 Selects the automatic sheet feeder Ignored if DIP switch 1 4 is ON ASF inactive Eject paper from ASF Mode Aci ESE lt EM gt R 27 25 82 IB 19 52 Ot a s R 47 40 40 82 41 41 28 28 52 29 29 Ejects the current page Ignored if DIP switch 1 4 is ON ASF inactive Set print start position on ASF
13. A channel is a set of vertical tab stops selected by the ESC command See lt ESC gt for parameters n1 n2 lt 0 gt Select vertical tab channel ascu lt ESC gt no 27 47 2F no Selects a set of vertical tab stops designated by a channel number n0 from 0 to 7 The tab stops in each channel are set by 5 gt b Vertical tab Feeds the paper to the next vertical tab stop and moves the print position to the left margin Performs a line feed if no vertical tabs are set as at power up Feeds to the top of the next page if vertical tabs are set but the current line is at or below the last vertical tab stop 75 1 HORIZONTAL POSITION COMMANDS Set left margin ascu lt ESC gt P m 27108 n IB 6C n Sets the left margin at column n where n is between 0 and 255 in the current character pitch pica pitch if proportional spacing is selected The left margin does not move if the character pitch is changed later The left margin must be at least two columns to the left of the right margin and within the limits below Pica 0 lt n lt 76 Elite 0 lt lt 91 Condensed pica 0 lt n lt 130 Condensed elite 0 lt n lt 152 Expanded pica O lt n lt 38 Expanded elite 0 lt n lt 45 Expanded condensed pica 0 lt n lt 64 Expanded condensed elite 0 lt n lt 76 The left margin can also be set from the contro
14. LC 10 MULTI FONT USERS MANUAL NOT INTENDED FOR SALE PN 80820212 Federal Communications Commission Radio Frequency Interference Statement This equipment generates and uses radio frequency energy and if not installed and used properly that is in strict accordance with the manufacturer s instructions may cause interference to radio and television reception It has been type tested and found to comply with the limits for a Class B computing device in accordance with the specifications in Subpart J of Part 15 of FCC Rules which are designed to 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 this equipment does cause interference to radio or television reception which can be determined by turning the equipment off and on the user is encouraged to try to correct the interference by one or more of the following measures Reorient the receiving antenna Relocate the computer or printer with respect to the receiver Move the computer or printer away from the receiver Plug the computer or printer into a different outlet so that it and the receiver are on different branch circuits If necessary the user should consult the dealer or an experienced redio television technician for additional suggestions The user may find the following booklet prepared by the Federal Communications Commi
15. Left and right margins lt ESC gt lt 12 gt lt 92 gt lt ESC gt I lt 1 gt isa powerful command that in addition to selecting elite pitch cancels unwanted features such as underlining which might be left from previous commands The angle brackets around the lt 1 gt indicate character code 1 which is a control code not the printable digit 1 ESC X 12 92 sets the left margin in column 12 and the right margin in column 92 This will give a 6 7 inch 80 column printed line with a one inch left margin Elite has 12 characters per inch 12 isa control code lt 92 gt is the character V as you can verify in Appendix D You may want to place additional commands in this file such as line spacing and bottom margin commands Or you may want to create a variety of setup files with a different set of commands in each To avoid excess line feeds you should place the commands on one line in the setup file You may or may not be able to generate a setup file with word processing software it depends on whether your software lets you enter control codes If your system includes the file EDLIN COM however you can easily create a setup file with the DOS line editor An appropriate name for this setup file would be NLQELITE DAT To use the DOS line editor type the command EDLIN NLQELITE DAT then type the underlined parts of the following display Press RETURN at the end of each line Don t type the
16. Left justify LPRINT E 3 CHR 36 Set 1 6 line spacing LPRINT 0 Normal character space LPRINT LPRINT LPRINT C Other features LPRINT H E E Emphasized E F LPRINT E G Double strike E H LPRINT H E 1 Underlining E 0 LPRINT E 1 Overlining E 0 LPRINT H E SO SUPERSCRIPT E T LPRINT 51 SUBSCRIPT E T GOSUB 2020 LPRINT H C Download characters LPRINT D E 1 Select download character FOR I 1 TO 5 LPRINT CHR 60 Print download character NEXT I LPRINT E 0 Select normal character GOSUB 2120 LPRINT C E 1 Select download character FOR 1 1 TO 5 LPRINT CHR 60 Print download character NEXT I LPRINT 0 normal character LPRINT H C Dot graphics DIM LOGO 4 RESTORE 2630 FOR ROW 1 TO 4 FOR COL 1 100 READ DG LOGOS ROW LOGO ROW CHR DG NEXT COL NEXT ROW LPRINT E A CHR 8 Set 8 72 line spacing FOR ROW 1 TO 4 LPRINT H H LPRINT E CHR 0 Select normal density LPRINT CHR 100 CHR 0 LPRINT LOGO ROW NEXT ROW LPRINT Initialize printer END SUBROUTINES Define draft download character 2030 LPRINT D E CHR O CHR O CHR O 2040 LPRINT E amp CHR 0 CHR 60 CHR 60 2050 RESTORE 2520 2060 FOR M 0 TO 11 2070 READ MM 2080 LPRINT CHR MM 2090 NEXT M 21
17. 0 lt ESC gt 9 4 1 lt ESC gt 4 lt 0 gt nl n2 m0 ml ESC gt nO nl n2 2 lt us lt RS gt lt ESC gt lt gt ESC 0 ESC 1 lt ESC gt n0 lt ESC gt 0 lt ESC gt 1 lt gt 2 lt 5 gt 2 lt gt 3 lt ESC gt 4 ESC 4 lt ESC gt 5 lt ESC gt 5 lt 0 gt lt ESC gt 5 lt gt lt ESC gt 6 lt ESC gt 7 FUNCTION Bell Backspace Horizontal tab Line feed Vertical tab Form feed Carriage return Expanded printing for one line Condensed printing Set printer on line Cancel condensed printing Pica pitch Set printer off line Cancel one line expanded printing Cancel last line Delete last character sent Reverse line feed Return to top of current page Expanded print for one line Condensed printing Manual feed Auto feed Eject paper from ASF Set print start position on ASF Increase character spacing Select master print mode Accept MSB as is Absolute horizontal tab in inches Select ROM character set Select download character set Define download characters Select graphics mode Define macro instruction Execute macro instruction Stop underlining Start underlining Select vertical tab channel Set line spacing to 1 8 inch Set line spacing to 7 72 inch Set line spacing to 1 6 inch Execute lt ESC gt A Set line spacing to n 2
18. 20 characters per inch Proportional pica Proportional elite This is pica 10 characters per inch This is elite 12 characters per inch This is condensed pica 17 characters per inch This is condensed elite 20 characters per inch This is proportional pica This is proportional elite Figure 2 2 Print pitches selectable from the control panel Samples of these pitches are shown in Figure 2 2 Note that with proportional pitch different letters occupy different widths For example i and 1 are narrower than other letters Proportional pitch is attractive and space efficient though not always convenient when column alignment is required Note that you cannot select condensed proportional pitch on the control panel You can make this selection by the printercommands lt SI gt lt ESC gt 1 see Appendix 21 IBM mode when DIP switch 1 6 is OFF the pitch selections cycle as follows Pica 10 characters per inch Elite 12 characters per inch Condensed pica 17 characters per inch Proportional pica Proportional elite There is no condensed elite pitch in the IBM mode NLQ Type Style switch This switch selects the type style Draft style is always selected at power up To change to one of the NLQ near letter quality styles set the printer off line then press the NLQ Type Style switch repeatedly until the indicators beside the desired selection light The selections cycle
19. PICA PITCH FEED POWER SANSERIF STYLE ORATOR ELITE m PAPER PARK ON LINE C COND ITALIC L PROP Left margin Paper parking Page feed Right margin Top of form Figure 2 7 Switch combination functions of control panel Paper parking Print Pitch and Paper Feed switches This procedure feeds the paper backward It parks the fanfold form at the back of the printer so that you can switch to single sheet feeding by moving the release lever to the down position 26 Before parking fanfold forms tear off all but the last page leaving less at least three inches less than a full page showing above the top cover 1 Press the On Line switch to set the printer off line 2 Press the Print Pitch switch and hold it down 3 Press the Paper Feed switch The paper will be fed out backward Page feed Paper Feed and On Line switches If you are using single sheets this operation ejects the current page If you are using fanfold forms it feeds to the top of the next page 1 Press the On Line switch to set the printer off line 2 Press the Paper Feed switch and hold it down The printer will start performing successive line feeds 3 Still holding the Paper Feed switch down press the On Line switch then release both switches The printer will smoothly eject the current page Top of form NLQ Type Style and On Li
20. width and line spacing ac cording to the value of n and m as below Does not move the base line Unchanged Unchanged Unchanged Single height Unchanged Double height Single Unchanged Single Single height Single Double height Double Unchanged Double Single height Double Double height n Character width B Single width same as lt ESC gt W 0 Double width same as lt ESC gt W 1 Double height characters are always printed at near letter quality Double height printing temporarily cancels the super subscript and condensed printing modes but these modes resume when the printer returns to normal height VERTICAL POSITION COMMANDS Set line spacing to 1 8 inch scu Deima Hexadecimal Sets the distance the paper advances or reverses in subsequent line feeds to 1 8 inch 70 Y Set l ne spacing to 7 72 inch Hexadecimal Both lt ESC gt i 27 49 31 Sets the distance the paper advances reverses in subsequent line feeds to 7 72 inch Set line spacing to 1 6 inch td lt ESC gt 2 27 50 1 32 Sets the distance the paper advances or reverses in subsequent line feeds to 1 6 inch ES Set line spacing to n 216 inch ASCII Hexadecimal Both lt ESC gt 3 2751 n 33 n Sets the distance the paper advances or reverses in subsequent line feeds to 1 216 inch where is between 0 and 25
21. you will get strange printing results but don t worry just try a different selection Don t pick any printer described as a daisywheel printer or laser printer 31 A few installation programs may ask you not to select a printer but to describe what your printer can do The answers to the most often asked questions are Yes this printer can do a backspace and Yes it can do a hardware form feed Selecting or describing a printer is the main step in the installation process and frequently the only step necessary If you selected this printer or any Star Epson or IBM printer you should be able to use software commands for all the standard printer functions including bold or dou ble strike printing underlining subscripts superscripts margin control line spacing control and graphics Printer command options Besides the standard printer functions however your printer has some capabilities your software may not be aware of including double and quadruple size printing and the printing of special characters assigned to control codes Some software enables you to define these capabilities as user options in the installation process Read your software manual to find out whether you can do this and if so how The most useful thing you can do is to define a way to enter the escape code lt ESC gt which is the control character with decimal character code 27 hexadecimal 1B This code usually cannot be keyed in direct
22. 3 131 193 241 240 240 0 0 2830 DATA 0 0 0 0 0 0 0 0 0 0 2840 DATA 0 31 31 3 129 128 192 192 192 192 2850 192 224 224 224 224 240 255 255 255 255 2860 DATA 255 127 0 0 0 0 63 127 255 255 2870 DATA 255 255 193 128 128 128 128 192 224 240 2880 DATA 252 255 255 255 127 63 31 7 7 31 2890 254 252 248 224 128 0 0 3 7 7 2900 DATA 7 3 0 0 0 0 40 31 31 3 2910 129 128 192 192 192 192 192 224 224 224 2920 DATA 224 240 255 255 255 255 255 127 0 0 2930 DATA 0 0 0 0 0 0 0 0 0 0 2940 DATA 0 248 248 240 224 224 112 112 56 56 2950 56 56 56 120 120 240 240 224 224 192 2960 128 0 0 0 0 0 192 224 240 240 2970 DATA 240 248 248 248 120 120 56 56 56 56 2980 DATA 48 112 224 224 224 224 240 240 248 248 2990 DATA 120 120 56 56 56 56 120 240 224 224 3000 192 128 0 0 0 0 0 248 248 240 3010 DATA 224 224 112 112 56 56 56 56 56 120 3020 DATA 120 240 240 224 224 192 128 0 0 0 3030 0 0 0 0 0 0 0 0 0 0 How the program works This program begins by assigning a number of printer commands to BASIC string variables lines 1000 to 1090 You can find most of these commands near the beginning of Appendix B The WIDTH 255 statement in line 1110 means infinite line width It prevents the IBM PC from inserting unwanted carriage returns and line feeds in graphics data Actual printing begins in line 1120 Using the prea
23. 5 or 6 set the line spacing to 24 216 1 9 of an inch with ESC gt 3 24 and print the same characters twice upper half on one line lower half on the next For accurate alignment of the two halves select unidirectional printing with lt ESC gt U lt I gt Effect Normal size Double high double wide Quadruple high quadruple wide Double high double wide Lower half only Double high double wide Upper half only Quadruple high quadruple wide Lower half only Quadruple high quadruple wide Upper half only L OD Print double height characters Mode asc Decima lt ESC gt NIS 27 119 49 77 31 Both lt ESC gt w lt l gt 2719 1 1 77 01 Prints subsequent characters at double height without moving the base line and without changing the line spacing Temporarily cancels super subscript and condensed printing modes Return to normal height ASCII a 27 119 48 77 30 t lt ESC gt w 0 27 19 0 IB 77 00 Terminates double height printing and prints subsequent characters at normal height Resumes super subscript and condensed printing if these modes were in effect before double height was selected 69 Select character height width and line spacing Mode ascu lt ESC gt 4 27 91 64 4 IB SB 40 04 Both 0 in 9 00 00 00 n m m Selects a combination of character height
24. 72 75 76 77 78 79 7 7B 7C 7D 7E 7F pqrstuvwxyzitil 80 81 82 85 86 87 88 89 GA 8D eee eee 90 91 92 95 96 97 98 99 9n gB YC D GE 9F aakcxkkuas brc ee AO Al AZ AS AS AD AA AB AD AE vasan E BS B B7 B BB BC BD BE Ci C2 5 7 C9 CD DO Di D2 DS D D7 D DE DC DD DE DF i ee irae E2 ES 7 9 EA ED EF F1 F2 F3 F7 FEROCES EA EB EG PD PE awa ween ee we xe RR OA Figure 2 6 Sample hexadecimal dump with 25 Notice that the printer receives decimal code 13 hex together with hex OA which is really decimal 10 In addition the printer does not receive decimal code 26 hex 1A To avoid this problem change line 20 and add lines 100 to 120 as shown in either of the following lists 20 GOSUB 100 100 O INP amp H379 0 lt 128 THEN 100 110 OUT amp H378 I OUT amp H37A 5 00 amp H37A 4 120 RETURN 20 GOSUB 100 100 O INP amp H3BD 0 lt 128 THEN 100 110 OUT amp H3BC I OUT amp H3BE 5 OUT amp H3BE 4 120 RETURN SWITCH COMBINATION FUNCTIONS Several additional functions can be obtained by pressing the control panel switches in combinations Reverse micro feed Clearing the buffer Forward micro feed NLQ PRINT PAPER x COURIER
25. PRINT F4 Clear all dots LOCATE 14 40 PRINT F5 Skip character LOCATE 15 40 PRINT F6 LOCATE 16 40 PRINT RET Record character E DERIT Get character IF lt 0 THEN GOSUB 3220 GOTO 1950 IF NLQ THEN 1870 Draft character FOR Y 1 TO 11 WT 128 FOR X 1 TO 8 IF AND WT 0 THEN 1850 DT X Y 1 DT X 1 2 BX X CS GOSUB 3700 WI 5 WT NEXT X Y 60 0 1940 p NLQ character FOR Y 1 TO 23 WT 128 FOR X 1 TO 15 STEP 2 IF P CC Y AND WT 0 THEN GOTO 1900 DT X Y 1 DT X Y 1 2 BX X BY Y CS 44 GOSUB 3730 IF Q CC Y AND WT 0 THEN GOTO 1920 DT X 1 Y 1 DT X 1 Y 1 2 1 BY Y CS GOSUB 3730 WI 5 WT NEXT X Y ete Modify amp plot character X21 Y 1 FOR 2510 TO 12 LOCATE 2 38 PRINT 2 ST 2 LOCATE 11 38 PRINT IF NLQ THEN 2180 Draft character IF DT X Y 2 THEN CS CHR 2 GOTO 2050 IF DT X Y 0 THEN 2020 IF ST 1 THEN lt 0 DT X Y 1 0 CS STRING 3 1 GOTO 2050 CS STRING 3 2 GOTO 2050 IF ST lt 3 THEN CS STRING 2 1 GOTO 2050 IF DT X 1 1 THEN CS STRING 2 1 GOTO 2050 DT X Y 1 DT X Y 1 2 CS STRING 3 2 GOSUB 3680 SS ST BX X BY Y GOSUB 3110 SS ST THEN 2140 IF ST gt 3 THEN 2100 FOR Z 10 TO 12 LOCATE 2 38 PRINT NEXT 2 LOCATE 9 5 38 PRINT GOTO 1980 IF ST 4 THEN GOSUB 3220 GOTO 19
26. RS gt These can be any printable characters or control characters except lt RS gt up to a maximum of 16 characters Execute macro instruction ascu Decima Hexadecimal lt ESC gt lt gt 27 43 d IB 2B 01 Executes a previously defined macro instruction 85 OTHER PRINTER CONTROL COMMANDS Set MSB to 1 Mode ascu Sets the most significant bit of each subsequent byte received to 1 allowing users with a 7 bit interface to access characters with ASCII codes greater than 127 Set MSB to 0 asc Decima Hexadecimal td 27 61 3D BM 28 61 IC 3D Sets the most significant bit of each subsequent byte received to 0 EE Accept MSB as is Mode ASCII Hexadecimal lt ESC gt H 27 35 23 Cancels the preceding commands and accepts the most significant bit as it is sent to the printer Delete last character sent ASCII Hexadecimal Deletes the last character received Ignored if the last character received has already been printed or if the last character received was all or part of a command Cancel last line ASCII Both Deletes the last line currently present in the print buffer _ oc 6 4 ro E immediate print Mode lt ESC gt e wp 27 105 49 1B 69 31 Both E lt ESC gt 4 lt gt 27105 1 69 01 Selects the immediate print mode which the printer prints each character as soon
27. as described in the computer manual Interface cable Connector Figure 1 6 Connecting the interface cable Connect the printer s power cord Check that the printer s power switch located at the left front is OFF Then plug the printer s power cord into an AC wall outlet Never plug or unplug the power cord while the printer is turned on LOADING SINGLE SHEETS This section will take you through the procedures for loading single sheets of paper If you are using the optional automatic sheet feeder ASF read the ASF instruction booklet Mount the paper guide The paper guide fits into the two holes on top of the rear cover Mount the guide and raise it to the upright position Paper guide Figure 1 7 Mounting the paper guide for single sheets Semiautomatic loading Single sheets can be loaded manually with power off or semiauto matically with power on We will start the easy way with semiautomatic loading 1 Check that the release lever is down and the bail lever back bail closed then switch power on You will hear a short beep tone and the Power indicator on the control panel will flash These are the printer s paper out signals 2 Place a single sheet on the paper guide and insert it down into the entry slot You will feel a slight resistance as the paper engages the paper detector lever Work the paper past this resistance and insert it down as far as it will go 3 Move the bai
28. gt PRN Microsoft BASIC command LPRINT THE INTERFACE WORKS Or you can try any other command understood by your computer to print a line of text Consult your computer manual if you need help If you repeat the command a few times the printout will come into view Next you may want to try a test printout with word processing software but for this to succeed you will have to set the printer s DIP switches see the end of this chapter and install your software to support the printer correctly see Chapter 3 13 ADJUSTING THE PRINTING GAP The distance between the print head and the platen can be adjusted to accommodate different paper thicknesses To make this adjustment remove the top cover The adjustment lever is located near the left end of the paper bail Pulling the adjustment lever towards you widens the gap pushing it away from you narrows the gap There are four positions you can feel the lever clicking into each position The first position narrowest gap is the one most commonly used for single sheets of paper Try different positions until you get the best printing results Adjustment lever Figure 1 14 Adjusting for different thicknesses of paper DIP SWITCH SETTINGS When you remove the printer s cover and look inside you will see on the green board at the bottom of the printer two groups of small white switches marked DSW1 and DSW2 These are the printer s DIP Dual In line Package swi
29. in the fol lowing order Draft all indicators off Courier NLQ Courier italic NLQ Sanserif NLQ Sanserif italic NLQ Orator NLQ Orator italic NLQ Samples are shown in Figure 2 3 draft quality near letter quality Courier Courier italic Sanserif Sanserif italic ORATOR WITH SMALL CAPITALS ORATOR ITALIC WITH SMALL CAPITALS Orator with lower case Orator italic with lower case Figure 2 3 Type styles selectable from the control panel 22 The Orator style is unique two ways First it is dot larger higher than the other styles This makes it a good choice for labels and other text requiring high visibility A little extra line spacing helps when Orator is used Second there are two versions of the Orator type style one prints small capitals in place of lower case letters the other prints lower case letters but without descenders The version you get when you select Orator from the control panel depends on the DIP switches If DIP switch 1 3 is OFF lower case Orator will print as lower case Otherwise it will print as small capitals The other type styles do not have a small capitals option Lower case always prints as lower case The type style can also be selected by printer commands given in Ap pendix B Printer commands enable you to select both Orator styles and also draft italic which cannot be selected from the control panel POWER UP FUNCTIONS In addition to th
30. information Print double density double speed 8 bit graphics Mode asou Both lt ESC gt Y nl n2 27 89 n2 59 n2 t 2 m mi m2 mi m2 Prints bit image graphics at 120 dots per inch horizontally maximum 960 dots wide skipping every second dot in the horizontal direction See lt ESC for other information 80 Print quadruple density 8 bit graphics Mode ascu Both lt ESC gt Z n2 27 90 ni n2 IB 5A ni n2 t 2 mi m2 mi m2 Prints bit image graphics at 240 dots per inch horizontally maximum 1920 dots wide skipping every second dot in the horizontal direction See lt ESC gt K for other information Select graphics mode TET Bai lt ESC gt 0 nl 27 42 n0 IB 2A n0 ni t 5 2 2 n2 m2 n2 mi m2 Selects one of seven graphics modes depending on the value of n0 and prints bit image graphics in this mode See lt ESC gt for information on n1 n2 m2 n0 Graphics mode 0 Normal density 60 dots per inch 1 Double density 120 dots per inch 2 Double density double speed 3 Quadruple density 240 dots per inch 4 CRT graphics mode I 80 dots per inch 5 Plotter graphics 72 dots per inch 6 CRT graphics mode 90 dots per inch Convert graphics density ascu Decima Hexadecimal lt ESC gt P n m 27 6 n m 18
31. lt ESC gt U 1 Unidirectional printing 88 f lt ESC gt W 0 Cancel expanded printing 67 lt 5 gt W 1 Expanded printing 67 lt gt X nl n2 Set left and right margins 77 MODE IBM STD IBM STD STD STD IBM IBM IBM CONTROL CODE lt ESC gt Y nl 2 m2 lt ESC gt Z nl n2 ml m2 lt ESC gt Eu lt 4 gt 0 0 lt ESC gt nl n2 ESC V nl n2 lt ESC gt lt ESC gt n0 nl n2 ml m2 lt ESC gt 0 lt ESC gt 71 lt ESC gt a 0 lt ESC gt 1 lt ESC gt 2 lt gt b nO nl 2 lt 0 gt lt ESC gt c n lt ESC gt On lt ESC gt lt ESC gt f On lt ESC gt f 1 n lt ESC gt h lt ESC gt i lt ESC gt j lt ESC gt k lt ESC gt I lt ESC gt p 0 lt ESC gt 1 lt ESC gt 0 lt ESC gt 71 lt ESC gt w 0 lt ESC gt w 1 lt ESC gt x 0 lt ESC gt x lt ESC gt lt 0 lt ESC gt lt 1 lt FS gt lt FS gt FS FS FS FS FS cr n 0 lt ESC gt i 1 n 4 lt Q gt 0 0 0 4 e yt C sy
32. n Selects an international character set according to the value of n n Character set n Character set 0 U S A 7 Spain I 1 France 8 Japan 2 Germany 9 Norway 3 England 10 Denmark II 4 Denmark I 11 Spain 5 Sweden 12 Latin America 6 Italy 13 Denmark Norway 64 The first eight of these character sets from U S A to Spain I can be selected as power up defaults by DIP switches 2 2 to 2 4 Enable printing of all character codes ASCII Decima Hexadecimal IBM lt ESC gt 47 ni n2 27 92 nl n2 5C n2 Enables printing of all characters in the IBM character set including those assigned to character codes which are normally considered control codes This command remains in effect for the next n n2 x 256 characters where and n2 are numbers between 0 and 255 During this interval no control functions are executed If a code with no assigned character is received the printer prints a space Enable printing of all character codes on next character asen Decma Hexadecimal M SE This command operates like lt ESC gt V except that it remains in effect for only one character HH Select slash zero asci aod ESC 1 27 126 49 IB 7E 31 t lt ESC gt lt gt 27 126 7 01 Causes subsequent zero characters to overprinted with a slash 0 Select normal zero asc bo ESC 0 27 126 48 IB 7E
33. print position to n1 n2 x 256 60 inches from the left margin on the current line Ignored if this position is beyond the right margin The maximum position is 8 inches U Absolute horizontal tab in columns Moge ascu poh Ec n 27 102 48 66 30 n 1 d lt gt f 0 n 27102 0 n IB 66 00 m Moves the next print position to column z from the left margin where n is between 0 and 127 GRAPHICS COMMANDS Print single density 8 bit graphics Mode ascu ded lt ESC gt K nl n2 27 75 ni n2 IB ni n2 t s mi m2 mima mi m2 Prints bit image graphics at 60 dots per inch horizontally The graphic image is 8 dots high and n2 x 256 dots wide Maximum width is 8 inches 480 dots m1 m2 are the dot data each a 1 byte value from 0 to 255 representing 8 vertical dots with the most significant bit at the top and the least significant bit at the bottom The number of data bytes must be n n2 x 256 Dots beyond the right margin are ignored At the end of bit image printing the printer returns automatically to character mode Print double density 8 bit graphics Sont lt ESC gt p nl n2 27 76 nl n2 4 ni n2 ot m2 sai ml m2 m2 Prints bit image graphics at 120 dots inch horizontally maximum 960 dots wide See lt ESC gt for other
34. printing to the bottom of the paper Overrides the setting of DIP switch 1 5 BB Enable paper out detector ASCII Hexadecimal lt 5 gt 9 27 57 39 Causes the printer to stop printing about an inch before the end of the paper Overrides the setting of DIP switch 1 5 oth Set vertical tab stops Mode asc Decimal Hexadecimal lt ESC gt B n n2 lt 0327 66 n m2 0 lB 42 ni n2 00 74 Cancels all current vertical tab stops and sets new vertical tab stops at lines n1 n2 etc where n2 etc are numbers between and 255 A maximum of 16 vertical tab stops can be set The tab stops must be specified in ascending order any violation of ascending order terminates the tab stop list Standard termination is by the lt 0 gt control code The vertical tab stops are set in terms of the current line spacing and do not move if the line spacing is changed later Set vertical tab stops every n lines Mode lt gt p 27 101 49 n 1B 65 31 Both 27 101 n IB 65 01 n Cancels all current vertical tab stops and sets new tab stops every n lines where n is between 1 and 127 Set vertical tab stops in channel path lt ESC gt b n0 ni 27 98 n0 nl IB 62 n0 nl H 2 n2 0 n2 0 n2 00 Cancels all current vertical tab stops in channel no where 0 is between 0 and 7 and sets new vertical tab stops in this channel
35. setting tabs Don t change the print pitch after setting tabs The physical positions of the tab stops do not adjust to the new print pitch E if you have problems with graphics If you are using commercial software check that it supports this printer or a Star Epson or IBM printer and that DIP switch 1 6 is set correctly ON back for Star or Epson OFF front for IBM Use a hex dump to verify the codes the printer is receiving See the graphics command descriptions in Appendix B Some computers insert unwanted commands such as carriage returns and line feeds in graphics data or change the values of certain codes BASIC programs may require a WIDTH statement Check your BASIC manual E If you have problems with download characters Check that DIP switch 2 1 is OFF front Make the same checks as for graphics problems 51 52 IHR TONES ORO Bop S PEG Appendix A TECHNICAL SPECIFICATIONS B Printing Mechanism Printing method Serial impact dot matrix Printing speed 120 characters per second draft pica 30 characters per second NLQ pica Printing direction Draft bi directional or unidirectional selectable logic seeking NLQ and graphics unidirectional logic seeking Print head 9 Pins Life 200 million dots Ribbon Black fabric ribbon cartridge Life 1 million draft characters Pape
36. software After printing the first page of a long job you may want to pause to check that the printing is correctly formatted Press the On Line switch setting the printer off line Printing will stop immediately To resume printing press the On Line switch again If you need to abandon a printing job before it is finished your software should provide a command for this purpose Another simple expedient is to switch the printer s power off 35 36 Chapter 4 USING THE PRINTER WITH DOS AND BASIC Although you will probably do most of your printing with the aid of commercial software at times you will want to employ direct commands or programs of your own This chapter will give you some ideas Three subjects are covered Hard copying the screen e Programming the printer with DOS commands Programming the printer with BASIC HARD COPYING THE SCREEN MS DOS AND PC DOS If your computer has a PRTSC or PrtSc key there is an easy way to get hard copy of the screen Press the SHIFT and PRTSC keys The printer will print the current screen contents The PRTSC key works both at the system command level and while you are running application software Normally the PRTSC key prints only text data but if your DOS system includes a file named GRAPHICS COM you can hard copy graphics dis plays by first typing the command A gt GRAPHICS You will find that graphics printing takes considerably more time
37. superscripts or subscripts and returns to normal printing CHARACTER SET COMMANDS Select standard character set Model RES LE 27 116 48 1B 74 30 td ESC U 0 27 116 0 IB 74 00 Selects the standard character set This is the power up default in Standard mode if DIP switch 1 7 is ON standard character set cannot be selected in IBM mode 63 Select character set ascu lt ESC gt SE 27 116 49 IB 74 31 td lt ESC gt 4 lt gt 27 116 1B 74 01 Selects an IBM character set character set 2 unless an lt ESC gt 7 command has been received Ignored in IBM mode since the IBM character set is selected automatically Select IBM character set 1 e Selects character set 1 If the standard character set is currently selected this command remains dormant and takes effect at the next lt ESC gt t command In IBM mode character set 1 is the power up default if DIP switch 1 7 is OFF Select IBM character set 2 ascu lt ESC gt 6 27 54 36 Selects character set 2 If the standard character set is currently selected this command remains dormant and takes effect at the next lt ESC gt t command In IBM mode character set 2 is the power up default if DIP switch 1 7 is ON Select international character set lt ESC gt R n 27 82 n 52
38. than text printing See your DOS manual for further information on the GRAPHICS command At the DOS command level there is also a simple way to have the printer print hard copy continuously instead of one screen at a time Press the CTRL key hold it down then also press the PRTSC key If your computer does not have a PRTSC key press the CTRL and P keys Nothing visible will happen but you have just switched on the print screen function After this the printer will hard copy all text displayed For example try typing the directory command A gt DIR You will obtain a printed directory To switch printer output off press CTRL PRTSC or CTRL P again Each time you press this key combination hard copy toggles from on to off or from off to on PROGRAMMING THE PRINTER WITH DOS COMMANDS If your system includes the file PRINT COM you can use the main DOS printing command Simply type the word PRINT followed by the name of the file you want to print To print a file named README DOC for example type A gt PRINT README DOC The computer may respond with the following message asking which printer to use Name of list device PRN If your computer is connected to only one printer press RETURN to select the default choice PRN Printing will begin and the A gt prompt will reappear You can execute other commands or programs while the file is being printed single PRINT command can print two or more files List the fil
39. 0 read the dot data into a string array variable named LOGO Line 1860 sets the line spacing to 8 72 inch so that the rows will connect vertically The loop in lines 1870 to 1940 does the printing in four passes of the print head This program can also be run in IBM mode DIP switch 1 6 OFF if you change a few of the lines as shown below to allow for difference in some of the commands You will get a cylinder instead of a barrel effect becuase the IBM mode does not have any command to micro adjust the character spacing Modifications for IBM mode 1090 P CHR 18 Pica pitch 1190 LPRINT CHR 28 4 Select italics 1220 LPRINT 28 5 Cancel italics 1280 LPRINT Condensed elite pitch 1400 LPRINT CHR 28 Q CHR 47 Set right margin 1440 LPRINT E A CHR I E 2 Line spacing set 1450 LPRINT E CHR I Increase character space 1490 LPRINT 2 1500 LPRINT E 1860 LPRINT E A CHR 8 E 2 Set 8 72 2030 LPRINT D CHR 28 CHR O CHR 0 CHR O 2130 LPRINT C CHR 28 CHR 0 CHR O CHR 0 45 46 Chapter 5 MAINTENANCE AND TROUBLESHOOTING Subjects covered in Chapter 5 include Cleaning the printer Replacing the ribbon Replacing the print head Troubleshooting Dust and heat will make any mechanism wear more quickly The best maint
40. 00 RETURN 2110 2120 Define NLQ download character 2130 LPRINT C E CHR O CHR 0 CHR O 2140 LPRINT E amp CHR 0 CHR 60 CHR 60 2150 RESTORE 2560 2160 FOR M 0 TO 46 2170 READ MM 2180 LPRINT 2190 NEXT M 2200 RETURN 2510 DATA 2520 Draft download character data 2530 DATA 139 124 0 66 4 64 36 16 2 16 2540 DATA 12 0 2560 NLQ download character data 2570 DATA 128 14 16 38 1 70 1 70 0 126 2580 DATA 0 0 70 0 38 0 22 9 6 9 2590 DATA 6 8 6 0 28 32 14 64 14 0 2600 DATA 14 0 124 0 0 12 64 12 32 14 2610 DATA 16 14 0 14 0 12 0 2630 Dot graphics data 2640 DATA 0 0 0 0 10 3 7 7 7 29 2650 DATA 14 14 14 14 14 7 7 3 3 15 2660 DATA 15 15 0 0 0 0 0 0 0 0 2670 0 1 3 3 7 7 15 14 14 14 2680 14 15 7 7 7 3 0 0 0 0 2690 DATA 0 0 0 0 0 0 0 0 0 0 2700 DATA 0 0 0 0 0 0 0 0 0 0 2710 DATA 1 3 7 7 7 15 14 14 14 14 2720 DATA 14 7 7 3 3 15 15 15 0 0 2730 DATA 0 0 0 0 0 0 0 0 0 0 2740 DATA 0 0 60 255 255 255 255 255 143 15 2750 DATA 7 7 7 7 3 3 3 131 193 241 2760 DATA 240 240 0 0 0 0 0 0 0 1 2770 121 253 253 255 255 255 143 7 2780 31 253 252 248 248 240 192 0 7 15 2790 31 31 15 7 3 0 0 0 2800 DATA 0 0 0 0 0 0 0 0 2810 255 255 255 255 143 15 7 7 7 7 2820 DATA 3 3
41. 1 italics S for LPRINT C all D styles LPRINT 5 Cancel italics LPRINT C Print pitches LPRINT H P Pica pitch LPRINT H E M Elite pitch LPRINT H CHR 15 Condensed pitch LPRINT P Condensed pica pitch LPRINT H E M Condensed elite pitch LPRINT P Pica pitch LPRINT CHR 18 Cancel condensed print LPRINT H E p1 Select proportional spacing LPRINT proportional spacing for all pitches LPRINT E Cancel proportional spacing LPRINT H E W1 Expanded LPRINT E w1 Double height LPRINT H E h CHR 1 Double sized LPRINT H E h CHR 2 Quad sized LPRINT E 0 LPRINT LPRINT LPRINT E Q CHR 47 right margin LPRINT C Various line and character spacings LPRINT Center text FOR I 1 TO 10 LPRINT Set line spacing LPRINT E CHR I Increase character space LPRINT THE SPACINGS ARE CHANGED NEXT I FOR I 10 TO 1 STEP 1 41 1490 1500 1510 1520 1530 1540 1550 1560 1570 1580 1590 1600 1610 1620 1630 1640 1650 1660 1670 1680 1690 1700 1710 1720 1730 1740 1750 1760 1770 1780 1790 1800 1810 1820 1830 1840 1850 1860 1870 1880 1890 1900 1910 1920 1930 1940 2000 2010 2020 42 LPRINT E A CHR I LPRINT E CHR I LPRINT THE SPACINGS ARE CHANGED NEXT I LPRINT E a0
42. 16 inch Select italic characters Set top of page at current position Select upright characters Cancel automatic line feed Set automatic line feed Select IBM character set 2 Select IBM character set 1 PAGE 88 77 79 72 75 74 7 67 66 87 66 66 87 67 86 86 74 67 66 88 89 89 89 68 68 86 79 85 84 82 81 85 85 62 62 75 70 71 71 71 71 73 61 77 77 64 64 MODE CONTROL CODE FUNCTION PAGE lt 5 gt 8 Disable paper out detector 74 lt ESC gt 9 Enable paper out detector 74 i lt ESC gt Elite pitch 66 lt SID lt ESC gt 0 0 lt 0 gt Copy standard characters from ROM into RAM 82 ESC One line unidirectional printing 88 w SID lt ESC gt Set MSB to 0 86 lt ESC gt n n2 lt DC4 gt a0 al a2 ml Define download characters 84 lt lt ESC gt gt Set MSB to 1 86 lt ESC gt Convert graphics density 81 i lt ESC gt Reset printer 89 lt ESC gt A n Set line spacing to 72 inch 71 lt ESC gt B nl n2 lt 0 gt Set vertical tab stops 74 f lt ESC gt lt 0 gt n Set page length to n inches 73 m lt ESC gt C n Set page length to n lines 73 ESC D nl n2 0 Set horizontal tab stops 78 ESC Emphasized printing 61 lt ESC gt F Cancel emphasized printing 61 lt ESC gt G Double strike printing 62 lt gt
43. 30 l lt ESC gt lt 0 gt 27126 0 7 00 Causes subsequent zero characters to be printed normally 0 without a slash 65 CHARACTER SIZE AND PITCH COMMANDS Pica pitch nc s Im In Standard mode changes from elite to pica pitch 10 cpi or from condensed elite to condensed pica 17 cpi In IBM mode changes from either elite or condensed to pica 10 cpi Ignored if the Print Pitch switch was pressed during power up Elite pitch Mode asou ESC 27 77 4D ESC 27 58 In Standard mode changes from pica to elite pitch 12 cpi from condensed pica to condensed elite 20 cpi In IBM mode changes from either pica or condensed to elite 12 cpi Ignored if the Print Pitch switch was pressed during power up p Condensed printing Mode ascu oF Both lt ESC gt lt 5 gt 27 1 oF In Standard mode changes from pica to condensed pica 17 from elite to condensed elite 20 cpi In IBM mode changes from either pica or elite to condensed 17 cpi Ignored if the Print Pitch switch was pressed during power up Hexadecimal Cancel condensed printing EA Hexadecimal In Standard mode changes from condensed pica to normal pica or from condensed elite to normal elite In IBM mode always changes to normal pica Ignored if the Print Pitch switch
44. 5 If n 0 in Standard mode the line feed distance is set to 0 but in IBM mode this command is ignored Set line spacing to n 72 inch 5 Hexadecimal lt ESC gt TAS n 27 65 n IB 41 n In Standard mode sets the distance the paper advances or reverses in subsequent line feeds to n 72 inch where n is between 0 and 85 If n 0 the line spacing is set to 0 In IBM mode this command does the same except that 1 the new line spacing does not take effect until the next lt ESC gt 2 command and 2 ifn 0 the lt ESC gt command is ignored Execute ESC A ASCI lt ESC gt 2 eee Sets the line spacing to the value defined by the last preceding lt ESC gt A command Sets the line spacing to 1 6 inch if there is no preceding lt ESC gt A command BA c oa BM 71 Line feed ASCII Hexadecimal Prints the current line and feeds the paper to the next line If DIP switch 1 2 is ON also moves the next print position to the left margin See the preceding commands for the line spacing BB Reverse line feed ASCH Hexadecimal oth lt ESC gt lt LF gt 27 10 1B 0A Prints the current line and feeds the paper in the reverse direction to the preceding line If DIP switch 1 2 is ON also moves the next print position to the left margin See the preceding commands for the line spacing Ignored when friction feed is used BH Perform one n 216 inch l
45. 5 06 07 98 o9 10 11 16 17 18 19 1A 1B 1C 1D 20 21 26 22 28 29 26 2B 2C 2D 2 30 z1 54 15 36 27 28 29 ZB 3C 012 24567891 2 40 41 44 45 46 47 48 49 4A 4B AC 4D SABCDEFGHIJKLHNO So 5i 2 54 55 56 57 58 59 5A SB SC 5 PORSTUVWXYZEN I 60 61 5 94 65 04 67 48 69 6A 6 6 60 abedetghijkimno 70 71 72 75 74 75 76 77 78 79 7A 7B 7C 7D pqrstuvwxyziir 82 83 84 85 84 87 88 89 BR BC 25545 eM 90 91 92 93 94 95 96 97 99 9A 9 9D AQ A1 AZ AX 4 AS A7 ABAD AA AB AC AD AE 7 55552 Bi B2 BZ BA BS F B7 BB E BC BD BE BE ctt Ci C CZ C4 C7 CB C9 CB CC CD CE CF cot DO Di D2 05 06 D7 DA DB DC DD DE DF settee E2 4 E6 7 E9 EA EB EC ED FO Fi F2 F3 F4 FS F6 F7 F8 F FA FB FC FD tet 00 GA P Figure 2 5 Sample hexadecimal dump Most BASICs however are not quite that straightforward For example the IBM PC prints the following O1 02 oS Q6 07 O8 O9 OA OB OC OD OA OE OF 10 11 14 15 16 17 18 19 1 20 21 22 25 26 27 28 29 2A 2 z Okt 30 21 32 55 36 37 38 39 3B 3D 3E 0122456789 40 41 42 45 46 47 48 49 44 4B 4C 40 4E 4 S ARCDEFGHI J LMNO 51 S2 Z9 55 S6 57 58 59 SA SB SC SD SE SF FORSTUVUXYZEN2 60 41 62 65 66 67 68 69 6A 5B 6C 60 abcdefghijklmno 70 71
46. 50 IF ST 5 THEN GOSUB 3220 GOTO 1520 IF ST 6 THEN 2410 IF ST 7 THEN 3260 IF DT BX BY 2 THEN CS GOTO 2170 IF DT BX BY 1 THEN CS GOTO 2170 IF DT BX BY 0 AND DT BX BY 1 0 THEN CS ELSE CS GOSUB 3700 GOTO 1980 tocum NLQ character IF DT X Y 2 THEN CS CHR 2 GOTO 2260 IF DT X Y 0 THEN 2230 IF ST 1 THEN DT X Y 0 DT X Y 1 0 CS STRING 2 1 GOTO 2260 CS STRING 2 2 GOTO 2260 IF 5 lt 3 THEN CS CHR 1 GOTO 2260 IF 1 1 THEN CS CHR 1 GOTO 2260 DT X Y 921 DT X Y 1 2 CS STRING 2 2 GOSUB 3720 SS ST BX X BY Y GOSUB 3110 IF SS ST THEN 2360 IF ST gt 3 THEN 2320 FOR Z 10 TO 12 LOCATE 2 38 PRINT NEXT 2 LOCATE 9 ST 38 PRINT GOTO 2180 IF ST 4 THEN GOSUB 3220 GOTO 1950 IF ST 5 THEN GOSUB 3220 GOTO 1520 IF ST 6 THEN 2410 IF ST 7 THEN 3260 IF DT BX BY 2 THEN 5 GOTO 2400 IF DT BX BY 1 THEN CS GOTO 2400 IF DT BX BY 1 0 THEN CS ELSE CS 2400 2410 2420 2430 2440 2450 2460 2470 2480 2490 2500 2510 2520 2530 2540 2550 2560 2570 2580 2590 2600 2610 2620 2630 2640 3000 3010 3020 3030 3040 3050 3060 3070 3080 3090 3100 3110 3120 3130 3140 3150 3160 3170 3180 3190 3200 3210 3220 3230 3240 3250 3260 3270 3280 3290 3300 3310 3320 3330 3340 3350 3360 3370 3380 3390 3400 3410 3420 3430 3440 GOSUB 3730 GOTO 2180 TERT Wrap up
47. 547 27 73 52 49 34 lt gt 4 4 27 B 4 49 04 Selects the download character set and draft quality Ignored if the NLQ Type Style switch was pressed during power up or if DIP switch 2 1 is ON 84 Select draft elite download character set asen cima Hexadecimal lt gt S 97 27 73 53 1B 49 35 lt ESC gt vP 2 5 ea 27 73 5 IB 49 05 Selects the download character set draft quality and elite pitch 12 cpi Ignored if the NLQ Type Style switch was pressed during power up or if DIP switch 2 1 is ON Select NLQ download character set Mose lt gt SI 1967 27 73 54 49 36 Selects the download character set and near letter quality Ignored if the NLQ Type Style switch was pressed during power up or if DIP switch 2 1 is Select ROM character set Model ason Decima Hexadecimal ees 27 37 48 25 30 t lt ESC gt lt 0 gt 27 37 0 1B 25 00 Stops using the download character set and returns to the built in ROM character set Ignored when DIP switch 2 1 is ON MACRO INSTRUCTION COMMANDS Define macro instruction Mode ason lt ESC gt lt RS gt 7 43 30 18 2B IE Cancels any existing macro instruction and replaces it with the defined instruction The defined macro instruction consists of the characters between the and lt
48. 89 as eS
49. 9 GSABCDEFGHIJELMNOPORSTUVWXYZUX1 abcdefghijklmnop 5 ABCDEFGHIJEKLMNOPFDBRSTUVWXYZINJ abcdefghijklmnopg I ABCDEFGHIJKLMNOFORSTUVWXYZIN2 abcdetrqhijkimnopqr TCI SARCDEFGHIJKLMNOFQRSTUVWXYZLNJ abcdefghiiklmnopaqrs 7 2 0123455789 ISABCDEFGHIJELMNOPGRSTUVWXYZEN17 abcdefghijklmnoparst HOLE 012 Figure 1 13 Short test pattern Long self test To see the printer s variety of type styles you can run the long version of the printer s self test 1 Check that paper is in position for printing 2 With power off press the Paper Feed switch on the control panel and hold it down 3 Still holding the Paper Feed switch down turn the printer s power ON The printer will automatically start printing a test pattern of its full character set in various type styles Watch the lights on the control panel they indicate which type style is printing The test pattern varies depending on the setting of DIP switch 1 6 ON Standard mode OFF IBM mode but more about that later This test repeats indefinitely in a cycle of 30 or 70 lines To stop the test switch power off Interface test After confirming that the printer works by itself it is time to test the interface with the computer The simplest way to do this is with a direct command Power up both the printer and computer load paper then try a command like one of the following MS DOS or PC DOS command A gt ECHO THE INTERFACE WORKS
50. Do you want an international character set International character sets differ in their assignment of 14 character codes See the character tables at the back of this manual With the DIP switches you can select one of eight character sets as follows OFF ON OF OFF OFF OFF Denmark Norway when switch 1 6 is OFF and switch 1 7 is ON 2 t 2 2 2 ies 1 lin gt lt olojo 2289 Ee 17 Chapter 2 CONTROL PANEL OPERATIONS This chapter explains how to use the control panel to Pause printing Feed paper fast and slow forward and reverse Select the print pitch Select a type style Print test patterns Prevent software from changing the panel pitch and style selections Print a hexadecimal dump Park fanfold forms Set the top of form position Set the left and right margins Clear the printer s buffer SWITCHES AND INDICATORS a The control panel has four switches marked On Line Paper Feed Print Pitch NLQ Type Style The On Line Print Pitch and NLQ Type Style switches respond with beep tone when pressed and indicators beside them indicate their current status There is also a Power indicator that lights when power is on LQ PRINT PAPER _ COURIER PCA PITCH FEED paved p STE E jaaa ORATOR COND iL ae i Canc mu
51. ESC gt p lt 0 gt 27 112 0 70 00 lt ESC gt P lt 0 gt 27 80 0 50 00 Causes subsequent characters to be printed with fixed character spacing Ignored if the Print Pitch switch was pressed during power up Select master print mode Mode asen Decimai Hexadecimal lt ESC gt 27 33 n 21 n Selects a combined print mode according to the value of n The value of n is the sum of the values given below for the desired characteristics Examples 1 gives elite n 9 1 8 gives emphasized elite n 137 1 8 128 gives underlined emphasized elite uo Underline 128 Italic 1 64 Expanded 32 Double strike 16 Emphasized 8 Condensed 2 4 Proportional 2 2 Elite 2 l 1 Ignored if the NLQ Type Style switch was pressed during power up 2 Ignored if the Print Pitch switch was pressed during power up Increase character spacing Increases the space between characters by 240 inches where is number from 0 to 127 Used in microjustification Select double or quadruple size asen Decimal Hexadecimal lt ESC gt h n 27 14 n 68 n Selects the size of subsequent characters as shown below Extra high characters align along the cap line of normal characters with the base line temporarily moving down Line spacing is temporarily doubled when n 1 5 or 6 and quadrupled when n 2 To print correctly when n 3 4
52. NT DOWNLOAD CHARACTER GENERATOR STRING 25 60 LOCATE 3 1 PRINT READ CHARACTERS FROM EXISTING FILE S0 Yes 51 5 1 4 PY 1 GOSUB 3020 S THEN 1320 mee Open existing file lt lt lt lt lt lt lt lt lt lt lt 4 20 INPUT File FI OPEN R 1 F1 48 FIELD 1 48 AS A EX Read 2 initial commands GET 41 1 IF MID A 4 1 E THEN IBM 0 ELSE IBM 1 IF MID A 3 1 0 THEN NLQ 0 ELSE NLQ 1 NLQ THEN WI 23 HI 16 ELSE WI 11 HI 8 Read data for 1 character FOR CC 33 126 M CC 31 GET 1 M IF LEFT A 1 CHR O THEN A CC 1 GOTO 1310 A CC ASC MID A 2 1 FOR 1 TO WI P CC Y ASC MID A Y 2 1 NEXT Y IF NLQ 0 THEN 1310 FOR Y 1 TU WI Q CC Y ASC MID AS Y 25 1 NEXT Y NEXT CC CLOSE 1 PE Select Std IBM LOCATE 6 1 PRINT SELECT MODE S0 Standard mode DIP SW 1 6 S1 IBM mode DIP SW 1 6 OFF S IBM PX 7 PY 1 GOSUB 3020 5 IF THEN HD R STRING 3 0 ELSE HD E STRING 3 0 Select Draft NLQ U sm LOCATE 9 1 PRINT SELECT QUALITY SO Draft quality Sl Near letter quality S NLQ PX 10 PY 1 GOSUB 3020 NLQ S IF NLQ THEN HD CHR 27 x1 HD WI 23 HI 16 GOTO 1440 HD CHR 27 xO HD WI 11 HI 8 PL STRING 24 HYS S
53. Spain I 12 Latin America 3 Denmark I 8 Japan 13 Denmark Norway 4 Sweden 9 Norway 106 INDEX Absolute horizontal tab 79 80 Ascender 83 84 92 Auto feed 89 Automatic carriage return 16 Automatic line feed 17 77 Automatic sheet feeder 6 16 56 89 77 Bail lever 2 7 8 9 11 12 BASIC 25 40 94 20 24 29 88 lt BEL gt 88 Bidirectional printing 88 Bit image printing 37 45 51 80 82 Bold printing 62 Bottom margin 73 74 Buffer 17 28 53 LC Cancel command 86 Carriage return 77 Centering 78 Channels of vertical tab stops 75 Character codes printing of all 65 Character sets 54 63 64 99 106 Character size and pitch commands 66 Character spacing 68 Cleaning 47 Column width 32 55 Commercial software 31 35 Condensed pitch 21 51 Connector 3 5 Control panel 19 Courier type style 22 60 6 Delete 86 Descender 83 84 92 Dimensions of printer 55 DIP switches 74 17 33 50 51 53 63 64 65 72 74 82 85 88 89 DOS commands 37 40 Dot matrix size 54 Double size characters 69 70 Double strike printing 62 Download characters 17 51 54 82 84 91 98 Draft quality 22 59 60 82 84 91 93 E Electrical specifications 55 56 Elite pitch 27 60 66 85 Emphasized printing 51 61 Emulation 16 31 53 Entry slot 3 Environmental requirements 1 56 Epson printers 3 Esca
54. TRING 24 c 33 CHg 1 Select Continue Start over LOCATE 12 1 PRINT CONTINUE S0 Continue S1 Start over 540 PX 13 PY 1 GOSUB 3020 S THEN CLS GOTO 1070 asume DRAW BOX mm xe S m m mt x S m E S CLS NLQ THEN 1540 LOCATE 1 3 PRINT 12345678901 GOTO 1550 LOCATE 1 3 PRINT 123456789012345678901234 LOCATE 2 3 PRINT FOR N 1 16 NLQ THEN LOCATE N 2 1 PRINT RIGHT STR N 1 GOTO 1590 IF N MOD 2 1 THEN LOCATE N 2 1 PRINT RIGHT STR N 1 2 1 LOCATE N 2 2 PRINT SPC 24 i NEXT N LOCATE 19 3 PRINT Select character 5 2 e eene ue mmm LOCATE 1 40 PRINT SELECT CHARACTER CH I INPUTS 1 IF lt 1 AND I lt CHR 127 THEN CH I ELSE GOTO 1660 CC ASC CH LOCATE 1 40 PRINT SELECTED CHARACTER CH Ascender or S0 Ascender S1 Descender S A CC 0 PX 3 PY 40 GOSUB 3020 DES S 95 Key explanations LOCATE 10 40 PRINT F1 Clear dot LOCATE 11 40 PRINT F2 Pass over LOCATE 12 40 PRINT F3 Set dot LOCATE 13 40
55. UP FUNCTIONS In addition to their normal functions all the control panel switches have special functions that operate if you hold them down while switching power on PRINT PAPER courier 9 PICA PITCH FEED SANSERIF STYLE Eume PARK D _ ORATOR C COND mauc O C PROP Stay in panel style amp pitch Stay in panel pitch Stay in panel style Long test Short test Hexadecimal dump SWITCH COMBINATION FUNCTIONS Several additional functions can be obtained by pressing the control panel switches in combinations Reverse micro feed earing the buffer Forward micro feed COURIER j SANSERIF ORATOR COND mauc J C PROP Left margin Paper parking Page feed Right margin Top of form pue pes que pev qoem DIP SWITCHES i 16 Printer mode Standard ON 1 2 3 4 ON International character set 1 1 1 1 1 1 1 See below International character sets 2 2 OFF OFF ON OFF ai Denmark Norway when switch 1 6 is OFF and switch 1 7 is ON Note DIP switches are read only at power up Switch power off before changing a DIP switch sett
56. W Max 60 W 55 Insulation resistance 10 megohms between AC power line and chassis Dielectric strength Withstands 1 kVAC rms at 50 60 Hz between AC power line and chassis for at least 1 minute B Environmental Requirements Operating temperature 5 to 40 C 41 to 104 F Operating humidity 10 to 80 no condensation Storage temperature 30 to 65 22 to 149 F Storage humidity 10 to 95 at 40 C no condensation Option Automatic sheet feeder Interface Signals i Signal COE BITE CEN s Goes from High to Low for at least 0 5 microseconds when data are valid de DATA2 4 DATA3 IN 9 j Eight bit is the most significant bit Is the least DAIA significant bit High i is logic 1 and Low is 6 DATAS te DATA6 8 DATA7 9 DATAS 10 ACK OUT 5 Microsecond Low pulse acknowledges receipt of data BUSY Loy when the printer is ready to accept 12 PAPER Gon Hig h if the printer runs out of paper OUT Can be Feld Low y Permanently by turning DIP switch 1 5 SELECTED High when the printer is on line 14 15 ol UB ha 2 27271 GND 17 CHASSIS Printer s chassis ground isolated from sig GND nal ground r r t roo UT External supply of SVDC Twisted pair return signal ground level N Low input resets the printer to its power up condition OUT Goes Low to signal that the printer ca
57. ange When the printer pauses press the On Line switch to go off line If the change occurs in the middle of a line the printer will print the first part of the line Now make the change with the control panel switches set the printer back on line then command your software to resume printing If you were able to define software commands for print pitch and type style changes like these can be inserted in your text file and made on the fly without a printing pause Other printer commands If your software enables you to place the escape code in your files or if you were able to define this as a user option during installation you are in a very powerful position you can embed almost any printer command in your files The printer commands are explained in detail in Appendix B 34 Most printer commands consist of the escape code followed by one or more letters or numbers Some examples are lt ESC gt W1 Double width characters lt ESC gt W0O Normal width lt ESC gt 4 Italic ESC 5 Upright Two lines with these commands embedded are shown below together with the printed result File lt gt COMMANDS lt ESC gt WG can help you to use lt ESC gt 4italic lt ESC55 print Printout PRINTER COMMANDS can help you to use italic print You will probably not see the symbol lt ESC gt on the screen but a different symbol such as E or or perhaps no symbol at all This depends on your
58. ant to abandon a printing job and restart the printer may be holding much more data in its buffer than it has actually printed and this unprinted data must be cleared out before restarting Turning power off is one way to clear the buffer but there is another way 1 Halt the printing program on the computer If printing stops imme diately the buffer is clear and the rest of this procedure is unnecessary If printing does not stop continue as follows 2 Press the On Line switch to set the printer off line Printing will now stop but there may be data remaining in the buffer 3 Press the Print Pitch switch and hold it down 4 Press the On Line switch and hold it down 5 Press the Paper Feed switch and hold it down Continue holding all three switches down In about three seconds you will hear a beep tone signaling that the buffer has been cleared 6 Release all three switches make any necessary control panel settings then set the printer back on line It is essential to halt the printing program on the computer before you go off line Otherwise when you go back on line the computer will start sending data again and the printer will continue printing with missing data where the buffer was cleared 29 30 Chapter 3 USING THE PRINTER WITH COMMERCIAL SOFTWARE There is an abundance of commercial software available spreadsheet programs word processing programs graphics programs and mor
59. as received At every pause in the incoming data stream the printer scrolls the paper up about 2 inches so that the current line can be seen When the next character is received the paper is scrolled back down and printing continues This command is ignored when friction feed is used Cancel immediate print inode ASCH ss saj both lt ESC gt p 0 27 105 48 69 30 t 2 lt ESC gt u lt 0 gt 27 105 0 69 00 Cancels the immediate print mode The printer waits for each line to be completed before printing it and does not scroll the paper up and down This command is ignored when friction feed is used Set printer off line Mode ascu Decimal __ Hexadecimal Esc 0 lt 3 gt 27 81 3 51 03 Sets the printer off line The printer disregards all subsequent characters and commands except lt gt which returns it to the on line state The printer s On Line indicator does not go off Set printer on line asci u Returns the printer to the on line state allowing it to receive and process all subsequent characters and commands This command is ignored if the printer was set off line by pressing the On Line switch on the control panel Bell Sounds brief beep tone from the printer s beeper Bidirectional printing ASCH Both lt 5 gt 07 707 27 85 48
60. c 11 1 PROP The control panel switches can be pressed singly to perform the oper ations indicated by their names Other functions can be obtained by holding these switches down when you turn the printer s power on Still further functions can be executed by pressing the control panel switches in com bination This chapter explains all the switch and indicator functions Power indicator The power indicator lights yellow when power is on When paper is not present the power indicator flashes A beep tone also alerts you to the need to load paper On Line switch The On Line switch sets the printer on line and off line The state changes each time you press the switch In the on line state the printer receives data from the computer and prints the data In the off line state the printer stops printing and sends the computer a signal indicating that it cannot accept data The printer powers up in the on line state if paper is present If paper is not present the printer powers up off line with the Power indicator flashing When you load paper the Power indicator stops flashing but the printer remains off line To start printing you must press the On Line switch go on line The two main times when you will want to press the On Line switch are Before and after any other panel operation The other panel switches operate only in the off line state First press the On Line switch to go off line then perform t
61. dicated by abbreviations inside pointed brackets lt gt lt Sample gt Character Hexadecimal value high order Control code Decimal value Hexadecimal value low order 99 STANDARD CHARACTER SET PRUE EERE DERCELELEEEELEES FERRE 67 71 87 AELE EA BLE eee ree BERE COE 100 co RV sto x 225 241 1 226 242 Hexa decimal 28 445 sere ere 227 243 pa 244 u 245 s H EL WE NU EH E gs 246 231 247 a BLE 232 248 y 233 249 lt Gia a fa E a t2 t2 M tale ba tarda s N 1 t3 oo 234 139 155 203 235 04 20 36 52 41 173 0 37 53 222 w aE WE WW E N midi S e f fe TE earl M 23 39 101 CHARACTER SET 2 un ue uns Fr Po lt aa a oa 5 E 5s s s e acs A adea 245 ave Wee EErEE sj gs e
62. draft characters and stores them in RAM for later use Draft mode must be selected before this command is executed nl and n2 give the number of bytes of character data that will follow a0 is the character code of the first character defined and a2 are at tributes bytes m1 to m11 are the character data and are the same as in lt ESC gt amp The attribute byte a indicates whether the character is an ascender not using the lowest of the nine vertical dots or a descender not using the highest dot and whether it has a downward extension to 12 dots The attribute byte 2 gives proportional spacing information Bit 7 is ignored Bits 4 to 6 specify the offset to the first byte printed 0 to 7 enabling leading spaces in the character to be ignored Bits 0 to 3 specify the width of the character cell maximum 11 dots The character will be followed by a mandatory blank dot column which is not included in this width Characters defined by this command can be selected by lt ESC gt 94 1 lt ESC gt I 4 ESC I 5 or lt ESC gt 6 This command is ignored when DIP switch 2 1 is ON Select download character set Mode Hexadecimal lt ESC gt I 27 37 49 1B 25 31 Both lt ESC gt lt gt 27 37 1 25 01 Selects the download character set Ignored when DIP switch 2 1 is ON Select draft download character set ASCII ul lt gt
63. e This printer will work with any program that supports a Star Epson or IBM dot matrix printer Before using the printer with commercial software however there are two things you must do e Install the software so that it supports the printer Set the printer s DIP switches to match the software INSTALLING YOUR SOFTWARE Most commercial software includes an installation program or routine that you can run to customize the software to fit your hardware system Start by reading the explanation of the installation program in your software manual Printer menu The installation program usually offers a menu of printers from which to choose If you find this printer on the menu select it If this printer is not listed look for the Epson LX 800 or IBM Proprinter II If these are not listed look for another Star Epson or IBM printer few of the choices you may see are given below in order of preference Star NL 10 Epson LX 800 IBM Proprinter II NP 10 FX 86e Proprinter NX 10 15 EX 800 Graphics Printer ND 10 15 LX 86 NR 10 15 LX 80 Some menus are less explicit about model names but offer general de scriptions such as Star printer Epson printer IBM dot matrix printer dot matrix ASCII printer Centronics type printer Draft printer or Standard printer Any of these selections should work If you are not sure of the right selection it does not hurt to experiment If you choose wrong
64. e left until it locks into place 12 Replace the ribbon cartridge and top cover and plug the power cord back in 49 TROUBLESHOOTING E f the printer doesn t print Check the Power and On Line indicators Both must be on Check that the interface cable 15 securely plugged in at the computer and printer ends Make a test print Turn power OFF hold the On Line or Paper Feed switch down then turn power ON If the test print succeeds the problem is not with the printer try a different printing command or try using a different cable If the test print fails have the printer checked by a qualified serviceman E If fanfold paper becomes stuck e Turn power off take off the rear cover remove the paper and reload the paper as described in Chapter 1 Make sure the paper is placed so that it feeds into the printer straight m If label paper becomes stuck Have a qualified serviceman remove any label paper that adheres inside the printer Do not attempt to remove it yourself Avoid using label paper with any exposed adhesive areas E printing is faint incomplete or unclear Check that the ribbon cartridge is installed correctly If the ribbon cartridge is old replace it Adjust the printing gap See Chapter 1 e If ribbon replacement or gap adjustment does not solve the problem replace the print head E If all text is printed on the same line Set DIP switch 1 8 to the OFF front posi
65. e names consecutively on the same line or use wild card characters and Each file will be printed starting on a new page The PRINT command also has control options For example you can terminate a printing job in progress with the T option The printer may not stop printing immediately it may have considerable data stored ahead in its buffer For the T option type A gt PRINT T See your DOS manual for further information about the PRINT command If your system does not include PRINT COM you can print files by using the PRN device name in COPY or TYPE commands such as the following A gt COPY README DOC PRN A gt TYPE README DOC gt PRN COPY and TYPE do not permit you to execute other commands while the file is printing 38 If you want a particular type style print pitch or right or left margin you can make these settings from the control panel before you start printing See Chapter 2 If you print from the DOS command level very often it will be ad vantageous to create a printer setup file Then instead of setting margins etc manually each time you can complete the setup with a single command from your computer For example you can create a file containing printer commands to set the right and left margins select near letter quality and select elite pitch You can find the commands in Appendix B We suggest the following Near letter quality ESC x 1 e Elite pitch ESC lt gt
66. e used only in proportional spacing Each data byte indicates eight vertical dots with the MSB being the top dot and the LSB the bottom dot These correspond to pins 1 to 8 or 2 to 9 of the print head depending on whether the character is an ascender or descender For further details please refer to the Appendix C Define NLQ download characters Model ason Decimal Hexadecimal lt ESC gt 4 lt 0 gt nl 27 38 0 nl 26 00 nl n2 mo m2 n2 0 mi m2 n2 0 ml m2 k m3 m46 m3 m46 m3 m46 Defines one or more new NLQ characters and stores them in RAM for later use DIP switch 2 1 must be OFF NLQ mode must be selected before this command is executed The parameters are the same as for the draft download character command except that the attribute byte specifies right space instead of character width and the dot density is doubled in each direction so each character consists of 16 dots vertically and 23 dots horizontally and requires 46 data bytes Dots defined by to m23 are I printed on the first pass of the head Dots defined by m24 to m46 are printed on the second pass the paper being scrolled up half a dot between the two passes For further details please refer to the Appendix C J Define download characters Mode Asc ESC nl n2 27 38 n2 26 ni n2 lt DC4 gt a0 al a2 20 a0 al a2 14 a0 al a2 mi m2 m11 mi m2 mli mi m2 mli Defines one or more new
67. eir normal functions all the control panel switches have special functions that operate if you hold them down while switching power on DA COURIER FEED ON LINE SANSERIF O ORATOR i muc O Stay in panel pitch Stay in panel style Long test Short test Hexadecimai dump Figure 2 4 Power up functions of control panel Short test pattern On Line switch If held down during power up this switch prints a short test pattern shown in Chapter 1 23 Long test pattern Paper Feed switch If held down during power up this switch prints a long test pattern The test cycles endlessly To stop the test you must switch power off Stay in panel pitch Print Pitch switch By holding this switch down during power up you can prevent software interference with the print pitch selected from the control panel You will hear an acknowledging beep as power comes on After the beep tone you can set the printer off line select a print pitch then return to on line and start printing The pitch you selected will not be reset or otherwise changed by any commands your software may issue Stay in panel style NLQ Type Style switch If held down during power up this switch prevents software interference with the type style selected from the control panel There will be an ac knowledging beep after which you can set the printer off line select a type style then ret
68. enance 15 preventive and the first step is correct location of the printer This is covered in greater detail in Chapter 1 but in general an environment comfortable for humans is best for both the computer and the printer CLEANING THE PRINTER Cleaning the printer regularly will prolong its service life Use a damp cloth on the exterior every week or so For stubborn dirt you may moisten the cloth with alcohol or water containing a mild detergent but be careful not to spill any liquid into the interior of the printer Use a soft brush to remove paper dust and lint from the interior A small vacuum cleaner can also make this task easier but be very careful not to bend or injure any electronic parts or wiring The printer contains delicate electronic parts so only clean those places where you have easy access REPLACING THE RIBBON The printer uses an endless type ribbon cartridge in which the ribbon is recycled automatically When the print becomes faint it is time to replace the ribbon cartridge To remove the old cartridge take off the top cover grasp the ribbon cartridge by the two arms at the front and lift straight up To fit the new cartridge guide the ribbon between the print head and platen then press down until the cartridge snaps into place See Figure 5 1 REPLACING THE PRINT HEAD The dot matrix print head has a life of about 200 million dots or years of normal use When printing is too light even after replacing the
69. ength to n inches Mode ASCI Hexadecimal lt ESC gt lt 0 gt n 27 6 0 n IB 43 00 n top of the page Set top margin mm Ham Both ESC ME n 27 99 n IB 63 n Sets the top margin to n 1 lines where is between 1 and 255 Printing begins on the nth line on the page The power up default is n 1 giving no top margin Set bottom margin ASH em lt ESC gt 277 78 IB 4E n Sets the bottom margin to lines where n is between 0 and 127 in Standard mode or between 0 and 255 in IBM mode The bottom margin is reset when you change the page length Both 7 Cancel top and bottom margins Hexadecimal Both lt gt 27 79 4 Cancels both the top margin and the bottom margin Form feed ASCII Hexadecimal Both lt FF gt Feeds the paper to the top of the next page according to the current page length and moves the print position to the left margin When the auto matic sheet feeder ASF is selected DIP switch 1 4 is OFF this com mand ejects the current page N Return to top of current page Mode ason Decima lt ESC gt lt FF gt 27 12 0 Feeds the paper backward to the top of the current page Ignored when friction feed is used Disable paper out detector ASCII Hexadecimal oth lt ESC gt 8 27 56 38 Causes the printer to disregard the signal sent by the paper out detector enabling
70. escender Start column 0 End column E m0 Descender x 128 Start x 16 End 124 66 4 64 36 6 2 6 12 O data Figure C 1 Car symbol draft quality 9 wi SAG The dot matrix for a draft quality character is 8 cells high and 11 cells wide Figure 1 shows the matrix with the car symbol filled in Note that there are no pairs of horizontally adjacent dots The pins in the print head cannot fire fast enough to print adjacent dots in the horizontal direction To the printer a draft character is represented by 11 bytes of dot data one byte for each column If you are working by hand you can calculate the data as shown in Figure and enter them the lt ESC gt amp 0 printer command If you use the program in this appendix proceed as follows The program starts by asking whether you want to read characters from an existing file If you are going to add the car symbol to a file of download characters you have already generated answer yes if you are going to create a new file answer no The arrow on the screen toggles between Yes and No when any key except Return is pressed The Return key enters your choice In the same way the program asks you to select Standard or IBM mode and draft or near letter quality then to confirm whether to continue or start over Continuing o
71. fications 55 Paper out detector 16 50 74 Parking 11 12 26 Pause 20 35 Pica pitch 21 66 Pitch 21 24 34 55 66 Platen knob 2 3 Power cord 6 Power indicator 20 Power switch 3 Print Pitch switch 2 24 28 Print head 47 49 50 53 Printer commands 39 51 59 Printing gap adjustment 14 Printing mechanism 53 Proportional pitch 2 67 Programming 38 46 PrtSc key 37 o Quadruple size characters 69 R Rear cover 3 10 Release lever 3 7 9 Reset printer 89 Reverse line feed 72 Reverse micro feed 27 28 Ribbon cartridge 5 47 53 Right margin 28 76 77 ROM character set 85 Sanserif type style 22 60 Self tests 12 13 23 24 Setting up 3 Single sheets manual loading 8 semiautomatic loading 7 specifications 55 Slash zero 65 Small capitals 16 22 Software 3 35 Specifications 53 57 Sprocket feed 9 12 53 Standard character set 17 63 100 101 Standard mode 16 17 21 46 Star printers 37 Subscripts 63 Superscripts 63 Tabulation 51 73 75 76 77 Test patterns 12 13 23 24 Top cover 3 4 5 108 Tractor feed 9 13 53 Troubleshooting 50 51 Type style 22 34 54 60 61 U Underlining 62 Unidirectional printing 88 Unpacking and inspection Unparking 12 V Vertical tabulation 75 Z Zero slash or normal 65 109 LC 10 MULTI FONT REFERENCE CARD POWER
72. he panel operation then press the On Line switch again to go back on line To pause during printing If you press the On Line switch during printing the printer stops printing and goes off line allowing you to check the printout or change a control panel setting Printing resumes when you press the On Line switch again to go back on line Paper Feed switch This switch operates only when the printer is off line If you press it once the paper feeds forward by one line If you hold this switch down the printer performs consecutive line feeds 20 While you are feeding lines if you also press the On Line switch paper will feed to the top of the next page This is explained later When power is on always use the Paper Feed switch instead of the platen knob to feed paper Turn the platen knob only when power is off Print Pitch switch This switch operates off line to select the print pitch the spacing between characters The indicators to the left light green to indicate the selected pitch The printer powers up in pica pitch To change to another pitch press the On Line switch to go off line then press the Print Pitch switch repeatedly until the indicators show the pitch you want In Standard mode when DIP switch 1 6 is ON the pitch selections cycle as follows Pica 10 characters per inch Elite 12 characters per inch Condensed 17 characters per inch Condensed elite
73. ics commands Download character commands Macro instruction commands Other printer control commands 31 31 33 33 Appendix DOWNLOAD CHARACTER GENERATOR Draft character NLQ character Appendix D CHARACTER SETS Standard character set IBM character set 2 IBM character set 1 Additional character set International character sets INDEX 91 99 100 102 104 105 106 107 REFERENCE CARD Inside the cover Chapter 1 SETTING UP THE PRINTER Subjects covered in Chapter 1 include Locating the printer Unpacking and inspection names of parts Setting up Loading single sheets Loading and parking fanfold forms Test printing Adjusting the printing gap Setting the DIP switches LOCATING THE PRINTER Give some thought to the best place to put the printer Both the printer and computer should be used in a normal indoor environment For best performance we recommend Place the printer on a flat surface Keep it out of direct sunlight and away from heat producing appliances Use it only in temperatures where you are comfortable Avoid locations with dust grease or high humidity Supply it clean electricity Don t connect it to the same circuit as a large noise producing appliance such as a refrigerator Make sure the line voltage is within 10 of the voltage specified on the identification plate e If you will be using fanfold forms place the printer where the forms can feed u
74. igure 2 Car symbol near letter quality 93 If you select near letter quality the character box is the same size but now has 16 high x 23 wide dot positions Each dot is represented by two adjacent sharp signs occupying its own position and the position to the right This reflects the fact that the printer still cannot print horizontally adjacent dots but that even skipping every other dot the dots appear joined when printed A near letter quality character is represented by 46 bytes of dot data two bytes for each column Near letter quality characters are printed in two passes of the print head the paper scrolling half a dot up between the passes The first 23 bytes of dot data represent the first pass the next 23 bytes represent the second pass In each column the first third fifth dots belong to the first pass byte and the second fourth sixth dots belong to the second pass byte A maximum of 78 near letter quality characters can be defined The file created by this program contains the following printer com mands 1 lt ESC gt 0 lt 0 gt 0 standard mode or FS lt 0 gt lt 0 gt lt 0 gt IBM mode to copy the printer s regular characters into download memory If you leave a download character undefined the regular character will be printed 2 ESC x 0 or lt ESC gt x lt gt to select draft or near letter quality 3 One lt ESC gt 4 lt 0 gt l
75. ine feed ASCII Hexadecimal Both lt ESC gt n 27 74 n IB 4A n Feeds the paper once by 216 inches where n is between 1 and 255 Does not move the print position right or left when DIP switch 1 2 is OFF Does not change the line spacing setting Ignored when friction feed is used Perform one 216 reverse line feed ASCII Hexadecimal Both lt ESC gt 27 106 n 6A n Feeds the paper once by 7 216 inches in the reverse direction where n is between 1 and 255 Does not move the print position right or left when DIP switch 1 2 is OFF Does not change the line spacing setting Ignored when friction feed is used Feed paper n lines Mode _ ASCH ae NEC 27 102 49 n 66 31 n t lt ESC gt f lt gt nm 2710 1 m 1B 66 01 m Feeds the paper n lines from the current line where n is between 0 and 127 Set top of page at current position ASON lt gt 4 2I 952 34 Sets the current position as the top of page position Note that this can also be done from the control panel IBM Set page length to n lines ASCII Hexadecimal lt ESC gt n 27 67 n IB 43 n Sets the page length to lines in the current line spacing where n is between 1 and 127 in Standard mode or between 1 and 255 in mode Changing the line spacing later does not alter the physical page length The current line becomes the top of the page Both Set page l
76. ines are the contents of this file The 1 is a dummy parameter whatever file name you type after NLQPRINT will be substituted for 1 and printed PROGRAMMING THE PRINTER WITH BASIC As an example of programming the printer in Microsoft BASIC we have listed the program for the IBM PC that printed the sample of features shown at the beginning of this manual This program runs in the printer s Standard mode DIP switch 1 6 ON 40 1000 1010 1020 1030 1040 1050 1060 1070 1080 1090 1100 1110 1120 1130 1140 1150 1160 1170 1180 1190 1200 1210 1220 1230 1240 1250 1260 1270 1280 1290 1300 1310 1320 1330 1340 1350 1360 1370 1380 1390 1400 1410 1420 1430 1440 1450 1460 1470 1480 Set control codes E CHR 27 Escape code D E x0 Draft quality N E x1 Near letter quality N Courier characters S E k1 N Sanserif characters O1LS E k2 N Orator with small capital O2 E k3 N Orator with lower case H CHR 9 Horizontal tab Pica pitch Start printing WIDTH LPT1 255 LPRINT E D CHR 3 CHR 13 CHR 0 Set LPRINT styles LPRINT H D Draft characters LPRINT H C Courier characters LPRINT H S Sanserif characters LPRINT H 01 Orator with small capitals or LPRINT H 02 with lower case characters LPRINT 4 Select italics LPRINT H 02 and 0
77. ing PRINT PITCH SELECTION Standard mode Pica Elite 1234567890 1234567890 1234567890 1234567890 1232456789012 123456789012 123456789012 125456789012 lt ESC gt 18 15 18 15 b 12545578901224557 12545578901234567820 12345678901234567 12345678901234567890 12345678901234567 12345678901234567890 12345678901 234567 lt ESC gt 12345678901234567890 Condensed Pica Condensed Elite IBM mode Pica lt ESC gt lt 524 Elite 124557390 lt gt M 125456789019 1234567890 123456789012 1234567890 123456789012 1234567890 18 125456789012 u ESC ESC gt 12345678901234567 12345678901234567 12345678901234567 12345678901 234567 Condensed Pica COMMAND SUMMARY IN NUMERIC ORDER MODE IBM STD STD STD IBM STD STD IBM IBM CONTROL CODE lt BEL gt lt BS gt lt HT gt lt LF gt VT FF lt gt lt 5 gt SI lt DCI gt lt DC2 gt lt DC2 gt lt DC3 gt lt DC4 gt lt CAN gt lt DEL gt lt ESC gt lt LF gt ESC FF lt ESC gt lt SO gt lt ESC gt lt SI gt ESC lt EM gt 0 ESC lt EM gt 4 lt ESC gt lt EM gt R lt ESC gt lt EM gt T ESC n ESC lt ESC gt 4 lt ESC gt ni n2 lt ESC gt
78. l lever forward When the bail opens the printer feeds the paper automatically 4 Move bail lever back The paper will feed slightly forward again ending in position to print with a top margin of about one inch Release lever Bail lever Figure 1 8 Loading a single sheet Manual loading It is also possible to load paper manually while the printer s power is off The procedure is 1 Check that printer power is off and the release lever at the back of the printer is down 2 Insert a single sheet of paper into the entry slot as far as it will go the same way as for semiautomatic loading 3 Move the bail lever on top of the printer forward to open the paper bail 4 Turn the platen knob clockwise until the front edge of the paper comes out from under the top cover 5 If the paper is not straight move the release lever to the up position straighten the paper by hand then move the release lever back down 6 Move the bail lever back to close the paper bail LOADING PARKING FANFOLD FORMS Fanfold forms have holes along the sides and perforations between tne sheets They are also called sprocket forms punched forms or just plain computer paper This printer accepts forms up to 10 wide Fanfold forms are loaded parked and unparked as explained next 1 2 3 Place a stack of fanfold paper behind and at least one page length below the printer Turn the pri
79. l panel Set right margin asc 77 Decimai Hexadecimal lt ESC gt Q n 27 81 IB 51 n Sets the right margin at column n in the current character pitch pica pitch if proportional spacing is currently selected Column n becomes the last character position in the line The right margin does not move if the character pitch is changed later The right margin must be within the limits below Pica 4 lt n lt 80 Elite 5 lt n lt 96 Condensed pica 7 lt n lt 137 Condensed elite 8 lt n lt 160 Expanded pica 2 lt n lt 40 Expanded elite 3 lt n lt 48 Expanded condensed pica 4 lt n lt 68 Expanded condensed elite 4 lt n lt 80 The right margin can also be set from the control panel 76 x Set left right margins ASCH Decimal Hexadecimal Both lt ESC gt X nl 2 27 88 nl n2 IB 58 n n2 Sets the left margin at column n and the right margin at column n2 See the preceding commands for margin restrictions and other notes Carriage return ASCII CR 13 Prints the current line and returns the next print position to the left margin If DIP switch 1 8 is ON also performs a line feed Hexadecimal Both Set automatic line feed ASCII Decimal lt gt 5 lt gt 27 53 1 Hexadecimal 1B 35 01 BH switch 1 8 Cancel automatic line feed ASCII Hexadecimal BM lt 5 gt 4 5 lt 0 gt 27 53 0
80. loading Loading and parking fanfold forms Paper parking Paper unparking Test printing Short self test Long selft test Interface test Adjusting the printing gap DIP switch settings Chapter 2 CONTROL PANEL OPERATIONS Switches and indicators Power indicator On Line switch Paper Feed switch Print Pitch switch NLQ Type Style switch Power up functions Short test pattern Long test pattern Stay in panel pitch Stay in panel style Hexadecimal dump Switch combination functions Paper parking Page feed 12 14 14 19 19 23 26 Chapter 3 Chapter 4 Chapter 5 Appendix A Appendix B Top of form Forward micro feed Reverse micro feed Left margin Right margin Clearing the buffer USING THE PRINTER WITH COMMERCIAL SOFTWARE Installing your software Printer menu Printer command options Type styles Page width Initialization sequence Setting the DIP switches Using your software Page alignment Type style and pitch selection Other printer commands USING THE PRINTER WITH DOS AND BASIC Hard copying the screen Programming the printer with DOS commands Programming the printer with BASIC MAINTENANCE AND TROUBLESHOOTING Cleaning the printer Replacing the ribbon Replacing the print head Troubleshooting TECHNICAL SPECIFICATIONS PRINTER CONTROL COMMANDS Font control commands Character set commands Character size and pitch commands Vertical position commands Horizontal position commands Graph
81. ly pressing the ESC key will not work As an installation option however you may be able to assign it to a function key or a special key combination Doing so will put the full power of the printer at your disposal Type styles Some word processing software has commands that enable you to change type styles in the middle of a document without a printing pause To use these commands you must generally define the printer s type styles fonts during installation by assigning them numbers for example Read your software manual for details and refer to Appendix B for the relevant printer commands Page width Spreadsheet programs in particular may ask you to specify the printer s column width The column width of this printer depends on the character pitch used Pica 80 columns Elite 96 columns Condensed 137 columns Condensed elite 160 columns Standard mode only 32 The character pitch be selected from the control panel before you start printing or possibly by an initialization sequence as described next Initialization sequence One of the installation options may be to specify the commands your software sends at the beginning of each printing job These commands are called the initialization sequence or setup string If necessary you can use the initialization sequence to adjust the margins to your paper size or select a particular type style or pitch You can look up the commands you wa
82. n the next screen the program asks what character you want to redefine offering the exclamation mark as a suggestion If you want to print the car symbol in place of the exclamation mark press Return If you want to assign the car symbol to another character press the key of that character Next you must choose whether to make the car symbol an ascender or a descender This determines how the character is seated on the line Ascender Cink Descender After you press Return for the ascender descender choice the cursor enters the character box You can move the cursor with the numeric keypad For example pressing the 6 key moves to the right pressing the 3 key moves diagonally down to the right The function keys control the setting and clearing of dots After Fl is pressed the cursor clears the dot in each position it is moved to F3 causes the cursor to set dots F2 allows the cursor to pass over dots without either setting or clearing them In draft mode a dot position is a 2x2 character block with the cursor located in the upper left corner of the block When a dot is set a 2x3 block of sharp signs is displayed partly overlapping the dot position to the right This reflects the fact that the printer cannot print horizontally adjacent dots The program automatically censors adjacent dots 92 moving the cursor and pressing the Fl 2 F3 keys you quickly build up the dot pattern If necessary
83. ne switches When you turn on printer power the top of form position is auto matically set to the current position If this is not where you want the top of the page to be you can change the top of form position as follows 1 Press the On Line switch to set the printer off line 2 Move the paper to the desired top of form position by pressing the Paper Feed switch or by performing a forward or reverse micro feed 3 Press the NLQ Type Style switch and hold it down 4 Press the On Line switch The printer will beep to indicate that the top of form position has been set Forward micro feed On Line and Paper Feed switches For fine alignment you can feed the paper forward in very small in crements as follows 1 Press the On Line switch to set the printer off line 2 Press the On Line switch again and hold it down 3 Press the Paper Feed switch The paper will start advancing in a series of small steps When you want to stop release both switches Reverse micro feed On Line and Print Pitch switches You can also feed the paper in small increments in reverse to return to a higher position on the same page Note With fanfold forms do not try to return to a previous page The perforation may catch inside the printer 27 Press the On Line switch to set the printer off line Press the On Line switch again and hold it down Press the Print Pitch switch The paper will start moving backwards in a series of small s
84. ng download char acter RAM area overwriting any download data already present Ignored when DIP switch 2 1 is ON Define draft download characters lt 5 gt amp lt 0 gt nl 27 38 0 nl IB 26 00 ni n2 moO mi m2 n2 m0 m2 n2 m0 m2 m3 mll 3 11 3 11 Defines new draft characters and stores them in RAM for later use DIP switch 2 1 must be OFF otherwise RAM is used as an input buffer not for downloading characters and this command is ig nored Draft mode must be selected before this command is executed nl is the character code of the first character defined and 2 is the character code of the last character defined n7 and n2 must both be between 32 and 127 or both be between 160 and 255 n1 must be equal to or less than n2 Use of character codes 32 space and 127 delete code should be avoided if possible Each character is defined by an attribute byte 0 and 11 data bytes m2 mil 82 The most significan bit of the attribute byte is 1 if the character is ascender positioned entirely above the baseline or 0 if it is a descender descending below the baseline The attribute byte also indicates the amount of white space to the left of the character 0 to 7 dots specified by bits 4 to 6 and the width of the character cell including this space 4 to 15 dots specified by bits 0 to 3 The left space and cell width at tributes ar
85. ng will start at 33 the right position on the page a short distance below the perforation With power off you can align the forms by turning the platen knob When power is on use the Paper Feed switch on the control panel Type style and pitch selection If your software does not control the type style and pitch you must make these selections on the control panel The default selections are draft style and pica pitch If you want a different style or pitch proceed as follows 1 Hold the NLQ Type Style or Print Pitch switch down when you turn the printer s power on Hold both switches down if you intend to make both settings The printer will beep in acknowledgement as it powers up Press the On Line switch to set the printer off line To select a type style press the NLQ Type Style switch one or more times 4 To select a print pitch press the Print Pitch switch one or more times Press the On Line switch to set the printer back on line wr t Most programs begin each printing job by sending a command that resets the printer That is why you must press the NLQ Type Style and or Print Pitch switches as you power up If you do not press these switches during power up the reset command will reset your panel selections to draft style and pica pitch If you want to change the type style or pitch in the middle of a printing job one way to do this is to insert a printing pause command in your file at the point of the ch
86. nnot print due to an error condition SELECT IN Always High IN 57 58 PRINTER CONTROL COMMANDS This appendix describes the printer s control commands The commands are arranged by function The name of each command is followed by a table like the one below Mode Asc Decimal Hexadecimal lt gt po CENE E 27 120 49 IB 78 31 Both lt 5 gt x lt gt 27 120 78 01 Mode Indicates the mode in which the command is recognized Std Standard mode DIP switch 1 6 on IBM IBM mode DIP switch 1 6 off Both Both standard and IBM modes ASCII Indicates the ASCII coding of the command Control characters are enclosed in pointed brackets For example lt 0 gt means character code 0 Decimal Gives the command in decimal character codes Hexadecimal Gives the command in hexadecimal character codes Parameters for which values must be supplied are indicated by italic letters such as n Many commands have alternative forms Some commands use lt ESC gt character code 27 in Standard mode and lt FS character code 28 IBM mode Other commands have parameters that can be specified as either character codes or digit characters like the parameter in the sample command above FONT CONTROL COMMANDS Select draft quality characters Mode ASCI B Changes from near letter quality to draft quality Ignored if
87. nt in Appendix B For example if you selected 96 column width for a spreadsheet program it would be convenient to add an elite pitch command to the initialization sequence Appendix B indicates that this command consists of the two characters lt ESC gt M which have decimal character codes 27 and 77 hexadecimal 1B and 4D Your software manual or an on screen prompt will explain how to place these codes in the initialization sequence SETTING THE DIP SWITCHES After completing the installation of your software check the setting of the printer s DIP switches in particular DIP switch 1 6 If you selected a Star or Epson printer on the installation menu switch 1 6 should be ON the factory setting If you selected an IBM printer switch 1 6 should be OFF DIP switches 1 2 auto CR 1 7 character set 1 8 auto LF and 2 1 RAM usage are also related to your software Read what your software manual has to say about carriage returns line feeds character sets and downloading characters and refer to the explanation at the end of Chapter 1 USING YOUR SOFTWARE With the installation and DIP switch settings correctly completed you are ready to entrust most of the control of your printer to your software However there will still be some things you have to do yourself Page alignment If you are printing on fanfold forms the first thing to do before you start printing is to align the top of the forms so that printi
88. nter s power OFF Set the release lever to the up position If there is paper in the printer remove it Since the platen is released you can just pull the paper out Move the bail lever forward to open the bail Remove the paper guide and put it aside for the moment Remove the rear cover Grip it by its front edge and lift upwards and backwards as in Figure 1 9 Rear cover Figure 1 9 Opening the rear cover 7 8 Open the sprocket covers the right and left sprocket units as shown in Figure 1 10 Flip the clamp levers down This allows the two sprocket units to move freely right and left so you can align them with the holes in the paper Insert the front edge of the paper over the paper detector lever and tuck it in under the platen Sprocket cover Yoli ie Sy Eee Figure 1 11 Closing the sprocket covers 10 Fit the holes in the paper over the sprocket pins Check that the paper 18 even 11 Close the sprocket covers Figure 1 11 12 Raise one of the clamp levers to lock one sprocket unit in place 13 Turn the platen knob to feed the paper forward until it comes out from under the top cover 14 Move the bail lever back to close the bail 15 Check that the paper is feeding in flat then raise the other clamp lever to lock the other sprocket unit 16 Replace the rear cover Hold it tilted upward and insert the two
89. of this manual are subject to change without notice All efforts have been made to ensure the accuracy of the contents of this manual at the time of press However should any errors be detected STAR would greatly appreciate being informed of them The above notwithstanding STAR can assume no responsibility for any errors in this manual Copyright 1987 Star Micronics Co Ltd HOW USE THIS MANUAL This manual is organized into five chapters and four appendixes To learn how to make the best use of your printer you are urged to read all of chapters through 5 The appendixes can be referred to as necessary Chapter 1 explains how to get the printer unpacked and set up Read this chapter before you do anything else Chapter 2 explains the control panel After getting set up read this chapter and try out the procedures in it to find out how the printer works Chapter 3 gives tips on using word processing programs and other com mercial software with this printer Read this chapter in conjunction with your software manual Chapter 4 is addressed to do it yourself programmers It shows simple programming examples using DOS commands and BASIC Chapter 5 covers maintenance and troubleshooting Look through this chapter to see what it contains then refer to it as necessary later Appendix A lists the printer s technical specifications Appendix B details the functions of escape sequences and other printer command
90. on mb N Now you can load single sheets either semiautomatically or manually as explained previously The fanfold paper remains parked at the back of the printer When you want to resume using fanfold paper the procedure is as follows Paper unparking 1 Remove all single sheets from the printer and close the paper bail 2 Mount the paper guide in the horizontal position 3 Move the release lever to the up position 4 With power ON move the bail lever forward The printer will auto matically feed the parked fanfold paper into position for printing 5 Move the bail lever back to close the bail Now you are ready to print TEST PRINTING After loading paper you can test the printer as described next Short self test This procedure prints a six line barber pole test pattern The lines are eight inches wide so the paper should be at least that wide 1 Check that paper is in position for printing 2 With power off press the On Line switch on the control panel and hold it down 3 Still holding the On Line switch down turn the printer s power The printer will automatically start printing its short test pattern You can release the On Line switch after printing starts To remove the paper at the end of the test switch power OFF then turn the platen knob Don t turn the platen knob while power is on 12 TESABCDEFGHIJKLMNOFORSTUVWXYZLN1 abcdefghijbklmno 45878
91. onal character sets 14 sets USA France Germany England Denmark I Denmark Sweden Italy Spain I Spain II Japan Norway Latin America Denmark Norway m Type Styles and Pitches Draft type styles Draft draft italic NLQ type styles Courier Sanserif Orator with lower case or small capitals and italic versions of these 54 Extra large characters Double width double height double width and height quadruple width and height Print pitches Pica 10 cpi Elite 12 epi Condensed pica 17 cpi Condensed elite 20 cpi Standard mode only Proportional spacing can be selected for each of the above Line spacing 1 6 inch standard 1 8 n 72 or n 216 inch programmable Column width 8 inches Pica 80 characters Elite 96 characters Condensed pica 137 characters Condensed elite 160 characters Paper Specifications Single sheets 140 to 216 mm 5 5 to 8 5 inches wide 0 07 to 0 10 mm thick Fanfold paper 102 to 254 mm 4 to 10 inches wide 0 07 to 0 10 mm thick single ply Max 0 28 mm thick 3 ply Number of copies Max 3 original 2 copies Dimensions and Weight Dimensions Width 384 mm 15 1 inches Depth 287 5 mm 11 3 inches Height 108 mm 4 3 inches Weight 4 7 kg 10 3 pounds m Electrical Specifications Line voltage 120 VAC 10 220 VAC 10 240 VAC 10 varies according to the country of pur chase Line frequency 50 or 60 Hz Power consumption Typ 30
92. other paper High resolution near letter quality printing When you select an NLQ type style the printer slows down and employs a dense matrix of up to 18 by 23 dots to print clear well formed characters Large variety of type styles and sizes The printer has one draft style and four NLQ styles Courier Sanserif and Orator with small capitals or lower case plus italics for all styles plus condensed print bold print double sized print quadruple sized print see the samples on the next page Type styles are Draft characters Courier characters Sanserif characters ORATOR WITH SMALL CAPITALS OR with lower case characters ITALICS for all Print pitches are Pica pitch Elite pitch Condensed pica pitch Condensed elite pitch proportional spacing for all pitches Expanded Doubie height Double sized QOuad sized Various line and character spacings Other features Emphasized Double strike Underlining OverTining SUPERSCRIPT SUBSCRIPT Download characters Gb Dot graphics TABLE OF CONTENTS Chapter 1 SETTING UP THE PRINTER Locating the printer Unpacking and inspection Check the carton contents Setting up Mount the platen knob Remove the top cover Install the ribbon cartridge Replace the top cover Connect the printer to the computer Connect the printer s power cord Loading single sheets Mount the paper guide Semiautomatic loading Manual
93. p to it from below with at least a full page hanging free UNPACKING AND INSPECTION Check the carton contents Open the carton and check each item in the box against Figure 1 1 to make sure that you have everything there should be five items Figure 1 1 Check to make sure you have all five items 1 Printer 2 Paper guide 3 Platen knob 4 Ribbon cartridge and 5 User s manual Make an external inspection of the printer Note the locations of the following parts Bail lever opens and closes the paper bail which holds the paper against the platen Entry slot Rear cover Bail lever Release lever Power switch Control panel Connector Figure 1 2 The printer s external parts Release lever releases the platen This lever must be down for printing on single sheets and up for fanfold forms Top cover protects the print head and other parts Rear cover protects the sprocket feed mechanism Entry slot for inserting single sheets of paper Control panel controls various printer functions Power switch switches power on and off Connector for connecting the computer to the printer SETTING UP Mount the platen knob The platen knob is packed into a recess of the white foam packing material which held your printer inside the packing box Be careful to remove the knob before disposing of the packing Mount the platen knob on its shaft on the right side of the
94. pe code 32 35 Escape sequences 59 Expanded printing 67 F Fanfold forms loading 9 50 parking 11 26 specifications 55 unparking 12 Fixed spacing 68 Font control commands 59 Form feed 74 14 Graphics 37 45 51 80 82 Hard 37 Hexadecimal dump 24 26 Horizontal position commands 76 Horizontal tabulation 5 79 LI ud character sets 64 102 105 mode 16 22 46 IBM PC 25 26 printers 31 Immediate print 87 Initialization sequence 33 Installing software 37 107 Interface specifications 53 signals 56 test 13 International characters 7 51 64 106 Italic printing 22 61 J Justification 78 LL J Label printing 50 Left margin 28 76 77 Line feed 72 Line spacing 50 55 70 72 Locating the printer M Macro instruction 85 Maintenance 47 Manual feed 88 Margins bottom 73 74 left 28 76 77 right 28 76 77 top 7 73 74 Master print mode 68 Micro feed 27 28 Microjustification 68 Most significant bit 86 Near letter quality 22 60 83 85 93 94 NLQ Type Style switch 22 24 O Off line 20 87 On Line switch 20 24 87 Orator type style 16 22 60 Overlining 62 Page feed 27 74 Page length 6 73 Page width 32 55 Panel pitch 24 Panel style 24 Paper Feed switch 20 24 26 27 28 Paper feed 7 12 53 Paper guide 6 11 Paper speci
95. printer Turn it until you can push it in all the way Power should always be off when you turn the platen knob Turning the platen by hand while power is on can damage the printer s gears Platen Knob Figure 1 3 Mounting the platen knob ee Remove the top cover Lift the front edge of the printer s clear plastic top cover Then disengage the tabs at the back of the cover and remove the cover completely Figure 1 4 Removing the top cover Install the ribbon cartridge The top side of the ribbon cartridge has a handle for turning the ribbon Turn this handle in the direction of the arrow to tighten the ribbon Next place the ribbon cartridge on the print head carriage guiding the ribbon between the print head and the platen Press down firmly on the cartridge until it snaps into place Figure 1 5 Installing the ribbon cartridge Replace the top cover Hold the cover upright and engage the tabs at the back Then swing the front edge down until the cover is closed Leave the cover closed during normal operation It keeps out dust and dirt and reduces the printer s operating sounds Open the cover only to change the ribbon or make an adjustment Connect the printer to the computer Connect the printer end of the interface cable to the connector socket on the right side of the printer as shown in Figure 1 6 Make sure the computer is turned OFF then connect the other end of the cable to your computer
96. r feed Friction and push tractor feed Semiautomatic sheet loading Paper feed speed 2 7 inches second during page feed E interface and Emulation Interface Centronics compatible 7 or 8 bit TTL level Data buffer 4K bytes when not used for download characters 1 Line buffer when using download Emulation modes Epson LX 800 and IBM Proprinter IT B Switches and Indicators Power switch Rocker switch Control panel 4 Membrane switches 10 LED indicators DIP switches 12 pins Special features Panel pitch style lock in Forward and reverse micro feed Paper parking Hexadecimal dump Dot Matrix Size Character matrix 9 x 9 dots Draft pica 18 x 23 dots Courier and Orator pica 18 x 18 dots Sanserif pica elite 12 x 11 dots IBM block graphics pica 18 x 19 dots Courier and Orator elite 18 x 12 dots Condensed pica 18 x 10 dots Condensed elite Bit image graphics 8 x 480 dots at 60 dpi Single density 9 x 480 dots at 60 dpi Single density 8 x 576 dots at 72 dpi Plotter mode 8 x 640 dots at 80 dpi CRT 1 8 x 720 dots at 90 dpi CRT II 8 x 960 dots at 120 dpi Double density 9 x 960 dots at 120 dpi Double density 8 x 960 dots at 120 dpi High speed 8 x 1920 dots at 240 dpi Quadruple den sity E Character Sets Standard character set 96 ASCII characters IBM character set 244 characters ASCII international characters symbols block graphics Download characters Max 192 draft or 78 NLQ Internati
97. ribbon 47 Figure 5 1 Replacing the ribbon cartridge you ll know that the print head has reached the end of its service life To replace the print head follow the procedure below As you remove the old print head note carefully how the cable is threaded so that you can thread the new cable in the same way Warning The print head becomes hot during operation If you have been using the printer wait awhile so that the print head can cool off Turn power OFF and unplug the power cord Remove the top cover and ribbon cartridge Move the print head carriage toward the right until you can see the connector cover Remove the connector cover and pull the cable free from the connector Unscrew the two screws that hold the print head in place and set them aside Disengage the cable from the tabs holding it down then remove the print head For easy installation of the new print head move the carriage toward the left end of the rail Place the new print head on its support seating it on the two pins Thread the new cable the same way as the old securing it under the three tabs on the print head carriage Plug the cable into the connector inserting it as far as it will go Print head Connector cover Figure 5 2 Replacing the print head 10 Fasten the print head down with the two screws 11 Move the carriage back toward the right and replace the connector cover Slide the connector cover to th
98. rt underlining Mode ASCII lt ESC gt 27 45 49 iB 2D 31 t Z ESC lt I gt 27 45 1 IB 2D 01 Causes subsequent characters to be underlined IBM block graphics characters and spaces skipped by horizontal tabulation are not underlined Stop underlining Mode ASCII 27 45 48 IB 2D 30 t 3 lt ESC gt lt 0 gt 27 45 0 1B 2D 00 Stops underlining Start overlining Mode ESC uu imp 27 95 49 IB SF 31 Both lt ESC gt STS 27 95 1 IB 5F 01 Causes subsequent characters to be overlined Spaces skipped by hori zontal tabulation are not overlined Stop overlining Moge Decimai Hexadecimal lt ESC gt 40 27 95 48 5 30 Both lt ESC gt D lt 0 gt 27 95 0 1B 5 00 Stops overlining Superscript asci p 58 co 27 83 48 IB 53 30 t on lt ESC gt S lt 0 gt 27 83 0 1B 53 00 Causes subsequent characters to be printed as superscripts Does not change the character pitch Subscript Mode Decima lt ESC gt 67 27 83 49 53 31 Both lt ESC gt 5 lt gt 27 83 1 IB 53 01 Causes subsequent characters to be printed as subscripts Does not change the character pitch Cancel superscript or subscript ASCII lt ESC gt T 27 84 54 Stops printing
99. s Appendix C presents a BASIC program you can use to define and download new characters Appendix D presents tables of the printer s character sets FEATURES OF THE PRINTER This printer is a compact convenient monochrome printer without frills but with a full complement of features making it an excellent partner for a personal computer It supports the IBM Epson printer commands and character sets enabling it to print just about anything your computer can generate both text and graphics Some of its main features are the following Extensive software support Since it is compatible with the Epson and IBM printers it works with any software that supports those printers That includes most word pro cessing and graphics programs spreadsheets and integrated software packages Easy operation Clearly understandable lamp displays and beep tones provide immediate feedback when you press the switches on the control panel The four switches can operate in combinations to perform a surprising variety of functions including margin setting and micro alignment Easy care and maintenance The ribbon cartridge can be replaced in seconds the print head in a few minutes Versatile paper handling Single sheets fanfold forms and multi copy forms up to triple ply are all accepted and you can use either tractor or friction feed A special feature enables you to keep fanfold forms parked in readiness while printing on
100. set If you set this switch to the OFF position in place of italics you will get the graphic characters international characters and mathematical symbols of IBM character set 2 See Appendix D character codes 128 to 254 If you selected IBM mode do you want IBM character set 1 or 2 16 ON selects character set 2 which is for computers with an 8 bit interface the most common kind OFF selects character set 1 for computers with a 7 bit interface Switch 1 8 Do you want an automatic line feed If you leave this switch at the ON position a separate line feed code is re quired to obtain a line feed If you move this switch to the OFF position the printer performs both a carriage return and line feed each time it receives a carriage return code Most computer systems send a line feed code or both a carriage return and line feed at the end of each line so this switch should be left ON If you get double line spacing when you expect single spacing or if lines overprint each other try changing the setting of this switch Switch 2 1 Does your software download new characters to the printer To download characters this switch must be OFF The printer then uses its RAM memory for storing character patterns and provides only a one line print buffer If you leave this switch ON the printer uses its RAM memory as an input buffer allowing the computer to send data faster than the printer prints Switches 2 2 to 2 4
101. ssigned commands the program prints samples of its different type styles including a line showing all styles in italics followed by samples of the print pitches then some double and quadruple sized printing Next comes the central attraction of the program a line of text printed twenty times in expanding and contracting loops to give a barrel effect The work is done by four printer commands a command setting the right margin line 1400 a centering command line 1420 a command to vary the line spacing lines 1440 and 1490 and a command to micro adjust the space between characters lines 1450 and 1500 44 Next the program returns to normal spacing and gives demonstration of the printer s word processing abilities bold printing underlining sub scripts etc The row of automobiles in the next printed line is created by downloading two new character patterns which are printed in place of the character lt character 60 Details can be found in Appendix C The final part of the program uses dot graphics to print an S amp S logo The dot pattern of the logo was originally laid out on graph paper then converted to the data in lines 2640 to 3030 with the help of a calculator Each number represents eight vertical dots See Graphics commands in Appendix B for details See also Figure C 1 in Appendix The pattern is printed in four rows each eight dots high and 100 dots wide Lines 1800 to 185
102. ssion 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 For compliance with the Federal Noise Interference Standard this equipment requires a shielded cable The above statement applies only to printers marketed in the U S A Self Declaration Radio interference regarding this equipment has been eliminated according to Vfg 1046 1984 announced by the DBP DBP has been informed of the introduction of this special equipment and has been granted the right to examine the whole series It is the user s responsibility to see that his own assembled system is in accordance with the technical regulations under Vfg 1046 1984 To conform to FTZ regulations it is necessary to make all connections to the printer with shielded cable The equipment may only be opened by qualified service representatives The above statement applies only to printers marketed in West Germany Trademark Acknowledgements LC 10 NL 10 NP 10 NX 10 15 ND 10 15 10 15 Star Micronics Co Ltd PC IBM Proprinter PC DOS International Business Machines Corp Microsoft BASIC MS DOS Microsoft Corporation LX 800 FX 86e EX 800 LX 80 86 Seiko Epson Corp NOTICE e All rights reserved Reproduction of any part of this manual in any form whatsoever without STAR s express permission is forbidden The contents
103. symbol This symbol means to hold the CTRL key down while pressing the next key for example V means to type CTRL V C means to type CTRL C which indicates the end of the input A gt EDLIN NLQELITE DAT New file 39 xl V VA VI X VLN N V indicates that the following character is a control code V enters the ESC code lt ESC gt has character code 27 and is the 27th character in ASCII sequence from A Similarly VA enters the control code 17 and VL enters the control code lt 127 See your DOS manual if you need further information about EDLIN You can now set up the printer by sending it the file NLOELITE DAT To avoid unnecessary logging of commands switch hard copy output off by pressing CTRL PRTSC if hard copy is on To print the file README DOC in NLQ elite type give the following two commands A COPY NLOELITE DAT PRN A gt PRINT README DOC For greater convenience you can make a batch file that will set up the printer and print any specified file with a single command To create such a batch file with the name NLQPRINT BAT type in the first four lines shown next Z means to press the CTRL and Z keys simultaneously To use this file to print README DOC type the fifth line A gt COPY CON NLQPRINT BAT COPY NLQELITE DAT PRN PRINT 1 Z A NLOPRINT README DOC The first above line is a copy command from the CONsole screen to a file named NLQPRINT BAT The next two l
104. t cc gt lt cc gt lt a gt pl command for each character defined lt cc gt is character code lt a gt is the attribute byte and lt gt are the 11 draft or 46 near letter quality bytes of dot data This program uses only the most significant bit of the at tribute byte It does not set the other bits which are concerned with proportional spacing This program is coded in Microsoft BASIC for IBM PC The WIDTH 255 command in line 1010 means infinite line width and prevents the computer from inserting unwanted line feeds in the character data Some versions of BASIC do not need the WIDTH command Check your BASIC manual and make any changes necessary 94 1000 1010 1020 1030 1040 1050 1060 1070 1080 1090 1100 1110 1120 1130 1140 1150 1160 1170 1180 1190 1200 1210 1220 1230 1240 1250 1260 1270 1280 1290 1300 1310 1320 1330 1340 1350 1360 1370 1380 1390 1400 1410 1420 1430 1440 1450 1460 1470 1480 1490 1500 1510 1520 1530 1540 1550 1560 1570 1580 1590 1600 1610 1620 1630 1640 1650 1660 1670 1680 1690 OOO WOR OI KK C Xx DOWNLOAD CHARACTER GENERATOR WR RO KK WIDTH LPT1 255 KEY OFF CLS DIM A 126 P 126 23 Q 126 23 DT 16 24 E CHR 27 R CHR 28 KEY 1 CHR 7 KEY 2 CHR 8 KEY 3 CHR 9 KEY 4 CHR 10 5 CHR 11 6 CHR 12 FOR I 33 TO 126 A I 1 NEXT I LOCATE 1 1 PRINT STRING 25 62 PRI
105. tabs at the bottom into their slots Then rotate the cover forward pressing down on the thumb pads on the left and right to snap it into place 17 Mount the paper guide in the horizontal position shown in Figure 1 12 so that it will separate the printed from the unprinted paper M Elo Paper guide Figure 1 12 Mounting the paper guide for fanfold forms Now you are ready to switch power on and print Paper parking After loading fanfold paper you do not have to unload it when you want to print on a single sheet The printer will park it for you if you follow the procedure below E 1 Paper parking starts with power ON fanfold paper loaded in printing position the release lever up and the bail lever back 2 Press the On Line switch on the control panel to set the printer off line On Line indicator off 3 Tear off the printed form at the last perforation leaving not more than about half a page showing above the top cover If necessary press the Paper Feed switch to feed paper forward until a perforation is located just above the top cover and tear there 4 Press the Print Pitch switch on the control panel and hold it down 5 Still holding the Print Pitch switch down press the Paper Feed switch The printer will automatically feed the fanfold form backward until the paper is completely free of the platen Move the release lever to the down position Mount the paper guide in the upright positi
106. tches DSW1 has eight switches named 1 1 to 1 8 from left to right DSW2 has four switches named 2 1 to 2 4 For all switches the ON position is towards the back of the printer and the OFF position is towards the front To set a DIP switch use a ballpoint pen or other small implement to move the switch to the ON or OFF position The printer s power should be off when you set the DIP switches Settings made while power is on do not take effect until power is switched off then on again because the printer reads the DIP switches only at power up 14 Function International character set See below The printer is delivered with all DIP switch set to the ON position These are the standard settings By changing the settings you can alter various printer functions to match your requirements The following questions will help you make the right settings OFF 15 Switch 1 1 Is the page length of your paper 11 inches 12 inches Leave this switch ON if you will be using 11 inch forms Move it to the OFF position if you will be using 12 inch forms Switch 1 2 Do you want an automatic carriage return Leave this switch ON The printer will automatically perform a carriage return by moving to the left margin at each line feed Even if your software sends a separate carriage return code an extra carriage return does no harm because two consecutive carriage returns are the same as one Very fe
107. teps When you want to stop release both switches co perm Left margin NLQ Type Style and Print Pitch switches Software almost always provides commands for controlling the margins so you will not usually have to set them from the control panel When necessary however you can set the left margin as follows 1 Press the On Line switch to set the printer off line 2 Press the NLQ Type Style switch and hold it down 3 Press the Print Pitch switch The print head will make a short excursion from the left end then start advancing from left to right in a series of steps each equal to one pica character width 1 10 When the print head reaches the desired left margin position release both switches The printer will beep to indicate that the margin has been set Right margin NLQ Type Style and Paper Feed switches You can also set the right margin Press the On Line switch to set the printer off line Press the NLQ Type Style switch and hold it down Press the Paper Feed switch The print head will travel to the right end of the carriage then start advancing from right to left in a series of 1 10 steps When it reaches the desired right margin position release both switches The printer will beep to indicate that the margin has been set pr Clearing the buffer Print Pitch On Line and Paper Feed switches When DIP switch 2 1 is ON the printer stores received data in a large memory buffer This creates a problem when you w
108. the NLQ Type Style switch was pressed during power up 59 Select draft elite characters Decimat Hexadecimal lt ESC gt e cT 27 73 49 IB 49 3l IBM lt gt Tr lt gt 27 73 1 1B 49 01 Changes to draft quality characters with elite pitch 12 cpi Ignored if the NLQ Type Style switch was pressed during power up Select NLQ characters Mode _ ason lt ESC gt 27 120 49 78 31 Both lt ESC gt x lt gt 27 120 IB 78 01 Changes from draft quality to near letter quality Ignored if the NLQ Type Style switch was pressed during power up Select NLQ type style ascu 7 Demi Hexadecimal lt ESC gt k n 27 107 n 6 n Selects NLQ type style according to the value of In draft mode this command remains dormant and takes effect later when NLQ is se lected by lt ESC x 1 Ignored if the NLQ Type Style switch was pressed during power up Type style Courier initial value Sanserif Orator with small capitals Orator with lower case C to cCc sx Select Sanserif characters head j lt ESC gt 527 27 73 0 IB 49 32 lt ESC gt lt 2 gt 27 73 2 49 02 Changes to the Sanserif NLQ font Ignored if the NLQ Type Style switch was pressed during power up 60 Select Courier characters Mode ascu SESCS V 27 73 51 49 33
109. tion E if line spacing is twice as wide as expected Set switch 1 8 to the ON back position E you can t print to the end of the page This is normal The printer s paper out detector detects the end of the paper and stops printing about an inch above the end You can make the printer ignore the paper out detector by setting DIP switch 1 5 to the OFF front position or by using the lt ESC gt 8 printer command 50 f r m f the printed characters don t match the characters on the screen Check DIP switches 2 2 to 2 4 When these switches are not all ON back an international character set is selected and some ASCII symbols are changed to other characters See Appendix D Some software is not able to display international characters on the screen If you use an international character set you may want to paste labels on the keyboard If you are using the IBM mode check DIP switch 1 7 Some international characters and symbols do not print when this switch is OFF front some printer commands are ignored or executed incor rectly Check that the setting of DIP switch 1 6 matches the type of printer your software supports ON back for Star or Epson OFF front for IBM A few commands are mutually exclusive For example you cannot get emphasized condensed printing E If you have problems with horizontal tabulation e Don t change the margins after
110. urn to the on line state and start printing The selected type style will not be changed by any commands sent by software If you want to protect both the Print Pitch and NLQ Type Style settings from software changes press both switches during power up There will be two acknowledging beeps Pressing these switches during power up does not prevent you from making any number of changes later from the control panel Hexadecimal dump Paper Feed and Print Pitch switches This feature is useful for programmers who are debugging printing programs and want to see the actual codes the printer is receiving Some computers change the codes the programmer intended 1 Holding both the Paper Feed and Print Pitch switches down turn power ON A beep tone will be heard 2 Start printing In place of the usual printout you will get a formatted dump showing exactly what data the printer receives Each line presents sixteen characters their hexadecimal codes to the left and printable characters printed on the right 3 At the end of the hexadecimal dump set the printer off line with the On Line switch This is necessary to print the last line 24 The following BASIC program is a simple test you can run hexade cimal mode 10 FOR 1 0 TO 255 20 LPRINT CHR T 30 NEXT I 40 LPRINT 50 END If your system passes the codes directly to the printer without changing them you will get a printout like Figure 2 5 oO OL
111. w programs require this switch to be OFF Switch 1 3 When you select the Orator type style on the control panel do you want lower case letters to print as lower case OFF or as small capitals Take your pick from the samples below Note that lower case Orator does not have descenders for the letters g j and y ORATOR PRINTS THIS WAY WITH SWITCH 1 3 ON Orator prints this way with switch 1 3 OFF Switch 1 4 Are you going to use the automatic sheet feeder ASF To use the automatic sheet feeder move this switch to the OFF position Otherwise leave it ON Switch 1 5 Do you want the printer to stop printing about an inch from the end of the paper or to keep printing to the bottom Leave this switch ON except when you need to print very close to the end of the paper When this switch is OFF the printer ignores the paper out detector and prints down to and beyond the bottom edge Switch 1 6 you want to use the printer in standard mode or mode Select the mode compatible with your computer and software In standard mode the printer operates like the Epson LX 800 In IBM mode it operates like the IBM Proprinter The ON position selects standard mode The OFF position selects IBM mode Switch 1 7 action of this switch depends on the mode chosen with switch 1 6 If you selected standard mode do you want italics or graphic charactes Leave this switch ON to print italics in the standard character
112. was pressed during power up N Expanded printing lt ESC gt W 1 27 87 49 IB 57 31 Both lt gt W lt gt 27 87 1 57 01 Causes subsequent characters to be expanded to double width Cancel expanded printing Mode ASCII moth cw oe 27 87 48 1 57 30 t lt ESC gt W lt 0 gt 27 87 0 IB 57 00 Stops expanded printing and returns to normal width Expanded printing for one line Mode Ascu Decima Hexadecimal Both lt ESC gt lt 50 gt 27 14 IB 0E Causes subsequent characters in the current line to be expanded to double width Characters return to normal width after the next line feed lt LF gt lt DC4 gt lt gt lt FF gt and lt ESC gt W 0 commands also cancel expanded printing Cancel one line expanded printing es Stops one line expanded printing set with lt SO gt or lt ESC gt lt SO gt Does not cancel lt ESC gt W 1 Select proportional spacing lt ESC gt p 27 112 49 1B 70 31 Both 27 112 1 IB 70 01 27 80 1 50 01 Causes subsequent characters to be proportionally spaced Ignored if the Print Pitch switch was pressed during power up 67 Select fixed spacing Both lt ESC gt 0 27 112 48 1B 70 30 lt
113. you clear all dots by pressing F4 and start over When the character is complete press Return to store the dot data in the computer s memory The program will clear the character box and ask you to select the next character to design When you have finished designing characters press the F6 key The program will ask you whether you want to save download and print the characters you have designed If you answer Yes to all three questions your characters will be saved on a disk file and downloaded to the printer and the entire character set from character 33 to character 126 will be printed out At any point while you are selecting or designing characters you can press F5 to skip the current character and proceed to the next character The program does not allow you to redefine the space character or to define any other character as an all blank character Nor can you assign character codes less than 33 or greater than 126 to the characters you define NLQ character First ml m23 Second pass 24 46 pass 128 ASCII Code 33 Descender 64 Left space Right space 32 128 16 Left x 16 Right 8 ol ol 4 e e e C SEREN 1 Dot data ist 14 38 70 70 6 O O O 9 9 8 i 0 O 70 38 22 6 6 6 2nd B 4 14 24 64 22 6 O O O 32 64 0 0 122 2 1 14 14 12 F

Download Pdf Manuals

image

Related Search

Related Contents

  Utilisation de logiciels Libres/Open Source pour  SynerWeld 2100 - Victor Technologies  旧製品    Evaluation of substitution contexts  USER MANUAL GEBRUIKSAANWIJZING ATLAS  

Copyright © All rights reserved.
Failed to retrieve file