Home
SD-10/15 USER`S MANUAL
Contents
1. 11 BASIC MAINTENANCE As almost any good mechanic will tell you dust and heat are prime enemies of any mechanism and SD 10 15 is no exception The best maintenance is preventive So to start with we hope you ve found a clean dust free location with comfortable temperature range for both you and your computer printer sys tem Chapter 1 gives you further tips on locating SD 10 15 CLEANING SD 10 15 The second rule for long life is periodic cleaning Both inside and outside of the case and covers respond gratefully to periodic cleaning with a damp rag and alcohol Do this whenever the case appears to be getting dirty always being careful to avoid dripping alcohol on the printer mechanism To remove dust and paper lint from inside the tractor and printer areas it s best to use a soft brush but be very very careful not to bend or injure any electronic parts or wiring as they are vulnerable to a heavy handed touch Besides the periodic cleanings the only other maintenance you ll likely encounter will be changing the ink ribbon cartridge replacing a blown fuse or replacement of the print head after a long period of use REPLACING THE INK RIBBON When the printing gets too faint for comfortable reading it s time for a new ink ribbon By far the most convenient way is to simply replace the entire ribbon cartridge Chapter 1 describes this procedure After all that s the purpose of the cartridge to save time an
2. 248 A 249 4 250 251 f J 252 ai 1 1 23 254 h n 255 Space 137 APPENDIX C CHARACTER STYLE CHARTS 32 3 Standard Characters 140 LLLLLLLIT ISIS 109 tt ell 108 141 International Characters 91 142 123 124 143 Italic Characters ie Mion Ce i EE AEG AA E E n 145 146 S LLLLLIT wid ele i i al 1 eel LS RIST CTT eet bo ma B Italic International Characters TT Telel lel 148 96 123 124 125 126 Special Characters for STAR mode 149 195 4 199 150 239 243 251 237 236
3. Figure H 2 Typical interface circuit seconds This signal acknowledges the receipt of the data and so is called the for acknowledge signal Pin 11 reports when the SD 10 15 is not able to receive data The signal is called BUSY When this signal is high SD 10 15 cannot receive data This signal will be high during data transfer when the printer is off line and when an error condition exists SD 10 15 will report that it has run out of paper by making the PAPER OUT signal on pin 12 high This pin can be held low by turning DIP switch 2 1 off When the printer is in the on line state pin 13 is held high This signal SELECTED tells the computer that the printer is ready to receive data Pins 14 15 and 34 36 are not used while pins 16 17 19 30 216 Table H 1 Parallel interface pin functions 1 STROBE Signals when data is ready to be read Signal goes from HIGH to LOW for at least 0 5 microseconds when data is available DATAI DATA3 These signals provide the information of the first to due bits of el data Each signal is at HIGH level for a logical 1 and at a LOW level for a logical 0 OUT A 9 microsecond LOW pulse acknowledges receipt of data BUSY OUT When this signal goes LOW the printer is ready to accept data 12 PAPER OUT This signal is normally LOW It will go OUT if T E of paper 51 DIP switch 2 1 off Ed uu MM signal is HIGH when
4. lt ESC gt 1 ESC 2 lt gt A n lt ESC gt 3 n lt ESC gt J n Form feed controls CHR 12 lt ESC gt C n lt ESC gt C CHRS 0 n lt ESC gt R n lt ESC gt N n lt ESC gt o Line feed Set line feed to 1 8 inch Set line feed to 7 72 inch d Set line feed to 1 6 inch Set line feed to n 72 inch Set line feed to 1 144 inch Single line feed of n 144 inches Form feed Set page length to lines Set page length to inches Set top margin at line n Set bottom margin at lines Cancel top and bottom margins 234 7 Vertical tabs 11 Vertical tab lt ESC gt P CHRS 0 Set vertical tabs lt ESC gt a n Advance n line feeds Commands to control horizontal position of the print head CHR3 13 Carriage return lt ESC gt M n Set left margin at column lt ESC gt n Set right margin at column n CHRS 9 Horizontal tab lt ESC gt CHR 0 Set horizontal tabs lt ESC gt b n Tab over n columns 8 Backspace Download character commands lt ESC gt 1 nl n2 m0 ml mli Define download characters lt ESC gt 0 Copy standard ROM characters to down load lt ESC gt 1 Use download characters lt ESC gt 0 Cancel download characters Commands to control graphics lt ESC gt nl n2 ml m2 lt ESC gt L n n2 ml m2 l
5. 5 1 27 83 1 1 53 01 lt gt 5 1 27 83 1 1 53 01 This command causes all subsequent char acters to be printed as subscripts The same conditions and restrictions apply for sub scripts as do for superscripts NOTE The character 1 decimal code 49 hexadecimal code 31 can be used instead of ASCII 1 Chapter 5 170 PURPOSE CODE STAR mode decimal ASCII hex ASCII IBM mode decimal ASCII hex ASCII REMARKS REFERENCE Cancel superscripts and subscripts lt ESC gt T 27 84 1B 54 lt ESC gt T 27 84 1B 54 This command cancels either superscript or subscript mode It also cancels the uni di rectional printing and double strike which the mode had set Chapter 5 COMMANDS TO CONTROL VERTICAL POSITION OF PRINT HEAD These commands are used to move the paper relative to the lo cation of the print head By moving the paper up the print head in effect moves down the page Line feed controls PURPOSE CODE STAR mode decimal ASCII hex ASCII IBM mode decimal ASCII hex ASCII REMARKS REFERENCE PURPOSE CODE STAR mode decimal ASCII hex ASCIT IBM mode decimal ASCII hex ASCII REMARKS REFERENCE Advance the paper one line Line Feed lt LF gt 10 0A lt LF gt 10 0A The actual distance advanced by the line feed is set through various codes which can be sent see below When D
6. off is towards the front Never change the settings of any of the DIP switches when the power is on Turn off both the printer and your computer The individual switches on DIP switch 1 are called 1 1 through 1 8 those on switch 2 are 2 1 through 2 4 Table A 1 summarizes the functions of DIP switches 1 and 2 Table 1 DIP switch settings 1 1 11 page length 12 page length 1 2 Normal STAR mode Italic STAR mode Character Set 1 IBM mode Character Set 2 IBM mode 1 3 10 CPI pica pitch 17 CPI condensed pitch Normal Ignore download characters Enabe download characters International character set selection see Table A 2 N OFF Uni Paper out detector on Ignore paper out STAR mode IBM mode 2 3 LF must be from host Auto LF with CR Standard buffer Optional Buffer Note Switch 2 4 is not used for SD 15 DIP switch 1 controls the default settings for printing functions DIP switch 2 controls the interface SWITCH FUNCTIONS Switch Function 1 1 Switch 1 1 sets the default page length for SD 10 15 If switch 1 1 is ON the page length is set to 11 When switch 1 1 is OFF the page length is set to 12 This switch is set ON at the factory 1 2 This switch selects the default character set according to the condition of DIP switch 2 2 If this switch is ON then the default character set is Normal characters STAR mode or Charact
7. ESC 4 1 27 92 1 1 5 01 This command causes to print zero with slash NOTE The character 1 decimal code 49 hexadecimal code 31 can be used instead of ASCII 1 Chapter 8 Print zero without slash gt ESC gt 4 0 27 92 0 1 5 00 lt gt 0 27 92 0 5 00 This command cancels to print the slashed zero and return to print the normal zero NOTE The character 0 decimal code 48 hexadecimal code 30 can be used instead of ASCII 0 Chapter 8 191 CODE STAR mode decimal ASCII hex ASCII IBM mode decimal ASCII hex ASCII REMARKS REFERENCE PURPOSE CODE STAR mode decinal ASCII hex ASCII IBM mode decimal ASCII ASCII REMARKS REFERENCE Delete the last character sent lt DEL gt 127 7F lt DEL gt 127 TE This command deletes the last character re ceived This command is ignored if the last character received has already been printed or if the last character received was all or part of a function code Chapter 8 Cancel line lt CAN gt 24 18 lt CAN gt 24 18 This command deletes the last line in the print buffer at the time the command is used Chapter 8 PURPOSE CODE STAR mode decimal ASCIT hex ASCII IBM mode decimal ASCII hex ASCIT REMARKS REFERENCE PURPOSE CODE STAR mode decimal ASCIT hex ASCII IBM mode decimal ASC
8. PURPOSE CODE STAR mode decimal ASCII hex ASCII IBM mode decimal ASCII hex ASCII REMARKS REFERENCE PURPOSE CODE STAR mode decimal ASCII hex ASCII IBM mode decimal ASCII hex ASCII REMARKS REFERENCE Set the print pitch to elite 12 characters inch ESC 2 27 66 2 1 42 02 ESC 27 7 1B 4D This command causes all subsequent printing except NLQ characters to be done in elite type This command also sets the maximum number of print columns to 96 on the SD 10 and 163 on the SD 15 Chapter 5 Set the print pitch to condensed 17 characters inch lt ESC gt SI 27 15 1 OF lt ESC gt SI 27 15 IB This command causes all subsequent printing except NLQ characters to be done in con densed type of 17 characters per inch This command also sets the maximum number of print columns to 136 on the SD 10 and 233 on the SD 15 You can select condensed type as the power on default by turning DIP switch 1 3 off Chapter 5 162 PURPOSE CODE STAR mode decimal ASCII hex ASCII IBM mode decimal ASCII hex ASCII REMARKS REFERENCE PURPOSE CODE STAR mode decimal ASCII hex ASCII IBM mode decimal ASCII hex ASCII REMARKS REFERENCE PURPOSE CODE STAR mode decimal ASCII hex ASCII IBM mode REMARKS REFERENCE Set the print pitch to pica 10 characters inch This command
9. justing the settings of DIP switches 1 6 1 7 and 1 8 Chapter 8 Select the NLQ Near Letter Quality char acter set lt ESC gt 4 27 66 4 1B 42 04 lt ESC gt 27 52 1B 34 This command causes all subsequent printing to be done with the NLQ Near Letter Quality character set This character set cannot be used in conjunction with other font styles or special print modes except for un derlining You can set NLQ characters as the power on default by turning DIP switch 1 4 off Chapter 5 160 PURPOSE Cancel the NLQ character set CODE STAR mode lt gt 5 decimal ASCIT 27 66 5 hex ASCII 42 05 IBM mode lt 5 gt decimal ASCII 27 53 hex ASCII 1B 35 REMARKS This command causes the printer to cancel the NLQ character set and return to the standard also known as draft character set REFERENCE Chapter 5 Font pitch controls PURPOSE Set the print pitch to pica 10 characters inch CODE STAR mode lt ESC gt 1 decimal ASCIT 27 66 1 hex ASCII 1B 42 01 IBM mode lt ESC gt Rp decimal ASCII 27 80 hex ASCII 1B 50 REMARKS This command causes all subsequent printing to be done in pica type This command also sets the maximum number of print columns to 80 on the SD 10 and 136 on the SD 15 You can select pica type as the power on default by turning DIP switch 1 3 on REFERENCE Chapter 5 161
10. lt ESC gt 9 lt ESC gt U 1 lt ESC gt 0 lt ESC gt lt lt ESC gt id lt 5 orno lt Quadruple density graphics Master graphics select Define macro Use macro Set eighth bit to 1 Set eighth bit to 0 Accept eighth bit as is Delete last character Cancel line Off line On line Sounds bell Disable bell Enable bell Print zero with slash Print zero without slash Ignore paper out signal Enable paper out signal Unidirectional print Bidirectional print One line unidirectional print Reset the printer 237
11. 146 DC DC Pica pitch 147 DC3 DC3 5 Off line 148 DC4 DC4 0 Expanded print off 149 150 151 a 152 CAN CAN y Cancel text 153 154 0 155 ESC ESC d Escape 156 157 158 RS RS R End macro 159 f 160 161 n i i 162 6 5 163 2 164 t A 165 166 e 167 e 9 168 5 169 170 4 171 5 172 4 4 173 i i 174 d 175 176 i 177 5 179 a 180 181 1 1 182 1 183 1 1 E 1 185 7 1 wo I 187 1 STAR mode IBM Imode IBM 2mode Function ped ob cee e oed ob ee deo o xac 1 PI y 1 1 1 A Zi Lod I ilie elio d il H d A LA A HS Hh 5 GE 60 Li gt oW du cmo gt 6 ow dO om CC ow di i O 9 6 4 a 20g 5 5 58 85 os 5 2 o o 0 0 5 O 0 di ett N IRR LL I TO Decimal STAR mode IBM 1mode IBM 2mode Function 223 f 224 X 225 226 r 227 228 a E E 229 230 a H m 231 Y 232 233 e e 234 P ni 235 236 237 238 all 239 n fi fi 240 241 242 2 23 7 244 F 245 246 5 B 247 7
12. 4 49 4 4B 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0011 0011 0011 0011 0011 0011 0011 0011 0011 0011 0011 0011 0011 0011 0011 0011 0100 0100 0100 0100 0100 0100 0100 0100 0100 0100 0100 0100 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 IOLI 1100 LIOI 1110 1111 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 0000 0001 0010 0011 0100 0101 5110 0111 1000 1001 1010 1011 STAR SP Character mode IBM 1 SP IBM 2 SP 1 4 3 3 1 4 Standard ASCII Codes Decimal Hexadecimal 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 4C 4D 4E 4F 50 51 52 53 54 55 62 63 65 66 67 68 69 6A 6B 6C 6D 6E 6F 70 71 72 73 74 75 76 77 0100 1100 0100 110 0100 1110 0100 1111 0101 0000 0101 0001 0101 0010 0101 0011 010 0100 0101 0101 0101 0110 0101 0111 0101 1000 0101 1001 0101 1010 0101 IOI 0101 1100 0101 1101 0101 1110 0101 1111 0110 0000 0110 0001 0110 0010 0110 0911 0110 0100 0110 0101 0110 0110 01100111 0110 1000 0110 1001 0110 1010 0110 1011 0110 1100 0110 1101 0110 1110 0110 1111 0111 0000 0111 0001 0111 0010 0111 0011 0111 0100 0111 0101
13. 4 4 4 5 151 Special Characters for IBM mode NEL DE t Le 152 4 192 196 200 204 208 212 216 220 193 197 201 205 209 213 217 221 194 198 202 206 210 214 281 222 195 199 203 207 211 215 219 223 153 I tn 231 255 lt tz N N 154 N un o e X ea o e 9 Q S o o un i 155 156 APPENDIX D FUNCTION CODE REFERENCE The purpose of this Appendix is to provide a quick reference for the various functions available on the SD 10 and SD 15 The descriptions of the codes appear in the following format PURPOSE Tells what the function code does CODE Control code mnemonic decimal ASCII ASCII decimal equivalent hex ASCII Hexadecimal equivalent REMARKS Details how the command is used REFERENCE Tells which chapter of the manual describes the command in greater detail There are several commands that require that you specify a value or values to SD 10 15 In these cases we have used an italic or to indicate a variable You should insert the ASCII code for proper value here
14. M T NI CS gt OUT This pin is the return path for data transmitted from the printer on the 20mA current loop This pin is the return path for data transmitted to the printer on the 20mA current loop IN This pin carries data to the printer on the 20mA current loop OUT SD 10 15 turns this pin ON when it is ready to receive data Unused This pin is the return path for data transmitted to the printer on the 20mA current loop OUT This pin carries data from the printer on the 20mA current loop IN This pin carries data to the printer on the 20mA current loop 2512 ago T TY TXDR x 2 2 2 gt t3 9 4 i 21 2 z s z 1 2 4 EE Y TXD Y RXD Table 1 2 DIP switch on the serial board Handshaking protocols see Table I 3 Data transfer rate see Table I 4 Table 1 3 Handshaking protocols XON XOFF mode Table I 4 Data transfer rates SD 10 15 S SERIAL PROTOCOLS SD 10 15 has four serial protocols selected by DIP switches 3 4 and 3 5 Figure I 1 shows a typical byte of serial data and Figure 1 2 shows timing charts for the 4 protocols Serial busy protocols In the serial busy protocols SD 10 15 uses DTR pin 20 and RCH pin 11 to signal to the computer when it is able to accept 221 data These two pins go ON when SD 10 15 is ready to accept data I
15. 0111 0110 01110111 STAR M d hi C e Character mode IB M 1 m r C i e 205 IBM 2 M Standard ASCII Codes Binary Decimal Hexadecimal 120 78 12 79 122 7A 123 7B 124 7C 125 7D 126 7E 127 TF 128 80 129 81 130 82 121 83 32 84 133 85 134 86 135 87 136 88 137 89 138 139 8B 140 8C 141 8D 142 143 SF 144 90 145 91 146 92 147 93 148 94 149 95 150 96 151 97 152 98 153 99 154 9A 155 9B 156 9C 157 9D 158 9E 159 9 160 161 1 162 2 163 0111 0111 0111 0111 OLLI 0111 0111 0111 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1001 1001 1001 1001 100 1001 1001 1001 1001 1001 1001 1001 1001 1001 1001 1001 1000 100 1010 1011 1100 101 1110 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 100 1101 1110 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1010 0000 1010 0001 1010 0010 1010 0011 STAR DEL NUL BEL BS HT LE VT FF CR SO 51 DCI DC DC3 DC4 ESC RS 206 Character mode IBM 1 DEL NUL BEL BS HT LF VT FF CR SO SI DCI DC DC3 DC4 ESC 0 IBM32 eo TRUE E 3 our Gta i fL Standard ASCII Codes imal Hexadecimal 164 165 166 167 168 16
16. 2 Serial protocol timing charts 223 APPENDIX 1 CONNECTING WITH COMPUTER In this appendix we ll show you how to connect with various computers If you cannot find out the name of your computer your Star dealer will give you advice on connecting SD 10 15 to your computer CONNECTING WITH IBM PC AND COMPAQ Both the IBM Personal Computer and the Compaq computer function the same when connected to SD 10 15 We will discuss the IBM PC knowing that all we say works just as well as for the Compaq You only need a cable to connect SD 10 15 to your IBM PC Your Star dealer can furnish this cable or you can use a standard IBM PC parallel printer cable for the parallel interface Table J 1 IBM PC parallel cable SD 10 15 IBM PC Parallel Pin No Function Pin No Function 1 2 3 4 5 6 7 8 9 10 BUSY PAPER END 2 PAPER END SELECTED SELECT GROUND 1825 GROUND TG RESET ERROR ne ERROR BASIC programming All the programs in this manual are written in the BASIC used by the IBM PC That makes it easy to do the things that we show you But when you start writing your own programs there are several things you should know IBM BASIC defaults to a printer width of 80 This means that it will automatically insert a carriage return and line feed after every 80 characters If you want to print lines longer than 80 characters you will need to chan
17. IBM mode decimal ASCIT hex ASCII REMARKS REFERENCE Set the printer to expanded print for the remainder of the current line lt ESC gt lt SO gt 27 14 1B 0 gt ESC gt SO 27 14 1 05 Same as gt SO lt above Chapter 5 Cancels expanded print lt ESC gt 0 27 87 0 1B 27 00 lt gt 0 27 87 0 57 00 This command resets the print size to what ever it was before being set to expanded print NOTE The character 0 decimal code 48 hexadecimal code 30 can be used instead of ASCII 0 Chapter 5 Cancels expanded print lt DC4 gt This command cancels one line expanded printing set with lt SO gt Chapter 5 166 Special print modes PURPOSE CODE STAR mode decimal ASCII hex ASCII IBM mode decimal ASCII hex ASCII REMARKS REFERENCE PURPOSE CODE STAR mode decimal ASCIT hex ASCIT IBM mode decimal ASCII hex ASCIT REMARKS REFERENCE Select double strike printing ESC G 27 71 1B 47 lt ESC gt 27 71 1B 47 This command causes all subsequent char acters except NLQ characters to be printed in double strike Double strike causes all characters to be printed once the paper moved up 1 144 inch the characters re printed Shifting in and out of double strike mode on the same line can cause the line to slant slightly Chapter 5 Cancel double strike printi
18. Ib 120 VAC 10 60Hz approx 110W 220 VAC 10 50 60Hz approx 110W 240 VAC 10 50 60Hz approx 110W Star original ribbon cartridge SD 10 80980250 SD 15 80980260 Sub cassette SD 10 80900310 SD 15 80900320 ho bo Parallel interface Interface Synchronization Handshaking Logic level Connector Centronocs compatible 7 or 8 bit By externally supplied strobe pulses By ACK or BUSY signals TTL 57 30360 Amphenol Serial interface option Interface Bit rate Word length Handshaking Asynchronous RS 232C 20 mA current loop 300 600 1200 2400 4800 9600 19200 baud start bit 7 or 8 data bits Odd even or no parity 1 or 2 stop bits Serial busy 1 byte mode Serial busy 1 block mode ACK mode XON XOFF mode APPENDIX PARALLEL INTERFACE SD 10 15 has a parallel interface to communicate with the computer that it is connected to The operating specifications of the parallel interface are as follows Data transfer rate 1 000 to 6 000 characters per second Synchronization Via externally supplied STROBE pulses Handshaking ACK and BUSY signals Logic level Compatible with TTL level SD 10 15 s parallel interface connects to the computer by a 36 pin connector on the back of the printer This connector mates with an Amphenol 57 30360 connector The functions of the various pins are summarized in Table 1 Functions of the Connector Signals Communications between the c
19. Use the setting column to record the way the switches are set in your printer 233 Command Quick Reference For STAR mode Commands to control print style ESC gt 5 lt ESC gt 4 lt ESC gt 7 n lt ESC gt CHR 4 lt ESC gt CHR 5 Font pitch controls lt ESC gt B 1 lt ESC gt 2 lt ESC gt B CHR 3 lt ESC gt 1 lt 5 gt 0 CHR3 18 CHRS 15 lt ESC gt 15 lt ESC gt W CHR3 14 lt ESC gt CHR3 14 lt ESC gt Ww 0 CHR 0 Special print modes ESC gt lt ESC gt lt ESC gt E lt ESC gt F lt ESC gt lt ESC gt 0 lt ESC gt 5 0 lt ESC gt 4571 lt ESC gt Cancel italic print Italic print Select international character set Select NLQ Near Letter Quality charac ters Cancel NLQ characters Pica print Elite print Condensed print Proportional print Cancel proportional print Pica print Condensed print Condensed print Expanded printt One line expanded print One line expanded print Cancel expanded print Cancel one line expanded print Double strike print Cancel double strike print Emphasized print Cancel emphasized print Start underlining Stop underlining Superscript on Subscript on Cancel super and subscripts Commands to control vertical position of the print head CHRS 10 lt ESC gt 0
20. access those characters whose ASCII code is greater than 127 This code should not be used to transmit printer control codes Chapter 8 PURPOSE CODE STAR mode decimal ASCIT hex ASCII IBM mode decimal ASCII hex ASCII REMARKS REFERENCE PURPOSE CODE STAR mode decimal ASCIT hex ASCII IBM mode decimal ASCII hex ASCII REMARKS REFERENCE Set the value of the eighth data bit to logical 0 lt ESC gt 66 23 27 61 1 lt ESC gt 27 61 1 3D This command forces the eighth data bit of each subsequent character sent to the printer to logical 0 This code should not be used to transmit printer control codes Chapter 8 Accept the value of the eighth data bit as is ESC 4 27 35 IB 23 ESC j 27 35 IB 23 This command cancels either setting of the eighth data bit The printer will use the value of the eighth data bit that is sent from the computer This code allows users with a 7 bit interface to resume normal functions after accessing those characters whose ASCII code is greater than 127 Chapter 8 190 PURPOSE CODE STAR mode decimal ASCII hex ASCIT IBM mode decimal ASCII hex ASCIT REMARKS REFERENCE PURPOSE CODE STAR mode decimal ASCII hex ASCII IBM mode decimal ASCII hex ASCIT REMARKS REFERENCE Print zero with slash gt ESC gt 1 27 92 1 1 5 01
21. be used instead of ASCII 0 Chapter 5 164 PURPOSE CODE STAR mode decimal ASCIT hex ASCII IBM mode decimal ASCII hex ASCII REMARKS REFERENCE PURPOSE CODE STAR mode decimal ASCII hex ASCII IBM mode decimal ASCII hex ASCII REMARKS REFERENCE Set the printer to expanded print lt ESC gt 1 27 87 1 1 57 01 lt gt 1 21 87 1 1 57 01 This command causes all subsequent printing to be in expanded type The size of the type is determined by the normal type size at the time the command is sent Normal Expanded Pica 10 CPI SCPI Elite 12 CPI 6 CPI Condensed 17 CPI 8 5 CPI NOTE The character 1 decimal code 49 hexadecimal code 31 can be used instead of ASCII 1 Chapter 5 Set the printer to expanded print for the re mainder of the current line lt SO gt 14 OE SO 14 OE This command causes the printer to print expanded characters until a carriage return is sent It can also be cancelled with lt DC4 gt The character widths are shown above in the description of lt ESC gt W command Chapter 5 PURPOSE CODE STAR mode decimal ASCII hex ASCII IBM mode decimal ASCII hex ASCII REMARKS REFERENCE PURPOSE CODE STAR mode decimal ASCII hex ASCII IBM mode decimal ASCIT hex ASCII REMARKS REFERENCE PURPOSE CODE STAR mode decimal ASCII hex ASCII
22. from 0 to 255 and would set the line length to that value Two codes are a particular problem on the Apple II CHR3 7 and CHR 9 The computer will not send these codes to SD 10 15 Try to avoid using these in dot graphics programs The Apple II computer uses 9 as a printer initialization code It won t send it on to the printer There is a way to bypass this problem however You can change the printer initialization code to a value other than 9 like this 1 PRINT CHR 9 1 This makes CHR 1 the printer initialization code and transfers the problems to that code and allows you to use SD 10 15 s tabs There 1 one more way to sneak problem codes past the Apple operating system and that s to poke the codes directly to the output port To send ASCII code 9 for example you could do this 100 9 119 IF 49601 gt 127 THEN 110 120 POKE 49296 N Line 110 checks the printer s status and when it s okay line 120 pokes the code to the printer Listing programs To make a listing of your BASIC programs on SD 10 15 from your Apple II computer you must take the following steps 1 Be sure that the program that you wish to list is in the memory of the Apple II Direct the output to the printer by typing 1 Type LIST to start the listing When the listing is finished type PR 0 to redirect the output to the screen 4 v 228 CONNECTING WITH TRS 80 COMPUTE
23. installed A unique 226 feature of the grafstar makes it possible to do some fancy dot graphics programming You can of course use many of the available parallel interface boards for the Apple II and an appropriate cable Table J 2 Apple parallel cable SD 10 15 Apple Board Pin No Function Pin No Function SIG GND SIG GND SIG GND STROBE SIG GND DATAI DATA2 DATA3 DATA4 DATAS DATA6 DATA DATA8 1 2 3 4 5 6 7 8 9 ACK SIG GND Applesoft BASIC The Apple II computer using Applesoft BASIC does not have different types of PRINT statements for the screen and printer You must add commands to your programs that direct the output of the PRINT statements to the printer To direct output to the printer with the interface board in slot 1 you must use the PR 1 command Depending on the version of Applesoft BASIC that you are using this command can take various forms It is usually one of the following 10 1 Or 19 PRINT lt Ctrl D gt PR 1 OT 10 PRINT CHR 4 PR 1 To return output to the screen the command is PR 0 in the same form that works for PRZI To allow line length longer than the Apple II usually uses you must add the following statement to your programs 227 20 PRINT CHR 9 255N This allows lines of any length to be sent to the printer and is especially important for dot graphics The number 255 in the BASIC statement above could be replaced by any number
24. lt ESC gt gt ESC gt gt ESC gt lt ESC gt gt ESC gt lt ESC gt lt 5 gt lt ESC gt lt ESC gt lt ESC gt lt ESC gt lt ESC gt lt ESC gt lt ESC gt lt ESC gt lt ESC gt lt ESC gt lt ESC gt lt ESC gt lt ESC gt lt ESC gt M n N n P CHRS3 0 p gt R n 6e R n 9 0 S 1 U 0 Ug wW 0 wW 1 Y 0 Y 1 Y n n2 Z nl n2 g nO nl n2 I n 0 p nl n2 0 1 7 nl n2 Set left margin at column n Elite print Set the bottom margin at n lines Cancel top and bottom margins Set vertical tabs Pica print Set right print margin at column n Set top margin at line n Select an international character set Select superscripts Select subscripts Cancel super and subscripts Bidirectional print Unidirectional print Cancel expanded print Select expanded print Disable bell Enable bell Print double density graphics with doublespeed Print quadruple density graphics Print zero without slash Print zero with slash Advance n line feeds Tab over n columns Master graphic mode select Set left margin at column 7 Cancel proportional spacing Select proportional spacing Set top margin at line n Print double density graphics with double speed Disable bell Enable bell Prin
25. lt ESC gt H lt ESC gt E lt ESC gt gt ESC gt lt ESC gt gt ESC gt lt ESC gt lt ESC gt 66 29 1 Ren 2 Select character set 1 Select character set 2 Italic print Cancel italic print Select interantional character set Select NLQ Near Letter Quality charac ters Cancel NLQ characters Pica pitch Elite pitch Proportional print Cancel proportional print Pica pitch Condensed pitch Condensed pitch Expanded print One line expanded print One line expanded print Cancel expanded print Cancel one line expanded print Double strike print Cancel double strike print Emphasized print Cancel emphasized print Start underlining Stop underlining Superscript on Subscript on Cancel super and subscripts Commands to control vertical position of the print head CHR3 10 lt ESC gt gt ESC gt lt ESC gt lt ESC gt lt ESC gt lt ESC gt 0 1 39 2 Form feed controls CHR3 12 lt ESC gt lt ESC gt lt ESC gt gt ESC gt lt ESC gt O CHR 0 n n Line feed Set line feed to 1 8 inch Set line feed to 7 72 inch Define line feed to n 72 inch LA to line spacing defined by ESC gt Set line feed to 1 216 inch Single line feed of 1 216 inches Form feed Set page length to n lines Set page length to n inche
26. m 4 n 111 112 p 113 3 q q 114 9 4 p 115 5 5 116 t E v 117 LA Li Li 118 vy v v 119 e 121 122 These characters may be different if you are using an interna tional character set other than the USA set The characters for cach set are shown the next page 133 Decimal STAR mode IBM 1mode IBM 2mode Function 123 124 i 125 H H E T 126 gt 127 DEL DEL DEL Delete These characters may be different if you are using an interna tional character set other than the USA set The characters for cach set are shown below International character sets Decimal USA France Germany England Denmark Sweden Italy Spain 35 64 ig a a 5 8 e 91 S A i i 92 a N 0 93 1 8 1 6 94 Da 96 lt 2 t lt 3 123 6 3 124 i n 8 0 6 8 125 2 e gt 126 i M Special and block graphics characters Decimal STAR mode IBM 1mode IBM 2mode Function 128 NUL NUL C End tab settings 129 130 e 131 a 132 133 134 135 BEL BEL Bell 136 BS BS Backspace 137 HT HT Horizontal tab 138 LF LF e Line feed 139 VT VT 1 Vertical tab 140 FF FF i Form feed 141 CR CR i Carriage return 142 SO SO Expanded print on 143 SI SI Condensed print on 144 145 DC DCI On line 5 Pa Decimal STAR mode IBM 1mode IBM 2mode Function
27. must be between 0 and 6 See the Dot Graphics Chart Table 10 2 for nO modes REFERENCE Chapter 10 MACRO INSTRUCTION COMMANDS PURPOSE Define macro instruction CODE STAR mode gt ESC gt s gt 5 gt decimal ASCII 27 43 d 30 hex ASCII 1B 2B Da 1E IBM mode gt ESC gt spe gt 45 gt decimal ASCII 27 43 30 hex ASCIT 8 2B oat 1E REMARKS This command cancels any existing macro instruction and replaces it with the instruc tion defined The maximum number of characters allowed in the macro instruction is 16 The RS character marks the end of the macro definition NOTE This command is ignored when the DIP switch 1 5 is set ON REFERENCE Chapter 8 188 PURPOSE CODE STAR mode decimal ASCII hex ASCII IBM mode decimal ASCII hex ASCII REMARKS REFERENCE Execute macro instruction lt ESC gt 1 27 33 1B 21 ESC P 27 63 This command executes a macro instruction that was previously defined Chapter 8 OTHER COMMANDS PURPOSE CODE STAR mode decimal ASCIT hex ASCIT IBM mode decimal ASCIT hex ASCII REMARKS REFERENCE Set the value of the eighth data bit to logical 1 lt ESC gt ee gt 27 62 1 3E ESC gt ee gt 35 27 62 1 This command forces the eighth data bit of each subsequent character sent to the printer to logical 1 This code allows users with a 7 bit interface to
28. print 5 Cancel NLQ characters 6 Select character set 2 7 n Select an international character set ve Select character set 1 8 Ignore paper out detector Enable paper out detector 7000 ROM characters to down load RAM lt One line unidirectional print Set eighth bit to 0 M Set eighth bit to 1 oT Use macro Reset the printer A n Set n 72 inch line feed A n Define n 72 inch line feed CHRS 1 Pica print CHR Q Elite print B CHR 3 Condensed print 4 Select NLQ characters CHR 5 Cancel NLQ characters B CHRS 0 Set vertical tabs C Set page length to n lines CHR 0 n Set page length to n inches CHR 0 Set horizontal tabs E Select emphasized print Cancel emphasized print G Select double strike print H Cancel double strike print Cancel italic print I 1 Italic print Ton Single line feed of n 144 inch I n Single line feed of n 216 inch K n1 n2 Print normal density graphics L nl n2 Print double density graphics 200 STAR IBM STAR IBM STAR IBM STAR STAR IBM IBM STAR IBM IBM STAR IBM IBM STAR NOTE lt ESC gt lt ESC gt lt ESC gt gt ESC gt lt ESC gt lt ESC gt lt ESC gt lt ESC gt lt ESC gt lt ESC gt lt ESC gt gt ESC gt
29. the printer is on line Signal ground Printer s chassis ground isolated from logic ground External supply of 5SVDC Twisted pair return signal ground level When this signal goes LOW the printer is reset to its power on condition This signal is normally HIGH This signal goes LOW to signal that the printer cannot print due to an error condition m al A 9 3 and 33 are grounded Pin 18 is connected to the SVDC supply is the printer Pin 31 can be used to reset the printer If this signal RESET goes low the printer will reinitialize Pin 32 1 used to report error conditions in the printer This signal ERROR is high during normal operation and goes low to report that the printer cannot print due to an error condition 217 APPENDIX I SERIAL INTERFACE SPECIFICATIONS SD 10 15 provides a very flexible RS232C serial interface as an option It can communicate at rates from 150 to 19 200 baud bits per second and supports four different kinds of handshaking This interface can also function as a 20mA current loop interface The operating specifications of the interface are as follows Data transfer rate 150 19200 Word length 1 start bit 7 or 8 data bits Odd even or no parity 1 or 2 stop bits Signal levels Mark or logical 1 3 to 15 volts or current ON Space or logical 0 3 to 15 volts or current OFF Handshaking Serial busy 1 byte mode Serial busy 1 block
30. will au tomatically execute a form feed when the number of lines left on a page is equal to n The value of n must be between 1 and 127 This command is sometimes referred to as skip over perforation Chapter 6 Cancel top and bottom margins lt ESC gt O 27 79 lt ESC gt O 27 79 1B 4F This command cancels both the top margin set by lt ESC gt R n or by gt ESC r n and bottom margin set by lt ESC gt N n Chapter 6 78 Vertical tabs PURPOSE CODE STAR mode decimal ASCII hex ASCIT IBM mode decimal ASCII hex ASCII REMARKS REFERENCE PURPOSE CODE STAR mode decimal ASCIT hex ASCII IBM mode decimal ASCII hex ASCII REMARKS REFERENCE Advance paper to the next vertical tab position This command causes the paper to be ad vanced to the next vertical tab position or the top of the next page whichever it finds first The vertical tab positions are not set upon power on Chapter 7 Set vertical tab positions ESC P nl n2 n3 0 27 80 nl n2 n3 0 1 50 nl n2 n3 00 lt ESC gt B nl n2 n3 0 27 66 nl n2 n3 0 1B 42 nl n2 n3 00 This command cancels all current vertical tab positions and sets those defined at lines n2 n3 etc The maximum number of vertical tab positions allowed is 20 The ASCII 0 character is used as a command terminator Each vertical tab position must be be
31. 1 1110 1111 1110 0000 1110 0001 1110 1110 1110 1110 1110 1110 1110 1110 1110 1110 1110 1110 1110 1110 BED 1111 1111 IIHI 1111 1111 1111 1111 1111 1111 0010 0011 0100 0101 0110 OLII 1000 1001 1010 1011 1100 1101 1110 1111 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 STAR x A sog ZI 8 CO Pd Do Character mode IBM 1 IBM 2 Gamer RI n tiu Tog oD 2 Standard ASCII Codes Decimal Hexadecimal 252 253 254 255 FC FD FE FF Binary 11111100 1111 1101 11111110 STAR all 4 209 Character mode IBM 1 IBM 2 fi gt to APPENDIX G TECHNICAL SPECIFICATIONS Printing Printing method Printing speed Print buffer Paper feed Printing direction Character set Character matrix Serial impact dot matrix 160 characters per second in 10 CPI 2K bytes SD 10 only Expandable to 6K bytes with optional buffer board 16 K bytes SD 15 only 12 lines second at 1 6 inch line spacing Sprocket or friction feed Bidirectional logic seeking Unidirectional in bit image and NLQ modes 96 standard ASCII characters 88 standard international characters 96 italic characters 88 italic international characters 96 near letter quality NLQ characters 88 NLQ international characters 64 STAR special characters 83 I
32. 9 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 A4 AS A6 A7 8 9 AD AE AF BO BI B2 B3 B4 B5 B6 B7 B8 B9 BA BB BC BD BE BF CO CI C2 C3 C4 C5 C6 C7 C8 C9 CA CB CD CE CF Binary 1010 0100 1010 0101 1010 0110 1010 0111 1010 1000 1010 1001 1010 1010 1010 1011 1010 1100 1010 1101 1010 1110 1010 1111 101 0000 1011 0001 1011 0010 1011 0011 1011 0100 1011 0101 1011 0110 1011 0111 1011 1000 1011 1001 1011 1010 1011 1011 1011 1100 1011 1101 10111110 1011 1111 1100 0000 1100 0001 1100 0010 1100 0011 1100 0100 1100 0101 1100 0110 1100 0111 1100 1000 1100 1001 1100 1010 1100 1011 1100 1100 1100 1101 1100 1110 1100 1111 STAR Character mode IBM 1 1 I 1 IBM 2 5 1 1 Standard ASCII Codes Binary Decimal Hexadecimal 208 209 210 211 212 213 214 215 216 217 218 219 DO DI D2 D3 D4 D D6 D7 D8 D9 DA DB DC DD DE DF EO EI E2 E4 ES E6 E7 9 ED EE EF FO FI F2 F3 F4 F5 F6 F7 F8 F9 FA FB 1101 1101 1101 1101 1101 1101 1101 1101 1101 1101 1101 1101 1101 1101 1101 1101 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 110
33. BM special characters 32 STAR block graphics characters 50 IBM block graphics characters 240 user defined characters Standard characters 9 dot x 11 dot STAR block graphics 6 dot x 6 dot IBM block graphics 12 dot x 11 dot User defined 8 dot x 4 to 11 dot Near letter quality 17 dot x 11 dot Bit image modes 8 dot x 60 dots in 8 dot x 72 dots in 8 dot x 80 dots in 8 dot x 90 dots in 8 dot x 120 dots in 8 dot x 240 dots in Line spacing Column width Pica Elite Condensed Pica expanded Elite expanded Condensed expanded Special features Paper Paper type Single sheets Continuous paper Thickness One part forms Max 3 part forms Printer Dimension Height Width Depth Weight Power Ribbon 1 6 1 8 inch or 7 72 inch standard 72 n 144 or n 216 inch programmable SD 10 SD 15 80 136 96 163 136 233 40 68 48 81 68 116 Near letter quality printing Short form tear off Easy access format switches Self test Hex dump Downloadable characters Macro instruction Continuous underlining Ultra hi resolution bit image graphics Vertical and horizontal tabs Skip over perforation 15 5 carriage SD 15 only SD 10 SD 15 5 5 8 5 in wide 5 5 14 5 in wide 4 10 in wide 4 15 5 in wide 0 07 0 10 mm 0 07 0 10 mm 0 28 mm max 0 28 mm max SD 10 154 mm 6 1 in 392 mm 15 4 in SD 15 154 mm 6 1 in 542 mm 21 3 in 357 mm 14 1 in 357 mm 14 1 in 9 1 kg 20 1 Ib 111 kg 24 5
34. COMMANDS TO CONTROL PRINT STYLE These commands are used to control the font style the print pitch and special effects Font style controls PURPOSE CODE STAR mode decimal ASCIT hex ASCII IBM mode decimal ASCII hex ASCII REMARKS REFERENCE PURPOSE CODE STAR mode decimal ASCII hex ASCII IBM mode decimal ASCII hex ASCII REMARKS REFERENCE Select the standard character set lt ESC gt E 27 53 1 35 lt ESC gt 0 27 73 0 1 49 00 This command causes the printer to cancel the italic character set and select instead the standard character set You can select the standard character set as the power on de fault by turning DIP switches 1 2 and 2 2 on NOTE The character 0 decimal code 48 hexadecimal code 30 can be used instead of ASCII 0 Chapter 5 Select the italic character set lt ESC gt 4 27 52 1B 34 lt ESC gt P 27 73 l 49 01 This command selects the italic character set You can select the italic character set as the power on default by turning DIP switch 1 2 off and DIP switch 2 2 on NOTE The character 1 decimal code 49 hexadecimal code 31 can be used instead of ASCII 1 Chapter 5 158 PURPOSE CODE STAR mode IBM mode decimal ASCII hex ASCII REMARKS REFERENCE PURPOSE CODE STAR mode IBM mode decimal ASCII hex ASCII REMARKS REFERENCE Select the
35. ESC gt 27 108 1 6 This command sets the home position re turned to during the execution of all subse quent carriage returns to be print position n 1 The power on default for n is 0 The value of n must be between 0 and 255 For SD 10 the maximum print position for pica pitch is 80 for elite 1s 96 and for condensed pitch is 136 For SD 15 the maximum print position for pica pitch is 136 for elite is 163 and for condensed pitch 1s 233 Chapter 7 Set the right print margin lt ESC gt 0 n 27 81 1 51 ESC Q 27 81 1 51 This command sets the right hand print margin to print position n After execution of this command any attempt to print be yond print position will cause the printer to automatically generate a carriage return and a line feed before printing the remainder of the line The value for n must be between 1 and 255 Chapter 7 181 PURPOSE CODE STAR mode decimal ASCIT hex ASCII IBM mode decimal ASCII hex ASCIT REMARKS REFERENCE PURPOSE CODE STAR mode decimal ASCII hex ASCII IBM mode decimal ASCII hex ASCII REMARKS REFERENCE Move the print head to the next horizontal tab position lt HT gt 9 09 lt HT gt 9 09 This command causes the print head to ad vance to the next horizontal tab position The horizontal tab positions are set at pow er on to print positions 8 16 24 etc
36. ESC gt 3 27 51 1 33 This command sets the actual distance the paper advances during all subsequent line feeds to n 216 inch The value of n must be between 0 and 255 Chapter 6 Send a one time line feed of 2 144 inch lt ESC gt J n 27 74 n 4 N A This command causes the printer to advance the paper 1 144 inch It does not change the current value of the line spacing The value of n must be between 0 and 255 Chapter 6 Send a one time line feed of 7 216 inch N A lt ESC gt T n 27 74 n 4 This command causes the printer to advance the paper 7 216 inch It does not change the current value of the line spacing The value of n must be between 0 and 255 Chapter 6 US Form feed controls PURPOSE CODE STAR mode decimal ASCIT hex ASCII IBM mode decimal ASCIT hex ASCII REMARKS REFERENCE PURPOSE CODE STAR mode decimal ASCIT hex ASCII IBM mode decimal ASCII hex ASCII REMARKS REFERENCE Advance paper to top of next page Form Feed lt gt 12 0C lt gt 12 0C The actual length of a page ejected by a form feed is set either by the setting of DIP switch 1 1 or through various codes which can be sent see below Chapter 6 Set page length to lines lt ESC gt di n 27 67 n 1B 43 n gt ESC gt TEN n 27 67 43 This command sets the length of all subse q
37. FF OFF This switch disables the paper out detector If this switch is ON the printer will signal the computer when it runs out of continuous paper and will stop printing If this switch is OFF the printer will ignore the paper out detector and will continue printing This switch is set ON at the factory This switch selects the active control codes Turn this switch ON to use the STAR mode and to set the minimum line feed value to 1 144 inch Turn this switch OFF to use the IBM mode and to set the minimum line feed value to 1 216 inch This switch is set ON at the factory When this switch is ON the computer must send a line feed command every time the paper is to advance When this switch is OFF SD 10 15 will automat ically advance the paper one line every time it receives a carriage return Most BASICs send a line feed with every carriage return therefore this switch should usually be on This switch 1s set ON at the factory This switch controls the buffer status When SD 10 has only the standard board turn this switch ON When SD 10 has either an optional buffer board or an optional serial buffer board turn this switch OFF This switch is set ON at the factory This switch is not used for SD 15 APPENDIX B ASCII CODES Standard characters Decimal STAR mode IBM 1mode IBM 2mode Function 0 NUL NUL NUL End tab settings 3 4 5 6 7 BEL BEL BEL Bell 8 BS BS BS Backspace 9 HT HT HT Horiz
38. II hex ASCIT REMARKS REFERENCE Set printer off line This command causes the printer to set itself off line disregarding all subsequent charac ters and function codes with the exception of DCI gt which will return the printer to an on line state This is not the same as pushing the ON LINE button When the ON LINE light is out the printer will not respond to lt DC1 gt Chapter 8 Set printer on line lt DC1 gt 17 11 lt DC1 gt 17 11 This code resets the printer to an on line state thus allowing it to receive and process all subsequent characters and function codes This is not the same as pushing the ON LINE button When the ON LINE light is out the printer will not respond to lt DC1 gt Chapter 8 193 PURPOSE CODE STAR mode decimal ASCII hex ASCIT IBM mode decimal ASCII hex ASCII REMARKS REFERENCE PURPOSE CODE STAR mode decimal ASCII hex ASCIT IBM mode decimal ASCII hex ASCII REMARKS REFERENCE Sound printer bell BEL 7 07 BEL 7 07 This command causes the printer tone to sound for approximately one fourth second Chapter 8 Disable the printer bell ESC 0 27 89 0 1B 59 00 ESC 0 27 121 0 1B 79 00 This command causes the printer to ignore the lt BEL gt character NOTE The character 0 decimal code 48 hexadecimal code 30 can be used instead of ASCII 0 Chapt
39. IP switch 2 3 is off a line feed is automatically generated when ever the printer receives a carriage return Chapter 6 Change the line spacing to 1 8 inch ESC gt 0 27 48 30 lt ESC gt 0 27 48 30 This command sets the distance the paper advances during all subsequent line feeds to 1 8 inch Chapter 6 PURPOSE CODE STAR mode decimal ASCIT hex ASCII IBM mode decimal ASCIT hex ASCII REMARKS REFERENCE PURPOSE CODE STAR mode decimal ASCII hex ASCIT IBM mode REMARKS REFERENCE PURPOSE CODE STAR mode decimal ASCIT hex ASCII IBM mode REMARKS REFERENCE Change the line spacing to 7 72 inch lt ESC gt x 27 49 1B 31 lt ESC gt 2 27 49 1 31 This command sets the actual distance the paper advances during all subsequent line feeds to 7 72 inch Chapter 6 Change the line spacing to 1 6 inch lt ESC gt 2 27 50 1 32 N A This command sets the actual distance the paper advances during all subsequent line feeds to 1 6 inch Chapter 6 Change the line spacing to 2 72 inch lt ESC gt A n 27 65 1 41 N A This command sets the distance the paper advances during all subsequent line feeds to n 72 inch The value of n must be between 0 and 255 Chapter 6 mo PURPOSE CODE STAR mode IBM mode decimal ASCIT hex ASCII REMARKS REFERENCE
40. PURPOSE CODE STAR mode IBM mode decimal ASCII hex ASCIT REMARKS REFERENCE PURPOSE CODE STAR mode decimal ASCII hex ASCII IBM mode REMARKS REFERENCE Define the line spacing to n 72 inch N A gt ESC gt A n 27 65 n 1B 41 n This command defines the distance the paper advances during all subsequent line feeds to n 72 inch The value of n must be between 0 and 255 This command must be used in conjunction with lt ESC gt 2 which acti vates the lt ESC gt A definition Chapter 6 Use lt ESC gt definition lt 5 gt 2 27 50 1 32 This command activates the line spacing defined in the gt gt A command If the lt ESC gt A command has not been defined the line spacing is changed to 1 6 inch Chapter 6 Change the line spacing to 144 inch lt gt 737 27 51 1B 33 n N A This command sets the actual distance the paper advances during all subsequent line feeds to n 144 inch The value of must be between 0 and 255 Chapter 6 PURPOSE CODE STAR mode IBM mode decimal ASCII hex ASCIT REMARKS REFERENCE PURPOSE CODE STAR mode decimal ASCII hex ASCII IBM mode REMARKS REFERENCE PURPOSE CODE STAR mode IBM mode decimal ASCIT hex ASCII REMARKS REFERENCE Change the line spacing to 1 216 inch N A lt
41. RS that s required to connect SD 10 15 to your TRS 80 is a cable It is available at your Star dealer Table J 3 TRS 80 Model I parallel cable TRS 80 Model I Pin No Function Table J 4 TRS 80 Model parallel cable SD 10 15 TRS 80 Model II Pin No Function Pin No Function TRS 80 BASIC You may have to initialize your Model II to direct LPRINT statements to the printer Use the SYSTEM FORMS command to do it TRS 80 uses another version of Microsoft BASIC Most of the programs in this book will work just as they are but the TRS 80 does have a few unique problem codes They are 0 10 11 and 12 None of these are passed properly to the printer You can bypass the TRS 80 s BASIC and send these codes directly to the printer with the following short routine The 229 variable N must be set equal to the code that you wish to pass in our example it s 0 90 0 100 IF PEEK 14312 lt gt 63 THEN 100 110 14312 N Or you can use this special printer driver that will solve all your problems Just run this program first and then any codes sent by a BASIC program will be sent directly to the printer This program is for the TRS 80 Model III 5 REM DRIVER FOR 75 80 III 10 AD 16571 20 FOR 1 0 TO 14 30 READ A POKE AD 1 A 40 NEXT 50 POKE 16422 187 60 POKE 16423 64 70 DATA 33 232 55 203 126 32 252 33 17 0 57 126 211 251 201 80 END And here is a version for the TRS 80 M
42. SCII hex ASCIT REMARKS REFERENCE PURPOSE CODE STAR mode decimal ASCII hex ASCII IBM mode decimal ASCII hex ASCIT REMARKS REFERENCE Copy standard character ROM font into RAM ESC 0 21 42 0 8 2 00 lt ESC gt amp 0 0 0 27 58 0 0 0 1 3A 00 00 00 This command copies all the standard char acters to the corresponding download char acter RAM area This destroys any existing user defined characters in that code range Chapter 9 Select download character set lt ESC gt 1 27 36 1 1 24 01 gt ESC gt iir d 0 27 37 1 0 25 01 00 This command causes the printer to select the download character set Chapter 9 Cancel download character set lt gt 0 21 36 0 1 24 00 lt ESC gt 0 0 27 37 0 0 1 25 00 00 This command cancels the download char acter set and selects the standard character set Chapter 9 COMMANDS TO CONTROL GRAPHICS PURPOSE CODE STAR mode decimal ASCIT hex ASCII IBM mode decimal ASCII hex ASCII REMARKS REFERENCE PURPOSE CODE STAR mode decimal ASCII hex ASCIT IBM mode decimal ASCII hex ASCIT REMARKS REFERENCE Print normal density graphics lt ESC gt nl n2 ml m2 m3 27 75 nl n2 ml m2 m3 1B 4B nl n2 ml m2 m3 lt ESC gt nln2 ml m2 m3 27 75 nl n2 ml m2 m3 1B 4B nl n2 ml m2 m3 This command selects 60
43. acters lt ESC gt 1 Use download characters lt ESC gt 00 Cancel download characters lt ESC gt 10 Use download characters lt ESC gt amp 0 n2 ml m2 ml1 Define download character Copy ROM characters to down load RAM lt ESC gt n0 nl n2 Master graphics mode select lt ESC gt CHR 30 Define macro lt ESC gt 0 lt gt gt ESC gt lt ESC gt lt ESC gt STAR lt ESC gt IBM lt ESC gt STAR lt ESC gt IBM lt ESC gt STAR lt 5 gt IBM lt ESC gt STAR lt ESC gt IBM lt ESC gt IBM gt ESC gt STAR lt 5 gt IBM lt ESC gt lt ESC gt lt ESC gt IBM lt ESC gt lt ESC gt lt ESC gt lt ESC gt IBM lt ESC gt lt ESC gt STAR lt 5 gt IBM lt ESC gt STAR lt ESC gt STAR lt ESC gt STAR lt 5 gt STAR lt 5 gt STAR lt ESC gt IBM lt ESC gt lt ESC gt lt ESC gt lt ESC gt lt ESC gt lt ESC gt lt ESC gt lt ESC gt IBM lt ESC gt IBM lt ESC gt STAR lt ESC gt IBM lt ESC gt lt ESC gt gt ESC gt 0 Stop underlining gt 1 Start underlining 0 Set 1 8 inch line feed Set 7 72 inch line feed Set 1 6 inch line feed Use gt ESC A definition 3n Set n 144 inch line feed 3 n Set n 216 inch line feed 4 Italic print 4 Select NLQ characters Cancel italic
44. character set 1 N A lt ESC gt 7 27 55 1B 27 This command causes the printer to cancel character set 2 and select instead character set 1 You can select character set 1 as the power on default by turning DIP switch 1 2 on and DIP switch 2 2 off Chapter 8 Select 2 character set N A lt ESC gt 6 27 54 1B 36 This command selects character set 2 You can select character set 2 as the power on default by turning DIP switches 1 2 and 2 2 off Chapter 8 NET INE NE A T E a MIR RR MR RA RUE e a s M e TRECE TUN PURPOSE CODE STAR mode decimal ASCII hex ASCII IBM mode decimal ASCII hex ASCII REMARKS REFERENCE PURPOSE CODE STAR mode decimal ASCII hex ASCIT IBM mode decimal ASCIT hex ASCII REMARKS REFERENCE Select an international character set lt ESC gt 24 27 55 1 37 lt gt 27 82 1B 52 This command causes the printer to select an international character set determined by the value of n as shown in the table below Character set Character set U S A 4 Denmark France 5 Sweden Germany 6 Italy England 7 Spain WN You can select a particular international character set as a power on default by ad
45. d messing with dirty ribbons It is possible however to buy a replacement ribbon and insert it yourself inside the original cartridge casing The procedure for inserting a new ribbon into the old cartridge not recommended for non mechanical types 1s as follows 1 First obtain from your SD 10 15 dealer the correct type of ribbon sub cassette not spool type ribbons used with some other printers 2 Remove the ribbon cartridge from the printer by holding both ends and pulling straight up from the holder springs Refer to Chapter 1 for illustrations of installing ribbon cartridge 3 Unhook the six tabs of the cartridge cover lightly with your fingers as shown in Figure 11 1 4 Pry open the cartridge cover with a thin bladed screw driver Arrows in Figure 11 1 show the numerous slots for inserting a screwdriver Screwdriver Q M Figure 11 1 Use a screwdriver to pry open the cartridge 5 Press hard against the end of the idler gear holder to make a gap between it and the ribbon drive gear and remove the old ink ribbon sub cassette See Figure 11 2 6 Clean out any dirt from inside and around the cartridge and around the ribbon drive gear Figure 11 2 Replace the ribbon sub cassette Figure 11 3 Make sure that the ribbon is not twisted when you thread it through its path 7 Remove the wrapping from the new ribbon sub cassette remove the adhesive
46. dots per inch column scan bit image graphics mode The values of n and n2 represent the number of graphics characters to be printed where the total number of characters n2 times 256 nl The correct number of graphic data bytes m1 m2 etc must follow n2 The ASCII value of these characters determine which pins are fired for each character Chapter 10 Print double density graphics ESC L nl n2 ml m2 m3 27 76 nl n2 ml m2 m3 8 4 nl n2 ml m2 m3 lt ESC gt L nl n2 ml m2 m3 27 76 nl n2 ml m2 m3 1B 4C nl n2 ml m2 m3 This command selects 120 dots per inch column scan bit image graphics mode The values of n and n2 are the same as in normal density graphics The correct number of graphic data bytes m1 m2 etc must follow n2 The ASCII value of these characters de termine which pins are fired for each char acter Chapter 10 186 PURPOSE CODE STAR mode decimal ASCIT hex ASCII IBM mode decimal ASCII hex ASCIT REMARKS REFERENCE PURPOSE CODE STAR mode decimal ASCII hex ASCII IBM mode decimal ASCII hex ASCII REMARKS REFERENCE Print double density graphics with double speed ESC y nl n2 ml m2 m3 27 121 nl n2 ml m2 m3 1 79 nl n2 m2 m3 lt ESC gt nl n2 ml m2 m3 27 89 nl n2 ml m2 m3 59 nl n2 ml m2 m3 This command selects 120 dots per inch column scan bit image graphics mode wi
47. e decimal ASCII hex ASCII IBM mode decimal ASCII hex ASCII REMARKS Initialize printer ESC 27 64 1B 40 lt ESC gt 27 64 1B 40 This command reinitializes the printer The print buffer is cleared and the form length character pitch character set line feed pitch and international character set are all reset to the values defined by their respective DIP switches The main difference between the lt ESC gt command and turning the printer off and back on is that download character RAM and the macro instruction are preserved with this command 198 T Mr APPENDIX E COMMAND SUMMARY Mode IN NUMERIC ORDER Control code Function CHR3 0 Ends tab settings 7 Sounds bell CHRS 8 Backspace CHR3 9 Horizontal tab CHRS 10 Line feed CHR3 11 Vertical tab CHR 12 Form feed CHR3 13 Carriage return 14 One line expanded print 15 Condensed print CHRS 17 On line 18 Pica print CHR 19 Off line CHR3 20 Cancels one line expanded print CHRS3 24 Cancel text in print buffer CHR 27 Escape indicated as lt 5 gt below CHRS 30 Ends macro instruction definition 127 Delete last character lt ESC gt CHRS 14 lt ESC gt CHR 15 One line expanded print Condensed print lt ESC gt 4 Use macro lt ESC gt Accept eighth bit as is lt ESC gt 0 Cancel download char
48. ening screws along the back side Lift the back edge of the cover and at the same time pull it slightly forward to release the front of the case Lift it all the way off being careful not to pull the wires which connect the cover to the case When the case is off check Figure 11 4 for location of the primary fuse which you ll find held by its clamps close to the Primary fuse Figure 11 4 After removing the screws pull the upper case slightly forward and lift it off the printer The primary fuse is located near the power switch power switch The fuse is a commonly used type with a metal strip suspended in a glass and metal case If the strip 1s broken the fuse is blown Replace this fuse with a 2A 125V slow blow type fuse Bell 5MT2 or equivalent for 120V version or a 1 6A 250V slow blow type fuse for 220V 240V versions Now reassemble SD 10 15 and test run it If the printer still isn t working call on your SD 10 15 dealer service center for help REPLACING THE PRINT HEAD The dot matrix print head has a remarkably long life printing perhaps 100 000 000 characters before it wears out You ll know when that happens when the printout is too faint for your taste even after replacing the ink ribbon or cartridge Warning The print head gets hot during operation so let it cool off for awhile 1f necessary to avoid burning your fingers To replace the print head start by turning the power switch off and unplugging
49. er 8 183 DOWNLOAD CHARACTER COMMANDS PURPOSE CODE STAR mode decimal ASCIT hex ASCII IBM mode decimal ASCIT hex ASCII REMARKS REFERENCE Define download characters into RAM lt ESC gt 1 ni n2 ml m2 mli 27 42 1 ni n2 ml m2 mill 1B 2A 01 ni n2 m0 ml 2 mill lt ESC gt amp 0 nl n2 ml m2 27 38 0 nl n2 ml m2 mll 1B 26 00 nl n2 m0 ml m2 mll This command is used to set up one or more user defined characters and store them into RAM for later use RAM is cleared when the power is turned off The values of n7 and n2 specify the range of positions in RAM that the characters are to occupy Valid character positions are any number except the defined control codes Following 2 SD 10 15 expects twelve character data bytes for each character to be defined The first byte m0 is the attribute byte for it specifies whether the character is a descender if the first bit is 0 and the proportional width of the character starting and ending dot col umns are defined by the low order seven bits ml through m determine which dots form the character NOTE This command is ignored when the DIP switch 1 5 is set ON Chapter 9 184 PURPOSE CODE STAR mode decimal ASCII hex ASCIT IMB mode decimal ASCII hex ASCIT REMARKS REFERENCE PURPOSE CODE STAR mode decimal ASCII hex ASCII IBM mode decimal A
50. er 8 194 PURPOSE CODE STAR mode decimal ASCII hex ASCI IBM mode decimal ASCII hex ASCIT REMARKS REFERENCE PURPOSE CODE STAR mode decimal ASCIT hex ASCII IBM mode decimal ASCII hex ASCIT REMARKS REFERENCE Enable the printer bell ESC 1 27 89 1B 59 01 lt ESC gt 27 121 1 79 01 This command causes the printer to respond to the lt BEL gt character normally by sounding the printer bell Note The character 1 decimal code 49 hexadecimal code 31 can be used instead of ASCII 1 Chapter 8 Disable paper out detector lt ESC gt 4 27 56 1 38 gt ESC gt 8 27 56 38 This command causes the printer to disregard the signal sent by the paper out detector The paper out signal normally sounds the printer bell and stops printing until paper is inserted and the printer is reset DIP switch 2 1 can also be set to disable the paper out detector Chapter 8 195 PURPOSE CODE STAR mode decimal ASCII hex ASCII IBM mode decimal ASCII hex ASCID REMARKS REFERENCE PURPOSE CODE STAR mode decimal ASCII hex ASCII IBM mode decimal ASCII hex ASCI REMARKS REFERENCE Enable paper out detector lt ESC gt 59 27 57 1B 39 lt ESC gt 9 27 57 39 This command restores the function of the paper out detector Chapter 8 Select uni directional pri
51. er Set 1 IBM mode If this switch is OFF then the default char acter set is Italic characters STAR mode or Character Set 2 IBM mode This switch is set ON at the factory 1 3 This switch selects the default character pitch If this switch is ON the default pitch is 10 CPI If this switch is OFF the default pitch is 17 CPI This switch is set ON at the factory This switch has no effect if switch 1 4 is off 128 Switch 1 Switch 2 Figure A 2 SD 10 15 s DIP switches are located under the printer cover 1 4 1 5 1 6 1 8 Switch 1 4 selects the default character style lf this switch is ON then the default character style is normal characters If this switch is OFF then the default character style is near letter quality If this switch is OFF then switches 1 2 and 1 3 have no effect This switch is set ON at the factory This switch controls the RAM condition When this switch is ON the download character definitions are ignored and the RAM is used as the print buffer When this switch is OFF the download character definitions are enable to use and the print buffer is set to one line buffer This switch 1s set ON at the factory These three switches determine the default interna tional character set as shown in Table A 2 These switches are all set ON at the factory 129 2 4 Table 2 International character sets OFF OFF ON OFF OFF OFF OFF O
52. er that uses Microsoft BASIC the program listing given here should work with your computer also MBASIC is a very close relative of the IBM Microsoft BASIC used in this book The only difference is that MBASIC interprets CHR 9 and substitutes a group of spaces to sim 23 ulate a tab You can send a horizontal tab to SD 10 15 by using 137 instead of CHR 9 Some versions of Microsoft BASIC will add a carriage return and line feed at the end of every 80 or sometimes 132 characters To print lines longer than 80 or 132 characters as when doing dot graphics you must define a wider printer width The following statement will prevent the computer from inserting unwanted codes 19 WIDTH LPRINT 255 Listing programs Microsoft BASIC uses the L prefix on several commands to direct them to the printer To list programs on the printer just type LLIST To direct program output to the printer use LPRINT in place of PRINT to DIP Switch Quick Reference DIP switch settings 11 page length 1 Normal STAR mode Italic STAR mode Character Set 1 IBM mode Character Set 42 IBM mode 10 CPI pica pitch 17 CPI condensed pitch Normal A 1 5 Ignore download characters Enabe download characters O DS ans 5 International character set selection see below 1 8 2 MuR c International character sets
53. ge the width of the printer If you set the printer width to 255 then the IBM will never insert a line feed and carriage return unless you start a new line This is what you want usually To set the width OF the printer to 255 use this statement 199 WIDTH LPTI 255 IBM BASIC has one other little trick that will mess up your graphics if you let it IBM BASIC is very insistent about adding a line feed to a carriage return This is fine if you are printing text but if an ASCII 13 pops up in the middle of your graphics printout IBM BASIC will still add a line feed to it This will put strange things in the middle of your graphics and leave you with extra characters at the end of your line There is an easy way to avoid this problem You just open the printer as a random file The following program shows how this is done 10 OPEN LPT1 AS 1 RANDOM ACCESS 20 WIDTH 1 255 SET WIDTH TO 255 30 PRINT 1 TESTING PRINT A LINE 40 PRINT 1 10 ADD YOUR OWN Listing programs To list programs on SD 10 15 make sure the program is in the IBM s memory and use the LLIST command This directs the listing to the printer instead of the screen CONNECTING WITH APPLE li COMPUTERS Apple II computers require an interface board mounted inside the Apple II and a cable to run SD 10 15 Star recommends that you use the grafstar interface for the Apple II II and IIe It comes complete with a cable and is easily
54. is the same as gt ESC gt in STAR mode or ESC P in IBM mode but can be used in applications where a single character command is required Chapter 5 Set the print pitch to condensed 17 characters inch SI 15 SI 15 OF This command is the same as lt ESC gt gt SI but can be used in applications where a single character command is required Chapter 5 Set the print pitch to condensed 17 characters inch lt ESC gt 3 27 66 3 1 42 03 N A Same as lt ESC gt lt SI gt above Chapter 5 163 PURPOSE CODE STAR mode decimal ASCII hex ASCII IBM mode decimal ASCII hex ASCII REMARKS REFERENCE PURPOSE CODE STAR mode decimal ASCIT hex ASCII IBM mode decimal ASCII hex ASCII REMARKS REFERENCE Set the print pitch to proportional ESC 1 112 112 70 01 ESC 27 112 1 1B 70 01 This command causes all subsequent printing except NLQ characters to be done with proportional spacing NOTE The character 1 decimal code 49 hexadecimal code 31 can be used instead of ASCII 1 Chapter 5 Cancel the proportional spacing lt ESC gt p 0 27 112 0 1 70 00 lt ESC gt 0 27 112 0 1 70 00 This command cancels the proportional spacing and returns the print pitch to the previous set NOTE The character 0 decimal code 48 hexadecimal code 30 can
55. mode ACK mode XON XOFF mode Note 19200 baud can be used only with an RS232C interface it cannot be used with a 20mA current loop interface SD 10 15 has a DB 25 female connector to connect to a computer The functions of the pins are summarized in Table 1 1 CONFIGURING THE SERIAL INTERFACE DIP switch on the serial interface board controls the config uration of the serial interface Table I 2 describes the functions of the individual switches in DIP switch Table 1 1 Serial interface pin functions GND j Printerschassis ground 2 TXD OUT This pin carries data from the printer RXD This pin carries data to the printer This is ON when the printer is ready to receive data 5 CTS IN This pin is ON when the computer is ready to send data DSD IN This pin is ON when the computer is ready to send data SD 10 15 does not check this pin Signal ground IN This pin is ON when the computer is ready to send data SD 10 15 does not check this pin This pin is the return path for data transmitted from the printer on the 20mA current loop TTY TXD OUT This pin carries data from the printer on the 20mA current loop This is the uum line for the serial busy rotocols is pin goes OFF when D 10 15 s buffer fills and ON when SD 10 15 is ready to receive data In the busy protocols this line carries the same signal as pin 20 GND e 0
56. n the 1 byte mode they go OFF after each character is received In the 1 block mode they only go OFF when SD 10 15 s buffer approaches capacity In both cases they will stay OFF if the buffer is too full to accept more data XON XOFF protocol The XON XOFF protocol uses the ASCII characters gt gt and lt DC3 gt sometimes called and XOFF respectively to communicate with the computer When SD 10 15 s buffer approaches capacity SD 10 15 will send a DC3 ASCII 19 on TXD pin 2 to tell the computer that it must stop sending data When SD 10 15 is able to receive more data it sends a DCI ASCII 17 on TXD The computer can then send more data until SD 10 15 sends another DC3 protocol In the protocol SD 10 15 sends ASCII 6 on TXD pin 2 each time that it is prepared to receive a byte of data Code bits SPACE IMARK Earliest point at which next character may start Figure I 1 Typical data byte on the serial interface 2 Serial busy protocol 1 byte mode ge Tes Tos fos Eos nu Pin 20 Pin 11 Femina Serial busy protocol 1 block mode RXD FD os DTR cea SN 2 20 RCH Pin 11 XON XOFF protocol bito pe DTR Pin 20 l TXD DB Pin 2 XOFF DC3 XON DC 1 Printing protocol DB Data Byte Figure 1
57. ng lt ESC gt H 27 72 1 48 gt ESC gt 21 72 1B 48 This command cancels double strike printing and returns the printer to its previous print style Chapter 5 167 PURPOSE CODE STAR mode decimal ASCII hex ASCII IBM mode decimal ASCII hex ASCII REMARKS REFERENCE PURPOSE CODE STAR mode decimal ASCIT hex ASCII IBM mode decimal ASCIT hex ASCII REMARKS REFERENCE Select emphasized printing lt ESC gt TET 21 69 8 45 lt gt 27 69 45 This command causes all subsequent char acters except NLQ characters to be printed in emphasized print Emphasized print can only be used with pica sized characters or enlarged pica sized characters 10 CPI and 5 CPI and cannot be used with superscripts or subscripts Chapter 5 Cancel emphasized printing gt ESC gt P 27 70 46 lt ESC gt SES 21 70 1B 46 This command cancels emphasized printing and returns the printer to normal printing Chapter 5 168 PURPOSE CODE STAR mode decimal ASCII hex ASCIT IBM mode decimal ASCII hex ASCII REMARKS REFERENCE PURPOSE CODE STAR mode decimal ASCII hex ASCII IBM mode decimal ASCII hex ASCII REMARKS REFERENCE Select underlining lt ESC gt Li 1 27 45 1 1 2D 01 lt ESC gt 1 27 45 1 1 2D 01 This command causes all subsequent char acters p
58. nting lt ESC gt U 1 27 85 1 1 55 01 lt ESC gt Ux 1 27 85 1 1 55 01 This command causes all subsequent lines to be printed in unidirectional printing Unidirectional printing 1 useful in printing tables or charts since it ensures that vertical columns of characters will be in alignment NOTE The character 1 decimal code 49 hexadecimal code 31 can be used instead of ASCII 1 Chapter 8 T PURPOSE CODE STAR mode decimal ASCII hex ASCII IBM mode decimal ASCII hex ASCII REMARKS REFERENCE PURPOSE CODE STAR mode decimal ASCIT hex ASCII IBM mode decimal hex ASCII REMARKS REFERENCE Cancel uni directional printing gt ESC gt U 0 27 85 0 1B 55 00 lt ESC gt U 0 27 85 0 1B 55 00 This command cancels unidirectional print ing and returns to the standard bidirectional printing which is considerably faster NOTE The character 0 decimal code 48 hexadecimal code 30 can be used instead of ASCII 0 Chapter 8 Select one line unidirectional printing lt ESC gt 27 60 1 3C ESC gt 27 lt 27 60 3 This command immediately returns the printhead to the left margin The remainder of the lineis printed from left to right Normal bidirectional printing resumes following a carriage return Chapter 8 197 1 1 E PURPOSE CODE STAR mod
59. odel I 5 REM DRIVER FOR TRS 80 I 10 AD 16571 20 FOR 1 0 TO 15 30 READ A POKE AD 1 A 40 NEXT I 50 POKE 16422 187 60 POKE 16423 64 70 DATA 33 232 55 203 126 32 252 35 17 0 57 126 50 232 55 201 80 END Listing programs To list a BASIC program that is in your TRS 80 s memory on SD 10 15 type LLIST This directs the listing to the printer instead of the screen 230 CONNECTING WITH KAYPRO OSBORNE AND OTHER CP M COMPUTERS All that you need to connect SD 10 15 to an Osborne 1 or Kaypro computer is a cable Your Star dealer can provide the cable that you need Table J 5 Kaypro parallel cable SD 10 15 Kaypro Pin No Function Pin No Function STROBE STROBE DATA DATAI 2 DATA2 DATA3 DATA3 DATA4 DATA4 DATAS DATAS DATAG DATA6 DATAS DATAS BUSY lt lt BUSY SIG GND SIG GND Table J 6 Osborne 1 parallel cable SD 10 15 Osborne 1 Pin No Function Pin No Function DATAO DATAS DATA4 DATA DATAI DATA SS DATAS SSS DATA2 DATA SS DATA6 DATA3 DATAS DATA7 STROBE m STROBE BUSY BUSY SIG GND SIG GND 2 6 3 7 4 8 5 9 1 1 6 Using MBASIC Many CP M computers use Microsoft BASIC called MBA SIC If you have a CP M 80 comput
60. omputer and the SD 10 15 use many of the pins of the connector To understand how the system of communications works we need to look at the functions of the various signals carried by the pins of the interface connector Pin 1 carries the STROBE pulse signal from the computer to the printer This signal is normally held high by the computer When the computer has data ready for the printer it sets this signal to a low value for at least 0 5 microseconds When the printer sees this pulse on the strobe pin it reads the data that the computer supplies on pins 2 through 9 Each of these lines carries one bit of information A logical 1 15 represented by a high signal level and a logical 0 is represented by a low signal level The computer must maintain these signals for a period beginning at least 0 5 microseconds before the strobe pulse starts and continuing for at least 0 5 microseconds after the strobe pulse ends When the SD 10 15 has successfully received the byte of data from the computer it sets pin 10 low for approximately 9 micro te DATA 9usec Approx ak T ctr STROBE IT BUSY T More than 0 5usec Figure H 1 SD 10 15 interface timing diagram Signal Name Circuit Example 74LS Compatible DATA 1 DATA 8 4 7kQ To Printer 74LS Compatible 4 7kQ STROBE 1000 To Printer 74LS Compatible BUSY ACK 4 7kQ From Printer
61. ontal tab 10 LF LF LF Line feed 11 VT VT VT Vertical tab 12 FF FF FF Form feed 13 CR CR CR Carriage return 14 SO SO SO Expanded print on 15 SI SI SI Condensed print on 17 DC DCI DCI On line 18 DC2 DC2 DC2 Pica pitch 19 DC3 DC3 DC3 Off line 20 DC4 DC4 DC4 Expanded print off 21 5 24 Cancel line 27 ESC ESC ESC Escape 30 RS RS RS End macro 32 Space 33 t i i 34 di 35 36 3 37 38 This character may be different if you are using an international character set other than the USA set The characters for each set are shown on page 134 Decimal 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 STAR mode IBM 1mode IBM 2mode Function 1 E M uu 3 3 6 A M ce Apostrophe Comma Hyphen Period This character may be different if you are using an international character set other than the USA set The characters for each set are shown on page 134 Decimal STAR mode IBM 1mode IBM 2mode Function 81 9 82 er Fx 83 E 5 5 84 T T 85 ul Li i 86 87 88 X x X 89 Y Y 90 bi 2 91 4 92 amp 93 1 1 i 9 5 site ee 9 6 97 98 D 3 99 c 100 d d d 101 ge 2 e 102 f 103 q a J 104 h n 105 1 1 1 106 3 107 2 108 1 1 109 m in m 110
62. rinted to be automatically underlined Spaces are also underlined NOTE The character 1 decimal code 49 hexadecimal code 31 can be used instead of ASCII 1 Chapter 5 Cancel underlining gt ESC gt 0 27 45 0 1 2D 00 gt ESC gt 0 27 45 0 2 00 This command cancels underlining and turns the printer to its previous print style NOTE The character 0 decimal code 48 hexadecimal code 30 can be used instead of ASCII 0 Chapter 5 169 PURPOSE CODE STAR mode decimal ASCII hex ASCII IBM mode decimal ASCIT hex ASCII REMARKS REFERENCE PURPOSE CODE STAR mode decimal ASCIT hex ASCII IBM mode decimal ASCII hex ASCIT REMARKS REFERENCE Select superscripts gt ESC gt 5 0 27 83 0 1B 53 00 lt ESC gt S 0 27 83 0 1 53 00 This command causes all subsequent char acters to be printed as superscripts While in superscript mode the normal bi directional printing is cancelled and replaced with uni directional printing Printing is also set to double strike mode Superscripts may be used in conjunction with the italic font and in pica elite and condensed pitches It may not however be used in conjunction with em phasized print enlarged print or NLQ characters NOTE The character 0 decimal code 48 hexadecimal code 30 can be used instead of ASCII 0 Chapter 5 Select subscripts lt gt
63. s Set top margin at line n Set bottom margin at n lines Cancel top and bottom margins 236 Vertical tabs CHRS 11 lt ESC gt ae CHR 0 lt ESC gt 3 Vertical tab Set vertical tabs Advance n line feeds Commands to control horizontal position of the print head CHR3 13 lt ESC gt 1 n lt ESC gt Q n 9 lt ESC gt D CHR 0 lt ESC gt b n 8 Download character commands Carriage return Set left margin at column n Set right margin at column Horizontal tab Set horizontal tabs Tab over n columns Backspace lt ESC gt amp CHR 0 n1 n2 m0 11 lt ESC gt 000 lt ESC gt 10 lt ESC gt 00 Comrmands to control graphics Define download characters Copy standard ROM characters to down load RAM Use download characters Cancel download characters lt ESC gt K nl n2 ml m2 lt ESC gt L nl n2 ml m2 ESC nl n2 ml m2 Normal density graphics Double density graphics Double speed double density graphics lt ESC gt Z nl n2 ml m2 ESC n0 nl n2 ml m2 Macro instruction commands lt ESC gt CHR 30 lt ESC gt 9 Other function codes lt ESC gt gt lt ESC gt lt ESC gt 7 127 CHR3 24 CHRS 19 CHRS 17 CHR3 7 lt ESC gt lt ESC gt lt ESC gt lt ESC gt gt ESC gt
64. t ESC gt nl n2 ml m2 lt ESC gt z nl n2 m2 Quadruple density graphics lt ESC gt g n0 nl n2 ml m2 Master graphics select Macro instruction commands lt ESC gt CHR 30 Define macro lt ESC gt Use macro Other function codes lt ESC gt gt Set eighth bit to 1 lt ESC gt Set eighth bit to 0 lt ESC gt Accept eighth bit as is CHR 127 Delete last character CHR 24 Cancel line CHR3 19 Off line CHRS 17 On line CHR3 7 Sounds bell lt ESC gt 0 Disable bell lt ESC gt 1 Enable bell lt ESC gt V 1 Print zero with slash ESC 0 Print zero without slash lt ESC gt 8 Ignore paper out signal lt ESC gt 9 Enable paper out signal lt ESC gt U 1 Unidirectional print lt ESC gt U 0 Bidirectional print lt ESC gt lt One line unidirectional print lt ESC gt Reset the printer 235 For IBM mode Commands to control print style lt gt 72 lt ESC gt 6 lt ESC gt I lt ESC gt I 0 lt ESC gt R n lt ESC gt 4 lt ESC gt 5 Font pitch controls lt gt P lt gt lt ESC gt 1 lt ESC gt 0 CHRS 18 CHRS 15 lt ESC gt CHR 15 lt ESC gt W 1 CHRS 14 lt ESC gt 14 lt ESC gt W 0 CHRS 20 Special print mode lt ESC gt G
65. t Quadruple density graphics In the item of Mode STAR indicates the STAR mode and IBM indicates the IBM mode only 201 APPENDIX ASCII CODE CONVERSION CHART Standard ASCII Codes Decimal Hexadecimal 0 9412 A 4 10 11 5 13 14 15 16 17 18 19 20 21 23 24 25 26 27 28 29 31 00 01 02 03 04 05 Q6 07 08 09 0A OB 0C OD VE OF 10 11 12 13 14 15 16 17 18 19 1 IB 1E Control Binary Character 0000 0000 Ctrl c 0000 0001 Ctrl A 0000 0010 Ctrl B 0000 0011 Ctrl C 0000 0100 Ctrl D 0000 0101 Ctrl E 0000 0110 Cirl E 0000 0111 Ctri G 0000 1000 Ctrl H 0000 1001 Ctrl I 0000 1010 Ctrl J 0000 1011 Ctri K 0000 1100 Ctri L 0000 1101 Ctel M 0000 1110 Ctrl N 0000 111 Ctrl O 0001 0000 Ctrl P 0001 0001 Cirl Q 0001 0010 Ctrl R 0001 0011 Ctri S 0001 0100 0001 0101 Ctrl U 0001 0110 Ctrl V 0001 0111 Ctrl W 0001 1000 Ctrl X 000 1001 Ctrl Y OOO 1010 Ctrl Z 0001 1011 0001 1100 0001 1101 0001 1110 0001 1111 STAR NUL BEL BS HT LE VT EE CR SO 51 DC DC DC3 DC4 CAN RS Character mode IBM 1 NUL BEL BS HT LE FF CR SO SI DCI DC DC3 DC4 CAN RS IBM 2 NUL CR SO SI DCI DC DC3 DC4 r CAN RS Standard ASCII Codes Binary Decimal Hexadecimal 32 3i 34 35 45 20 21 22 23 3 3D SE 40 41 42 44 45 40 4
66. tape attached to the joint and insert the sub cassette into the ribbon cassette as shown in Figure 11 2 8 Pull out the ink ribbon and set it according to the di rections shown by the arrow in Figure 11 3 It s easy for the ribbon to get twisted somewhere along its pathway Don t let it happen 9 Firmly pull the idler gear towards you and guide the ribbon between the idler gear and the ribbon drive gear 10 Remove both top and bottom of the ribbon sub cassette 11 Replace the ribbon cartridge top cover 12 When you ve completed the installation mark the correct number on the silver label stuck on the right hand side of the cartridge cover This number indicates the number of times the ribbon has been replaced Five replacements is the maximum after which you should buy a complete new cartridge REPLACING A FUSE How can you tell when you ve blown a fuse Well when the printer won t operate and the power lamp on the control panel isn t lit even though you re sure that the power switch is on and the printer is plugged 1n it s likely a blown fuse To check the primary fuse you start by turning the power switch off and unplugging the power cord Warning There is an extreme shock hazard inside SD 10 15 To avoid serious injury it is important the power cord is dis connected Next remove the upper case by pulling off the platen knob Caution Don t twist or turn the platen knob pull it straight off Then remove the fast
67. th double speed The values of n and n2 are the same as in normal density graphics The correct number of graphic data bytes 1 m2 etc must follow n2 The ASCII value of these characters determine which pins are fired for each character Chapter 10 Print quadruple density graphics lt ESC gt z nl n2 ml m2 m3 27 122 nl n2 ml m2 m3 1B 7 nl n2 ml m2 m3 ESC Z nl n2 ml m2 m3 27 90 nl n2 ml m2 m3 1B 5 nl n2 m2 m3 This command selects 240 dots per inch column scan bit image graphics mode The values of n and n2 are the same as in normal density graphics The correct number of graphic data bytes m1 m2 etc must follow n2 The ASCH value of these characters determine which pins are fired for each character Chapter 10 187 PURPOSE Select graphics modes CODE STAR mode lt ESC gt n0nln2ml m2 m3 decimal ASCII 27 103 n0 nli n2 m2 m3 hex ASCII 1B 67 nO nl n2 ml m2 m3 IBM mode lt ESC gt n0nln2 ml m2 m3 decimal ASCIT 27 42 nO nl n2 ml m2 m3 hex ASCII 1B 2A nO nl n2 ml m2 m3 REMARKS This command selects one seven possible graphics modes depending on the decimal or ASCII value of n0 The values of n and n2 are the same as in normal density graphics The correct number of graphics data bytes ml m2 etc must follow n2 The ASCII value of these characters deter mine which pins are fired for each character The value of n0
68. the power cord Then in sequence Remove the printer cover and the ribbon cartridge Remove the two screws fastening the print head While holding the print head pull off the head cable while holding down the head cable board 2 Wo 3 125 Print head SS Head cable board M Head connector Figure 11 5 Replacement of SD 10 15 s print head is simple 4 Insert the head cable of a new print head to the head cable board and fasten with the same two screws 5 Apply screw lock an adhesive available at hardware stores to the heads of the screws Be absolutely sure that you ve made a good solid connection between the print head and its cable connector or it could cause problems 126 APPENDIX DIP SWITCH SETTINGS The DIP dual in line package switches control some of the functions of SD 10 15 A DIP switch actually contains several individual switches SD 10 15 has one DIP switch with 8 indi vidual switches in it and one DIP switch with 4 individual switches Figure A 1 is a drawing of a typical DIP switch Figure A 1 A DIP switch is actually a series of several small switches two DIP switches are readily accessible from the top They are located in the compartment with the print head and can be seen by opening the printer cover To change the setting of a switch use a ballpoint pen or a similar object The on position for a switch is towards the back of the printer
69. to the maximum print position Chapter 7 Set horizontal tab positions ESC D nl n2 n3 0 27 68 nl n2 n3 0 1B 44 nl n2 n3 00 lt ESC gt n2 ni 0 27 68 nl n2 n3 0 1B 44 nl n2 n3 00 This command cancels all current horizontal tab positions and sets those defined at print positions nl n2 n3 etc The maximum number of horizontal tab positions allowed is 255 The ASCII 0 character is used as a command terminator Each horizontal tab position must be between 1 and 255 and they must be specified in ascending order Chapter 7 182 PURPOSE CODE STAR mode decimal ASCII hex ASCII IBM mode decimal ASCIT hex ASCII REMARKS REFERENCE PURPOSE CODE STAR mode decimal ASCIT hex ASCII IBM mode decimal ASCII hex ASCII REMARKS REFERENCE Skip n print positions lt ESC gt 27 98 IB 62 n lt ESC gt 27 98 n 1B 62 n This command causes the print head to ad vance n print positions to the right It does not however change the current value of the horizontal tab positions The value of n must be between 1 and 255 Chapter 7 Move the print head back one print position backspace BS 8 08 lt BS gt 8 08 This command shifts the print head one column to the left If the print head is at the home position the command is ignored This command can be used to overstrike charac ters Chapt
70. tween 1 and 255 and they must be specified in as cending order Chapter 7 PURPOSE CODE STAR mode decimal ASCII hex ASCII IBM mode decimal ASCII hex ASCII REMARKS REFERENCE Advance the paper 7 lines lt 5 gt 27 97 1 61 gt ESC gt 27 97 1 61 This command causes the printer to advance the paper n lines It does not however change the current value of the vertical tab positions The value of must be between 1 and 255 Chapter 6 Chapter 7 COMMANDS TO CONTROL HORIZONTAL POSI TION OF PRINT HEAD PURPOSE CODE STAR mode decimal ASCII hex ASCII IBM mode decimal ASCII hex ASCII REMARKS REFERENCE Return print head to home position Carriage Return CR 13 0D lt gt 13 0D This command returns the print head to the home position the left margin If DIP switch 2 3 has been set off then this command will also cause a line feed character to be gener ated after the carriage return thereby ad vancing to the beginning of the next print line automatically Chapter 6 180 PURPOSE CODE STAR mode decimal ASCII hex ASCID IBM mode decimal ASCII hex ASCII REMARKS REFERENCE PURPOSE CODE STAR mode decimal ASCII hex ASCII IBM mode decimal ASCII hex ASCII REMARKS REFERENCE Set the left print margin lt ESC gt M n 27 77 4 gt
71. uent pages to n lines The value of n must be between 1 and 127 Chapter 6 176 PURPOSE CODE STAR mode decimal ASCII hex ASCII IBM mode decimal ASCII hex ASCII REMARKS REFERENCE PURPOSE CODE STAR mode decimal ASCII hex ASCII IBM mode decimal ASCIT hex ASCIT REMARKS REFERENCE Set page length to inches gt ESC gt 0 27 67 0 1 43 00 lt ESC gt 0 27 67 0 n 1B 43 00 n This command sets the length of all subse quent pages to n inches The value of must be between 1 and 32 You can select a power on default form length of 11 inches or 12 inches by setting DIP switch 1 1 Chapter 6 Set the top margin lt ESC gt R n 27 82 n 1B 52 n gt ESC gt B d n 27 114 IB 72 n This command sets the margin at the top of the page to n 1 lines Printing will start on line n The default value for upon power on is 1 The value of n must be between 1 and 16 Chapter 6 177 PURPOSE CODE STAR mode decimal ASCII hex ASCII IBM mode decimal ASCII hex ASCII REMARKS REFERENCE PURPOSE CODE STAR mode decimal ASCIT hex ASCIT IBM mode decimal ASCII hex ASCII REMARKS REFERENCE Set the bottom margin lt gt UNT 27 78 1 4 lt gt 27 78 1 4 SSIS n This command sets the margin at the bottom of the page to lines The printer
Download Pdf Manuals
Related Search
Related Contents
Pico Voice D 3100.557 Philips Satinelle Ice Adapter CRP577 Relay Terminal Module User`s Manual (Hardware) 取扱説明書 ニュースリリース(20061211) 139KB Danby DDR30B1GP User's Manual REF 91250 - Standard Imaging 詳細については当日発表資料をご覧下さい。(PDF形式) Copyright © All rights reserved.
Failed to retrieve file