Home

Radix 10/15 USER`S MANUAL

image

Contents

1. The Parallel Interface 251 Table F 1 Parallel interface pin functions pane 1 STROBE IN signals when data is ready to be read Sig nal goes from HIGH to LOW for at least 0 5 microseconds when data is available 2 DATA These signals provide the information of the first to eighth bits of parallel data Each signal is at a HIGH level for a logical 1 and at a LOW level for a logical 0 3EEE on gt ATA7 Ja OUT A 9 microsecond LOW pulse acknowledges receipt of data USY OUT When this signal goes LOW the printer is ready to accept data PAPER OUT OUT This signal is normally LOW It will go HIGH if Radix runs out of paper This sig nal can be held LOW by turn ing DIP switch C 1 off SELECTED OUT pu signal is HIGH when the printer is on ine z 10 11 12 13 4 16 SIGNAL Signal ground Printer s chassis ground isolated from logic ground GND 17 CHASSIS GND 18 19 30 RESET ERROR External supply of 5VDC 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 EXT GND External ground INC jUnued Pin 11 reports when the Radix is not able to receive data The signal is called BUSY When
2. 161 201 162 202 163 203 9 164 204 _ 165 205 x 166 206 k 167 207 i 168 208 x 169 209 170 gt 210 5 171 211 172 212 173 213 174 214 amp 175 215 amp 176 216 iy 177 217 178 z 218 179 219 180 220 i M 181 221 182 n 222 183 223 266 Radix User s Manual Block Graphics Characters Decimal Character Decimal Character 224 Space 240 225 241 226 242 227 n 243 228 244 F 229 245 230 246 E 231 247 232 248 233 249 4 234 250 235 251 F 236 252 237 253 74 x 238 254 x 238 255 ASCII Codes Am 267 241 240 243 242 rr 1 244 1 249 l l t i 245 i 245 i Rape 246 2 di Pu 247 250 163 161 268 Radix User s Manual Appendix Character Style Charts Standard Characters lt Radix User s Manual LS Ell uL I 270 271 Character Style Charts TILL al MP Sau LLLLLLLIT a gt w u wa 4 I I sau L TLLLLLLIJ 586 ila l 1 EB BER EE Siw Radix User s Manual 272 Italic Characters bz 273 Charac
3. Accept eighth bit as is ESC CHR 0 Cancel normal download characters ESC CHR 1 Use normal download characters LESC CHR 0 Copy ROM characters to download RAM ESC CHR 1 n1 n2 m1 m2 m11 Define download character ESC CHR 30 Define macro ESC CHR 10 ESC CHR 12 312 ESC CHR 0 ESC CHR 1 ESC 0 ESC 1 ESC 2 ESC 3 n ESC q ESC 5 ESC 7 ESC ESC 9 ESC ESC ESC ESC n ESC CHR 1 ESC B CHR 2 ESC CHR 3 ESC B 4 ESC CHR 5 ESC C n ESC CHR 0 n ESC D CHRS 0 ESC E ESC sep ESC G ESC ESC ESC K n1 n2 ESC L n1 n2 ESC M n ESC N n ESC O ESC P CHR 0 ESC Q n ESC n ESC 5 0 ESC S CHR 1 ESC ESC CHR 0 ESC U 1 ESC W CHR 0 ESC CHR3 1 Radix User s Manual Stop underlining Start underlining 1 8 inch line feed 7 72 inch line feed 1 6 inch line feed n 144 inch line feed Italic print Cancel italic print Select international character set Ignore paper out signal Enable paper out signal Set eighth bit to 0 Set eighth bit to 1
4. 1220 Subroutine to set BOTTOM MARGIN 1230 GOSUB 2779 1249 INPUT Enter new bottom margin 1 127 X 1250 IF X 1 OR X gt 127 THEN GOTO 1239 1260 S CHR X 1270 GOSUB 2739 RETURN 1280 1290 Subroutine to cancel TOP amp BOTTOM MARGINS 1300 S ESC GOSUB 2739 RETURN 131g 1329 Subroutine to select NLQ character set 1320 S ESC B CHR 4 1349 GOSUB 27320 RETURN 1369 1379 Subroutine to cancel NLQ character set 1389 S ESC B CHR 5 1390 GOSUB 2730 1400 RETURN 1410 1420 Subroutine to select LINE SPACING 1430 TITLE LINE SPACING MENU 1449 GOSUB 2569 1459 PRINT TAB TB Return to main menu 1468 PRINT TAB TB 1 Select 1 6 inch line spacing 1470 PRINT TAB TB 2 Select 1 8 inch line spacing 1480 PRINT TAB TB 3 Select 7 dot graphics spacing 1499 PRINT TAB TB 4 Select n 144 inch spacing 1509 GOSUB 2659 1510 IF S g OR S 4 THEN 1500 1520 IF S THEN RETURN 1538 ON S GOSUB 1550 1580 1610 1640 1549 GOTO 1419 1559 156 Subroutine to select 1 6 inch line spacing 1570 S ESC 2 GOSUB 2738 RETURN 158g 1599 Subroutine to select 1 8 ineh line spacing 1600 S ESC GOSUB 2738 RETURN 228 Radix User s Manual 1619 1620 Subroutine to select 7 dot graphics spacing 1630 S ESC 1 GOSUB 2738 RETURN 1640 165 Subroutine to select n 144 inch line spacing 1660
5. CODE decimal ASCII hex ASCII REMARKS REFERENCE PURPOSE CODE decimal ASCII hex ASCID REMARKS REFERENCE PURPOSE CODE decimal ASCII hex ASCII REMARKS REFERENCE Radix User s Manual Select download character set with propor tional spacing ESC x 1 27 88 1 1B 58 01 This command selects the download charac ter set using the proportional spacing defined in the character attribute data Note Download characters cannot be mixed with other characters on the same line Chapter 11 Cancel download character set with propor tional spacing ESC 0 27 88 0 1 58 00 This command cancels download charac ter set and selects the standard ASCII charac ter set Chapter 11 Select download character set with normal spacing ESC 1 27 36 1 1 24 01 This command causes the printer to select the download character set using normal spacing and ignoring the proportional width data Note Download characters cannot be mixed with other characters on the same line Chapter 11 Function Code Reference 303 PURPOSE CODE decimal ASCII hex ASCII REMARKS REFERENCE Cancel download character set with normal spacing ESC 0 27 36 0 1 24 00 This command cancels the download charac ter set and selects the standard ASCII charac ter set Chapter 11 Commands to Control Graphics PURPOSE CODE decim
6. 1220 ESC CHR 5 GOSUB 2469 RETURN 1238 1240 Subroutine to select LINE SPACING 1250 TITLE LINE SPACING MENU 1260 GOSUB 2289 1270 PRINT TAB TB 0 Return to main menu 1289 PRINT TAB TB 1 Select 1 6 inch line spacing 1290 PRINT TAB TB 2 Select 1 8 inch line spacing 13909 PRINT TAB TB 3 Select 7 dot graphics spacing 1310 PRINT TAB TB 4 Select n 144 inch spacing 1320 GOSUB 2378 1339 IF S g OR S 4 THEN PRINT CHR 7 GOTO 1328 1340 IF S THEN RETURN 1359 ON S GOSUB 1270 1400 1430 1460 1360 GOTO 1238 1370 1389 Subroutine to select 1 6 inch line spacing 1399 5 ESC 2 GOSUB 246 RETURN 149g 1410 Subroutine to select 1 8 inch line spacing 1420 S ESC GOSUB 2469 RETURN 1438 1449 Subroutine to select 7 dot graphics spacing 1450 S ESC 1 GOSUB 2469 RETURN 146g 1470 Subroutine to select 144 inch line spacing 1480 GOSUB 2500 1499 INPUT Enter line space in 1 144 ths of an inch X 1500 IF X OR X 255 THEN PRINT CHR 7 GOTO 1489 1510 S ESC 3 CHR X GOSUB 2468 RETURN Kaypro Osborne amp Other CP M Computers 245 1520 1539 Subroutine to select EXPANDED print 1549 5 ESC CHR 1 GOSUB 2469 RETURN 1559 156 Subroutine to cancel EXPANDED printing 1570 S ESC CHR 9 GOSUB 2469 RETURN 1589 1590 Subroutine to select ITALIC character set 1600 S
7. 180 A INKEY IF A THEN 180 190 IF A OR A THEN GOSUB 829 GOTO 349 Wider 200 IF A OR A CHR 95 THEN GOSUB 859 GOTO 34 Narrower 210 IF D OR A d THEN GOSUB 889 GOTO 349 Descender 22 IF A Q OR THEN GOSUB 359 END 239 IF OR THEN GOSUB 1129 GOTO 349 24 IF A C OR A c THEN GOSUB 1668 GOTO 340 259 IF OR A a THEN GOSUB 1480 GOTO 349 269 IF A R OR A r THEN GOSUB 1719 GOTO 349 270 IF A CHR 8 THEN GOSUB 679 GOTO 349 Left 289 IF A CHR 12 THEN GOSUB 69 GOTO 340 Right 290 IF A CHR 1g THEN GOSUB 719 GOTO 34 Down 300 IF A CHR 11 THEN GOSUB 739 GOTO 349 318 IF A CHR 13 THEN GOSUB 759 GOTO 349 Insert 320 IF A CHR 127 THEN GOSUB 799 GOTO 349 Delete 330 PRINT CHR 7 340 GOTO 18g 359 PRINT CHR 26 360 RETURN 279 380 Subroutine to paint screen 399 PRINT CHR 26 499 GOSUB 1560 41g 420 Draw grid 439 FOR I Q TO 6 PRINT 9 5 1 2 6 2 I NEXT I 44g 450 Put in dots 469 FOR H 1 TO 11 FOR J 1 TO 7 Z J H g Kaypro Osborne amp Other CP M Computers 235 470 NEXT J NEXT H 489 FOR H 1 TO 11 GOSUB 960 NEXT H 499 X 1 Y 1 G 1 H 1 500 GOSUB 1060 519 520 Paint menu 530 PRINT FNL 6 47 P Print the character 549 PRINT FNL 7 47 A Set ASCII code 550 PRINT FNL 8 47 C Clear all dots 560 PRINT FNL 9 47 Q Quit 570 PRINT
8. Decimal 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 Standard ASCII Codes Hexadecimal Binary C8 1100 1000 C9 1100 1001 CA 1100 1010 CB 1100 1011 CC 1100 1100 CD 1100 1101 CE 1100 1110 CF 1100 1111 DO 1101 0000 01 1101 0001 02 1101 0010 D3 1101 0011 D4 1101 0100 D5 1101 0101 D6 1101 0110 D7 1101 0111 D8 1101 1000 09 1101 1001 DA 1101 1010 DB 1101 1011 DC 1101 1100 DD 1101 1101 DE 1101 1110 DF 1101 1111 EO 1110 0000 1 1110 0001 E2 1110 0010 E3 1110 0011 4 1110 0100 5 1110 0101 E6 1110 0110 E7 1110 0111 E8 1110 1000 E9 1110 1001 EA 1110 1010 EB 1110 1011 EC 1110 1100 ED 1110 1101 EE 1110 1110 EF 1110 1111 FO 1111 0000 1 1111 0001 Radix User s Manual Character nr BLFi t 5 Code Conversion Chart Decimal 242 243 244 245 246 247 248 249 250 251 252 253 254 255 Standard ASCII Codes Hexadecimal Binary F2 1111 0010 F3 1111 0011 F4 1111 0100 F5 1111 0101 F6 1111 0110 F7 1111 0111 F8 1111 1000 F9 1111 1001 FA 1111 1010 FB 1111 1011 FC 1111 1100 FD 1111 1101 FE 1111 1110 FF 1111 1111 Character 1 PIENE L F 321 322 Radix User s Manual Appendix Technical Specifications Printing Printing method Serial impact dot matrix Printing speed 200 characters per second i
9. 108 1 Z 84 T T 109 m x 85 10 86 MV 4 1110 o 87 W H 112p 88 x 113 q g 89 Y 114 r 90 2 2 115 91 L L 116 92 i 117 u u 93 J 2 118 v v 94 gt 5 119 95 120 x x 96 121 v 97 122 z z 98 b amp 123 99 c z 124 A 104 125 101 126 102 f 127 DEL Delete These characters may be different if you are using an interna tional character set other than the USA set The characters for each set are shown below International Character Sets Decimal USA England Germany Denmark France Sweden Italy Spain 35 64 E a 91 L L amp i 92 G 93 1 1 Lj amp 96 123 t amp 124 i i i 6 125 H a 126 i is ix i i is E ASCII Codes 265 T Special Characters Decimal Character Function Decimal Character 128 184 135 BEL Bell 185 136 BS Backspace 186 137 HT Horizontal tab 187 x 138 LF Line feed 188 139 VT Vertical tab 189 3 140 FF Form feed 190 x 1 141 CR Carriage return 191 142 SO Expanded print on 192 143 SI Condensed print on 193 145 DC1 On line 194 c 146 DC2 Pica pitch 195 147 DC3 Off line 196 148 DC4 Expanded print off 197 u 155 ESC 198 158 RS End macro 199 160 200 t
10. 256 Radix User s Manual Serial busy protocols In the serial busy protocols Radix uses DTR pin 20 and RCH pin 11 to signal to the computer when it is able to accept data These two pins go ON when Radix is ready to accept data In the 1 byte mode they go OFF after each character is received In the 1 block mode they only go OFF when Radix 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 DC1 and lt DC3 sometimes called and XOFF respectively to communicate with the computer When Radix s buffer approaches capacity Radix will send a DC3 ASCII 19 on TXD pin 2 to tell the computer that it must stop sending data When Radix is able to receive more data it sends a DC1 ASCII 17 on TXD The computer can then send more data until Radix sends another DC3 ACK protocol In the ACK protocol Radix sends an ACK ASCII 6 on TXD pin 2 each time that it is prepared to receive a byte of data Earliest point at which next Character may start Figure G 1 Typical data byte on the serial interface Serial Interface Specifications 257 Serial busy protocol 1 byte mode mo _ Ts Tos Tos fos oa Tos Tos Tee T DTR 20 Serial busy protocol 1 block mode Pd Los J pe f oe DTR 20
11. 27 67 1 43 n This command sets the length of all subse quent pages to n lines The value of n must be between 1 and 127 Chapter 8 Set page length to n inches ESC 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 n must be between 1 and 32 You can select a power on default form length of 11 inches or 12 inches by setting DIP switch A 1 Chapter 8 Set the top margin ESC 27 82 1 52 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 n upon power on is 1 The value of n must be between 1 and 16 Chapter 8 296 PURPOSE CODE decimal ASCII hex ASCH REMARKS REFERENCE PURPOSE CODE decimal ASCII hex ASCII REMARKS REFERENCE Vertical tabs PURPOSE CODE decimal ASCII hex ASCII REMARKS REFERENCE Radix User s Manual Set the bottom margin ESC NU n 27 78 n 1B 4E n This command sets the margin at the bottom of the page to n lines The printer will auto matically execute a form feed when the num ber 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 8 Cancel top and bottom margins ESC O 27 79 1B 4F This command cancels both the top margin set by ESC R n and the bo
12. NF ESC CHR 9 89 CS C SC CHR 143 55 0 9g GOSUB 1919 19g 119 Main loop 120 A THEN 129 150 IF A THEN GOSUB 1959 GOTO 349 Wider 160 IF A THEN GOSUB 1989 GOTO 349 Narrower 170 IF A T OR A t THEN GOSUB 1119 GOTO 349 Descender 189 IF 199 IF 219 IF 229 IF 249 IF 278 IF 280 IF 299 IF 39g IF 210 IF 320 IF 390 A Q A C A R OR A q OR OR OR THEN CLS END THEN GOSUB 1359 THEN GOSUB 1919 THEN GOSUB 1679 THEN GOSUB 2918 GOTO 349 GOTO 349 GOTO 349 GOTO 349 A CHR 8 THEN GOSUB 999 GOTO 349 Left A CHR 9 THEN GOSUB 92 GOTO 340 Right A CHR 19 THEN GOSUB 949 GOTO 340 Down A CHR 91 THEN GOSUB 969 GOTO 349 Up A I OR 1 THEN GOSUB 989 GOTO 349 Insert A D OR A d THEN GOSUB 1929 GOTO 34g Delete 349 GOTO 129 499 Subroutine to paint screen 419 CLS 420 GOSUB 1778 439 449 Draw grid TRS 80 Computers 217 459 PRINT 82 6445 M1 M2 M3 M4 M5 M6 M7 8 M9 M1g M11 479 PRINT 63 6444 1 1 1 1 1 eene 489 FOR I Q TO 6 PRINT 1 4 64 1 2 1 485 PRINT 1 4 64 4 TAB 48 1 NEXT I 499 PRINT 011 64 4 1 1 630 Put in dots 649 FOR H 1 TO 11 FOR J 1 TO 7 Z J H 9 688 NEXT J NEXT H 690 FOR 1 TO 11 GOSUB 1199
13. OR MASKZ XIT4 868 RETURN 870 880 Subroutine to arrange field descriptions 890 900 0 0 2 X1 LXFAC 1 LYFAC TRS 80 Computers 223 910 RNG MIDANG Z 6 28 369 920 INT 24 SIN RNG 5 INT 2Q COS RNG 939 24 X3 Y4 42 949 IF MIDANG gt 70 AND MIDANG 119 THEN 999 950 IF MIDANGZ gt 250 AND MIDANG 299 THEN 990 96 IF MIDANGZ 279 OR MIDANGZ 99 THEN 1010 970 MID TEXT X4 Y4 LEN PIECETEXT PIECE PIECE 989 GOTO 1020 999 MID TEXT X4 Y4 INT LEN PIECETEXT PIECES 2 PIECETEXT PIECES 1000 GOTO 1020 1010 MID TEXT X4 Y4 PIECETEXT PIECE4 102 PREVANG ANG 1030 RETURN 194g 1050 Subroutine to query user for data 1060 1070 CLS PRINT PRINT PRINT 1080 PRINT ENTER TITLE FOR CHART 1985 INPUT CTITLE 1090 IF LEN CTITLE 32 THEN 1110 1100 PRINT TITLE TOO LONG 32 CHAR MAX GOTO 1989 111 SOFAR LFT 199 1129 FOR I 1 TO 24 1130 CLS 1149 PRINT ENTER PARAMETERS FOR PIE CHART 1158 PRINT TOTAL 50 FAR 3 116 PRINT USING SOFAR 1179 PRINT TOTAL REMAINING 1180 PRINT USING LFT 1196 PRINT PRINT PRINT PRINT 1200 PRINT ENTER PERCENTAGE FOR FIELD 1295 INPUT PCT I 1219 IF PCTZ I LFT4 OR PCTZ I Q THEN PCT I LFT 122 LFT LFT PCT I 1230 SOFAR SOFAR PCT I 1249 PRINT PRINT 1259 PRINT
14. Reset the printer n 72 inch line feed Pica print Elite print Condensed print Select NLQ Near Letter Quality characters Cancel NLQ characters Set page length to n lines Set page length to n inches Set horizontal tabs Emphasized print Cancel emphasized print Double strike print Cancel double strike print Single line feed of n 144 inches Single density graphics Double density graphics Set left margin at column n Set bottom margin at n lines Cancel top and bottom margins Set vertical tabs Set right margin at column n Set top margin at line n Superscript on Subscript on Cancel super and subscripts Bidirectional print Unidirectional print Cancel enlarged print Enlarged print Command Summary Numerical Order 313 ESC X CHR 0 Cancel proportional download characters ESC X 9 1 Use proportional download characters ESC 0 Disable bell CESC CHR 1 Enable bell ESC n Advance n line feeds ESC b n Tab over n columns ESC g n Reverse line feed of n 144 inches ESC y n1 n2 Double speed double density graphics ESC z n1 n2 Quadruple density graphics 314 Radix User s Manual Appendix ASCII Code Conversion Chart 0 1 2 3 4 5 6 7 8 9 Standard ASCII Codes Decimal Hexadecimal Binary 00 0000 0000 01 0000 0001 02 0000 0010 03 0000 0011 04 0000 0100 05 0000 0101 06 0000 0110 07 0000 0111 08 0000 1000 09 00
15. SO 14 This command causes the printer to print ex panded characters until a carriage return is sent It can also be cancelled with DC4 The character widths are shown above in the description of the ESC W 1 command Chapter 7 Function Code Reference 287 PURPOSE CODE decimal ASCID hex ASCII REMARKS REFERENCE PURPOSE CODE decimal ASCII hex ASCII REMARKS REFERENCE PURPOSE CODE decimal ASCII hex ASCII REMARKS REFERENCE Set the printer to expanded print for the re mainder of the current line ESC SO 27 14 1B OE Same as SO above Chapter 7 Cancels expanded print ESC Ww 0 27 87 0 1B 57 00 This command resets the print size to what ever it was before being set to expanded print Chapter 7 Cancels expanded print DC4 20 14 This command cancels one line expanded printing set with SO Chapter 7 288 Radix User s Manual Special print modes PURPOSE CODE decimal ASCII hex ASCII REMARKS REFERENCE PURPOSE CODE decimal ASCII hex ASCII REMARKS REFERENCE PURPOSE CODE decimal ASCII hex ASCII REMARKS REFERENCE Select double strike printing ESC G 27 71 1B 47 This command causes all subsequent charac ters except NLQ characters to be printed in double strike Double strike causes all charac ters to be printed once the paper moved up 1 144 in
16. 250 AND MIDANG 299 THEN 999 96 IF MIDANG2 279 OR MIDANGZ 99 THEN 1010 970 MID TEXT X4 Y4 LEN PIECETEXT PIECEX 980 GOTO 1828 999 MID TEXT X4 Y4 LEN PIECETEXT PIECE 2 1000 GOTO 1020 101 MID TEXT X4 Y4 PIECETEXT PIECE 1020 PREVANG ANG 1030 RETURN 194g 1050 Subroutine to query user for data 196g 1079 PRINT CHR 26 PRINT PRINT 198g INPUT ENTER TITLE FOR CHART TITLES 1999 IF LEN TITLE THEN 1119 1100 PRINT TITLE TOO LONG 49 CHAR MAX GOTO 1080 1110 AMT SOFAR AMT LEFT 19 1120 FOR I 1 TO 24 1130 PRINT CHR 26 Kaypro Osborne amp Other CP M Computers 241 1149 PRINT ENTER PARAMETERS FOR PIECHART 1158 PRINT TOTAL SO FAR 1160 PRINT USING AMT SOFARZ 1170 PRINT TOTAL REMAINING 1180 PRINT USING AMT LEFT 1196 PRINT PRINT PRINT PRINT 1200 INPUT ENTER PERCENTAGE FOR FIELD PCT I 1219 IF PCT 1I AMT LEFT OR PCTZ I 9 THEN PCTZ I AMT LEFT4 1220 AMT LEFTZ AMT LEFT PCT4 I 1230 AMT SOFAR AMT SOFAR PCT I 1248 PRINT PRINT 1250 INPUT ENTER DESCRIPTION OF FIELD PIECETEXT I 126 IF LEN PIECETEXT I 16 THEN 1280 1270 PRINT FIELD TOO LONG 15 CHAR MAX GOTO 1250 1280 IF AMT LEFT GOTO 1300 1299 NEXT I 1300 NUMBER PIECES I 1319 IF NUMBER PIECES 1 THEN 1119 1320 PRINT CHR 26 1330 RETURN
17. 296 298 299 tabs 90 94 297 299 Setup 181 Seven bit interface 102 306 307 Sheet guide 3 6 Shipping screws 183 SI 64 285 Single sheet guide 3 6 Single sheets 5 6 Skip over perforation 84 296 5 65 286 Software commercial 16 Special symbols 102 265 277 330 Radix User s Manual Speed iii Spreadsheets 39 Sprocket paper 5 9 13 Sprocket paper guide 3 9 Starting new lines 75 Strike over 100 Subscripts 27 32 34 36 62 290 SuperCalc 41 48 Superscripts 27 32 34 36 62 290 Switch power 5 Switches DIP 6 60 76 77 99 253 259 283 284 285 288 289 291 292 294 298 103 Tabs horizontal 90 299 300 vertical 93 296 Thickness adjusting gap 12 Tips for smoother operation 13 Tractor 3 10 TRS 80 computers 83 213 Underlining 27 32 34 36 61 289 Unidirectional printing 100 309 Unpacking 181 User defined characters 99 110 140 301 Vertical positions commands 291 Vertical tabs 93 296 VisiCalc 40 VT 93 296 Word processing 21 WordStar 34 XON XOFF protocol 256 DIP Switch Settings Switch ON OFF SETTING DIP Switch A A 1 11 page length 12 page length J j Normal print Emphasized print 10 CPI pica pitch 17 CPI condensed pitch 1 6 line feed 1 8 line feed International character set selection see below DIP Switch B 7 data bits No parity B 1 3 B B5 Handshaking protocols see be
18. 9 99 309 ESC 102 306 ESC gt 102 306 ESC 23 99 310 ESC CHR n 78 293 ESC CHR n 81 95 297 CESC CHRS 4 23 60 283 ESC CHR 5 23 60 ESC B CHR n 64 284 285 CESC b CHR n 91 300 ESC 83 295 ESC D 90 299 ESC 67 288 CESC 67 289 ESC 67 288 ESC H 67 288 ESC J CHR n 79 293 ESC j 80 294 ESC 140 303 ESC L 156 304 ESC 92 298 ESC 84 296 ESC 84 296 ESC 94 297 ESC CHR3S n 92 299 ESC CHR n 84 295 ESC S 9 63 290 ESC T 63 290 ESC CHR n 101 309 310 ESC W CHR n 66 286 287 ESC X CHR n 125 302 ESC Y CHR n 98 308 ESC y 156 304 ESC 2 156 305 ESC FF 83 294 ESC 76 291 ESC SI 286 ESC SO 65 287 ESC CHR3 14 65 287 ESC CHR 15 286 Expanded pitch 45 27 32 36 41 42 65 286 Feed button 5 8 Feeding paper 5 6 9 FF 82 294 FF button 5 Font pitch commands 284 Font style commands 282 Foreign language characters 104 262 264 275 283 Form feed 82 294 Form feed button 5 Form feed reverse 83 Front cover open detector 6 182 Fuse replacement 175 Gap adjusting 12 14 Graphics iv 47 102 139 193 303 Grid for downlo
19. NEXT H 700 X 1 Y 1 G 1 H 1 719 GOSUB 1290 720 738 Paint menu 732 PRINT 49 CURSOR MOVEMENT 734 PRINT 81 64459 LEFT ARROW 736 PRINT 2 64 59 RIGHT ARROW 738 PRINT 83 64459 UP ARROW 739 PRINT 84 64459 DOWN ARROW 745 PRINT 85 64459 P RINT CHAR 750 PRINT 66 64459 A SCII SET 769 PRINT 87 64459 C LEAR DOTS 778 PRINT 88 64459 Q UIT 780 PRINT 89X64459 R OM COPY 799 PRINT 019 64459 T OGGLE DESC 829 PRINT 11 644 59 I NSERT DOT 836 PRINT 12 64 59 D ELETE DOT 840 PRINT 13 64 5 WIDER CHAR 850 PRINT 14 64 50 NARROWER 879 RETURN 880 890 Edit subroutines 900 GOSUB 1239 Y Y 1 H H 1 1F 1 THEN Y 1 H 1 910 GOSUB 1299 RETURN 929 GOSUB 1239 Y Y 1 H H41 IF 11 THEN Y 11 H 11 920 GOSUB 1299 RETURN 949 GOSUB 1239 X X 1 G G41 IF X 7 THEN X 7 G 7 950 GOSUB 1299 RETURN 960 GOSUB 1230 X X 1 G G 1 IF X 1 THEN X 1 G 1 979 GOSUB 1299 RETURN 98g IF Z G H 1 1 OR Z G H 1 1 THEN RETURN gt 218 Radix User s Manual 999 Z G H 1 1000 PRINT 3 64 4 2 55 1010 GOSUB 1149 RETURN 1020 2 G H 9 1030 PRINT 0 X43 644Y 442 CS 1040 GOSUB 1149 RETURN 1050 IF PROWID 11 THEN RETURN 1060 PROWID PROWID 1 1070 GOSUB 1770 RETURN 2 1080 IF PROWID 4 THEN RETURN 1090 PROWID PROWID 1 1199 GOSUB 1770 RETURN 1110 IF DESC 1 THEN DESC Q GOTO 1138 1120 DESC 1 1130 GOSUB 1770 RETURN 114g 115 Su
20. Printer setup utility 19 Program to setup RADIX printer as directed 20 39 Initialize 40 ESC CHR 27 25 DIM TBS 256 5g 69 Display MAIN menu 7Q TITLE MAIN MENU 89 GOSUB 2280 99 PRINT TAB TB Exit 199 PRINT TAB TB 1 Select CHARACTER SET 110 PRINT TAB TB 2 Select PRINTING MODES 120 PRINT TAB TB 3 Select PITCH 139 PRINT TAB TB 4 Select LINE SPACING 149 PRINT TAB TB 5 Set MARGINS TABS amp FORMS 15 GOSUB 2270 160 IF 5 0 OR S 5 THEN PRINT CHR 7 GOTO 150 170 IF S THEN PRINT CHR 26 END 180 ON S GOSUB 200 470 340 1230 630 199 GOTO 59 242 Radix User s Manual 29g 219 Subroutine to display CHARACTER SET menu 220 TITLE CHARACTER SET MENU 230 GOSUB 2280 240 PRINT TAB TB 0 Return to main menu 259 PRINT TAB TB 1 Select NLQ character set 269 PRINT TAB TB 2 Cancel NLQ character set 279 PRINT TAB TB 3 Select ITALIC character set 280 PRINT TAB TB 4 Cancel ITALIC character set 299 GOSUB 2379 300 IF 5 0 OR S 4 THEN PRINT CHR 7 GOTO 299 318 IF S THEN RETURN 320 ON 5 GOSUB 1170 1200 1580 1610 338 GOTO 200 348 350 Subroutine to display PITCHES menu 360 TITLES PITCHES MENU 370 GOSUB 2288 380 PRINT TAB TB 9 Return to main menu 399 PRINT TAB TB 1 Select PICA pitch 490g PRINT TAB TB 2 Select ELITE pitch 410 PRINT TAB TB 3 Select CONDENSED pitch 420 GOSUB 2378 420 IF 5 0 O
21. Subroutine to print column value 980 PRINT FNL 19 7 3 H RIGHT STR MM H 3 998 RETURN 1000 101 Subroutine to remove the cursor 1920 PRINT FNL X 4 1 1030 IF Z G H THEN PRINT 194g IF Z G H 1 THEN PRINT SC 1050 RETURN 1060 1070 Subroutine to place the cursor 198g PRINT FNL X 4 Y 1Q 1090 IF Z G H 1 THEN PRINT CR 119g IF Z G H THEN PRINT CS 1110 RETURN 1129 1130 Subroutine to print current character 1149 GOSUB 1789 1159 LPRINT 1169 LPRINT 117g LPRINT 1180 LPRINT 1199 LPRINT 1299 LPRINT 1219 LPRINT 1220 LPRINT 1230 LPRINT 1249 LPRINT 1259 LPRINT 126 LPRINT 1278 LPRINT 1289 LPRINT 1299 LPRINT ASCII eode AS LPRINT REC Download the character CHR 27 B CHR 3 Condensed RAMNML STRING 21 AS RAMNMLOFF CHR 27 B CHR 2 Elite RAMNML STRING 15 AS RAMNMLOFF CHR 27 B CHR 1 Pica RAMNML STRING 12 AS RAMNMLOFF CHR 27 W CHR 1 Expanded RAMNML STRING 6 AS RAMNMLOFF CHR 27 W CHR Character set normal width Kaypro Osborne amp Other CP M Computers 237 1300 LPRINT 1310 FOR 33 TO 126 LPRINT CHR I NEXT LPRINT 1320 FOR I 160 TO 254 LPRINT CHR I NEXT LPRINT 1330 LPRINT RAMNMLOFF 1349 LPRINT Proportional 1350 LPRINT RAMPRO STRING 15 AS 1360 LPRINT RAMPROOFF 1370 LPRINT Character set proportional 1389 LPRINT RAMPRO 1399 FOR 1 33 TO 126
22. 1595 LPRINT LPRINT NF Proportional PN STRING 15 AS PF LPRINT CHARACTER SET PROPORTIONAL SPACING LPRINT PN 1596 FOR 1 33 TO 126 LPRINT CHR I NEXT I LPRINT 1597 FOR 1 16 TO 254 LPRINT CHR I NEXT I LPRINT 169 LPRINT 1619 LPRINT 1620 LPRINT PF LPRINT LPRINT Use this data statement to download this character 163 GOSUB 2080 LPRINT DATA 27 1640 FOR I 1650 LPRINT 1669 NEXT I 1679 2 TO LEN REC STR ASC MID REC I 1 LPRINT LPRINT LPRINT LPRINT RETURN 1680 Subroutine to input desired character code 1690 PRINT 14 64 1700 INPUT Enter ASCII code 33 126 OR 169 254 AS 1719 GOSUB 2949 1720 IF AS 32 AND AS 127 THEN GOTO 1768 1730 IF AS gt 159 AND AS lt 255 THEN GOTO 1769 174g GOTO 1690 1769 GOSUB 1779 1770 RETURN 220 Radix User s Manual 1780 Subroutine to display header 1799 PRINT 1 ASCII CODE AS 1800 PRINT CHR AS AND amp H7F 1810 IF AS gt 127 THEN PRINT 128 1820 PRINT m 3 1830 PRINT 39 DESCENDER SDESC 188g PRINT 801 6449 STRING 11 1890 PRINT 1 64 1 WIDTH STRING PROWID 1900 RETURN 191g 1929 Subroutine to clear current character 1939 PROWID 11 DESC g 1949 FOR H 1 TO 11 MM H NEXT H 1958 GOSUB 398 RETURN 2010 2029 Subroutine to perform a ROM copy 2030 LPRINT ESC CHR 9 RETURN 294g 2059 Subr
23. 252 229 233 237 241 245 249 253 2330 234 238 242 279 235 EEE 239 243 247 m 251 280 Radix User s Manual Appendix Function Code Reference The purpose of this Appendix is to provide a quick reference for the various functions available on the Radix 10 and Radix 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 ASCID 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 Radix In these cases we have used an italic n or m to indicate a variable You should insert the ASCII code for proper value here Commands to Control Print Style These commands are used to control the font style the print pitch and special effects 282 Radix User s Manual Font style controls PURPOSE CODE decimal ASCID hex ASCII REMARKS REFERENCE PURPOSE CODE decimal ASCII hex ASCII REMARKS REFERENCE Select the standard character set ESC 5 27 53 1B 35 This command causes the printer to cancel the italic character set and select instead the standard character set You ca
24. ASCII hex ASCII REMARKS REFERENCE Return print head to home position Car riage Return CR 13 oD This command returns the print head to the home position the left margin If DIP switch C 4 has been set on then this command will also cause a line feed character to be genera ted after the carriage return thereby advanc ing to the beginning of the next print line automatically Chapter 8 Set the left print margin ESC M n 27 77 n 1B 4D n This command sets the home position re turned to during the execution of all subse quent carriage returns to be print position n The power on default for is 1 The value of n must be between 1 and 255 For Radix 10 the maximum print position for pica pitch is 80 for elite is 96 and for condensed pitch is 136 For Radix 15 the maximum print position for pica pitch is 136 for elite is 163 and for con densed pitch is 233 Chapter 9 Function Code Reference 299 PURPOSE CODE decimal ASCII hex ASCII REMARKS REFERENCE PURPOSE CODE decimal ASCII hex ASCII REMARKS REFERENCE PURPOSE CODE decimal ASCII hex ASCII REMARKS REFERENCE Set the right print margin ESC Q n 27 81 n 1B 51 n This command sets the right hand print mar gin to print position n After execution of this command any attempt to print beyond print position n will cause the printer to automati cally generate a carriage re
25. ENTER DESCRIPTION OF FIELD 1255 INPUT PIECETEXT I 1269 IF LEN PIECETEXT I 16 THEN 1289 1279 PRINT FIELD TOO LONG 15 CHAR MAX GOTO 1259 1280 IF LFT GOTO 1399 1290 NEXT I 224 Radix User s Manual 1200 PCNTZ I 1310 IF PCNT 1 THEN 111g 1329 CLS 1339 RETURN 2000 REM 2010 CLS 2020 PRINT PRINT PRINT 2030 PRINT THIS PROGRAM TAKES ABOUT TWO MINUTES TO RUN 2040 PRINT PLEASE TURN ON YOUR PRINTER AND STAND BY 2050 PRINT PRINT 2060 PRINT 2070 PRINT 2080 FOR I 1 TO PCNTZ PRINT NEXT I 2090 RETURN Printer setup utility 10 Program to setup RADIX printer as directed 2g 30 Initialize 35 CLEAR 1000 49 ESC CHR 27 15 DIM TBS 256 6g 78 Display MAIN menu 80 CLS 9g MAIN MENU 100 GOSUB 2569 119 PRINT TAB TB Exit 120 PRINT TAB TB 1 Select CHARACTER SET 130 PRINT TAB TB 2 Select PRINTING MODES 149 PRINT TAB TB 3 Select PITCH 15 PRINT TAB TB 4 Select LINE SPACING 160 PRINT TAB TB 5 Set MARGINS TABS amp FORMS 170 GOSUB 2650 180 5 0 OR 525 THEN 179 190 IF S THEN END 200 ON S GOSUB 229 499 369 1419 659 219 GOTO 69 229 239 Subroutine to display CHARACTER SET menu 249 TITLE CHARACTER SET MENU 259 GOSUB 2569 269 PRINT TAB TB Return to main menu 270 PRINT TAB TB 1 Select NLQ character set 280 PRINT TAB TB 2 Cancel NIQ character set TRS 80 Computers 225 299
26. ESC 4 GOSUB 2469 RETURN 161g 1629 Subroutine to cancel ITALIC character set 16390 S ESC 5 GOSUB 2469 RETURN 1649 1650 Subroutine to set PAGE LENGTH 1669 GOSUB 2599 167g PRINT Page length in Inches or Lines I L 1680 PRINT TAB TB 1690 A INKEY IF A THEN 1699 1700 IF A I OR i THEN 1730 1710 IF L OR A 1 THEN 1770 1729 PRINT CHR 7 GOTO 1690 1730 INPUT Length of page in inches 1 32 X 1749 IF X 1 OR X 32 THEN PRINT CHR 7 GOTO 1669 1750 S ESC C CHR CHR X 1769 GOSUB 2469 RETURN 1770 INPUT Length of page in lines 1 127 X 1789 IF X 1 OR X 127 THEN PRINT CHR 7 GOTO 1669 1799 ESC C CHR X 189g GOSUB 2469 RETURN 1810 1829 Subroutine to set HORIZONTAL TABS 1830 S ESC D 255 GOSUB 184g RETURN 184g 1850 Subroutine to set tabs either horiz or vert 1860 GOSUB 2500 1879 PRINT Would you like to set the tabs in 1880 PRINT TAB TB Regular intervals or specify 1890 PRINT TAB TB each one Individually R I 1900 A INKEY IF A THEN 1900 1910 IF A OR A THEN 2060 1929 IF A I OR A i THEN 1949 1930 PRINT CHR 7 GOTO 1849 1949 PRINT I 2 TBS 1 1 1959 PRINT TAB TB Enter the list of tabs in 246 Radix User s Manual 1969 PRINT TAB TB ascending order No more than non 1979 PRINT TAB TB INPUT Ente
27. FNL 19 47 Perform ROM 588 PRINT FNL 11 45 Arrow keys move cursor 599 PRINT FNL 12 45 RET place a dot 609 PRINT FNL 13 45 DEL remove a dot 618 PRINT FNL 14 47 make character wider 620 PRINT FNL 15 47 make character narrower 639 PRINT FNL 16 47 D Toggle descender mode 649 RETURN 650 660 Edit subroutines 670 GOSUB 1000 3 1 1 THEN PRINT CHR 7 1 1 680 GOSUB 1969 RETURN 699 GOSUB 1999 Y Y43 H H 1 IF 31 THEN PRINT CHR 7 31 11 700 GOSUB 1969 RETURN 710 GOSUB 1999 X2X42 G 2G 1 IF X 13 THEN PRINT CHR 7 13 6 7 729 GOSUB 1969 RETURN 738 GOSUB 199g X X 2 G G 1 IF X 1 THEN PRINT CHR 7 1 6 1 749 GOSUB 1969 RETURN 750 IF Z G H 1 1 OR Z G H 1 1 THEN PRINT CHR 7 RETURN 760 Z G H 1 770 PRINT FNL X 4 Y 19 CR 789 GOSUB 919 RETURN 799 Z G H 9 809 PRINT FNL X44 Y419 CS 81 GOSUB 919 RETURN 829 IF PROWID 11 THEN PRINT CHR 7 RETURN 838 PROWID PROWID 1 849 GOSUB 1569 RETURN 859 IF PROWID 4 THEN PRINT CHR 7 RETURN 236 Radix User s Manual 860 PROWID PROWID 1 870 GOSUB 1568 RETURN 889 IF DESC 1 THEN DESC GOTO 999 899 DESC 1 900 GOSUB 1560 RETURN 91g 920 Subroutine to calculate a column value amp print it 938 MM H FOR J 1 TO 7 949 2 1 2 7 1 950 NEXT J 60508 960 RETURN 969 979
28. LPRINT CHR I NEXT LPRINT 1400 FOR I 169 TO 254 LPRINT CHR I NEXT LPRINT 1410 LPRINT RAMPROOFF 1429 LPRINT LPRINT LPRINT 1430 LPRINT Use this data statement to download this character 1440 GOSUB 1789 LPRINT DATA 27 1450 FOR I 2 TO LEN REC 1460 LPRINT STR ASC MID REC I 1 1470 NEXT I LPRINT LPRINT LPRINT LPRINT RETURN 148g 1499 Subroutine to input desired character code 1500 PRINT FNL 23 5 151 INPUT Enter ASCII code 33 126 OR 160 254 AS 1529 GOSUB 1749 1530 IF AS lt 33 OR AS gt 254 THEN PRINT CHR 7 GOTO 1599 154 IF AS 169 AND AS gt 126 THEN PRINT CHR 7 GOTO 1599 1550 GOSUB 1569 RETURN 1569 1570 Subroutine to display header 1580 PRINT FNL 1 1 ASCII CODE 5 1599 PRINT CHR AS AND amp H7F 160 IF AS gt 127 THEN PAINT 128 1610 PRINT i 1620 PRINT FNL 1 39 DESCENDER z DESC 1630 PRINT FNL 3 19 STRING 33 1640 PRINT FNL 3 2 WIDTH STRING PROWIDX3 165g RETURN 1660 167g Subroutine to clear current character 1688 PROWID 11 DESC 238 Radix User s Manual 1699 FOR H 1 TO 11 MM H NEXT H 1700 GOSUB 379 RETURN 171g 1720 Subroutine to perform a ROM 1730 LPRINT CHR 27 CHR g RETURN 174g 1750 Subroutine to erase query message 1769 PRINT FNL 23 5 STRING 79 1770 RETURN 178g 1799 Subroutine to build command string 1
29. PRINT ESC CHR 29432 CHR 18432 2400 PRINT Enter selection or press P for print sample 2419 C INKEY IF C THEN 2419 2420 IF C P OR C p THEN GOSUB 2530 GOTO 2379 2439 IF C OR C gt 9 THEN PRINT CHR 7 GOTO 2398 2449 S VAL C 2459 RETURN 2469 2470 Subroutine to output command string 2480 LPRINT 5 2499 RETURN 2599 2510 Subroutine to clear screen amp position cursor 2520 PRINT CHR 26 ESC CHR 19 32 CHR TB432 RETURN 2539 2549 Subroutine to print sample 2550 FOR I 1 TO 4 FOR J 33 TO 127 256 LPRINT CHR J 2570 NEXT LPRINT NEXT 258g RETURN Radix User s Manual lt Appendix The Parallel Interface Radix has both a parallel interface and a serial interface to communicate with the computer that it is connected to The oper ating 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 Radix 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 vari ous pins are summarized in Table F 1 Functions of the Connector Signals Communications between the computer and the Radix use many of the pins
30. Regular intervals or specify 2139 PRINT TAB TB each one Individually R I 2140 A INKEY IF A THEN 2149 2150 IF A OR A THEN 2399 2160 IF A I OR A i THEN 2189 2170 GOTO 2080 2188 PRINT I 2 TBS 1 1 2199 PRINT TAB TB Enter the list of tabs in 220 PRINT TAB TB ascending order No more than MAX not 2210 PRINT TAB TB INPUT Enter a tab TBS I 2220 IF TBS I 4 OR TBS I gt 255 THEN 2170 2230 IF TBS I Q THEN I 1 GOTO 2279 2240 IF TBS I TBS I 1 THEN 2179 2250 I I 1 IF I gt MAX THEN 2179 2260 GOTO 2219 2270 1 I 1 2280 S S CHR TBS I IF TBS I gt THEN 2279 2285 S S CHR g GOSUB 2739 2290 RETURN 2300 PRINT PRINT TAB TB INPUT Enter interval X 2310 IF X lt OR X gt 255 THEN 2988 2320 FOR I 1 TO 255 STEP X 2330 MAX 1 IF THEN 2350 2340 S S CHR I NEXT I 2350 S S CHR GOSUB 2739 RETURN 2368 2370 Subroutine to set VERTICAL TABS 2380 S ESC P MAX 28 GOSUB 2989 2399 RETURN 249g 2419 Subroutine to select EMPHASIZED printing 2429 S ESC E GOSUB 2730 2439 RETURN 2440 2459 Subroutine to cancel EMPHASIZED printing 230 Radix User s Manual 2469 S ESC F GOSUB 2739 2478 RETURN 2488 2499 Subroutine to select DOUBLE STRIKE printing 2500 S ESC G GOSUB 2738 2519 RETURN 2529 2539 Subro
31. command causes the printer to ignore the BEL character Chapter 10 Enable the printer bell ESC 1 27 89 1 1 59 01 This command causes the printer to respond to the BEL character normally by sounding the printer bell Chapter 10 PURPOSE CODE decimal ASCII hex ASCII REMARKS REFERENCE PURPOSE CODE decimal ASCIT hex ASCII REMARKS REFERENCE PURPOSE CODE decimal ASCID hex ASCII REMARKS REFERENCE Function Code Reference 309 Disable paper out detector ESC 8 27 56 1B 38 This command causes the printer to disre gard 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 C 1 can also be set to disable the paper out de tector Chapter 10 Enable paper out detector ESC 9 75 27 57 1 39 This command restores the function of the paper out detector Chapter 10 Select uni directional printing ESC D 1 27 85 1 1B 55 01 This command causes all subsequent lines to be printed in uni directional printing Uni di rectional printing is useful in printing tables or charts since it ensures that vertical col umns of characters will be in alignment Chapter 10 310 PURPOSE CODE decimal ASCII hex ASCII REMARKS REFERENCE PURPOSE CODE decimal ASCII hex ASCIT REMARKS
32. left If the print head is at the home position the command is ignored This com mand can be used to overstrike characters Chapter 10 Function Code Reference 301 Download Character Commands PURPOSE CODE REMARKS REFERENCE PURPOSE CODE decimal ASCID hex ASCII REMARKS REFERENCE Define download characters into RAM ESC 1 ni n2 mi m2 m5 m6 m7 m8 m9 m10 m11 27 42 1 ni n2 mi m2 m3 m4 m5 m6 m7 m8 m9 m10 1111 1 2 01 ni n2 mi m2 m3 m4 m5 m6 m7 m8 m9 m10 mii This command is used to set up a user defined character and store it into RAM for later use RAM is cleared during power down The value of n1 is the position in RAM that this character is to occupy It must be be tween 33 and 126 or between 160 and 254 That is it must fall within the range of print able characters The value of n2 determines the attributes and width of the character m1 thru m11 determine which dots form the character Chapter 11 Copy standard character ROM fonts into RAM ESC 66499 0 27 42 0 1 2 00 This command takes all of the characters in the standard ASCII character set those with ASCII values between 33 and 126 characters with ASCII values above 160 are not copied to RAM and copies them into RAM This is helpful prior to defining characters in RAM because it allows standard ROM characters to be printed on the same line as download characters Chapter 11 302 PURPOSE
33. 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 sig nal 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 com puter supplies on pins 2 through 9 Each of these lines carries one bit of information A logical 1 is represented by a high signal level and a logical 0 is represented by a low signal level The computer must maintain these signals for a period beginning at least 0 5 microseconds before the strobe pulse starts and continu ing for at least 0 5 microseconds after the strobe pulse ends 250 Radix User s Manual When the Radix has successfully received the byte of data from the computer it sets pin 10 low for approximately 9 microse conds This signal acknowledges the receipt of the data and so is ACK for acknowledge signal called the A T More than 0 5ysec Figure F 1 Radix interface timing diagram Signal Name Circuit Example 74LS Compatible DATA 1 DATA 8 7 0 To Printer 741 5 Compatible STROBE 1000 To Printer 74LS Compatible BUSY ACK 4 7kQ From Printer Figure F 2 Typical interface circuit
34. paper one line every time it receives a carriage return When this switch is OFF the com puter must send a line feed command every time the paper is to advance Most BASICs send a line feed with every carriage return therefore this switch should usually be off This switch is set OFF at the factory Appendix I ASCII Codes Standard and Italic Characters Decimal Character Function Decimal Character 0 NUL End tab settings 47 7 BEL Bell 48 9 0 8 BS Backspace 49 1 1 9 HT Horizontal tab 50 Z 10 LF Line feed 51 3 3 11 VT Vertical tab 52 4 12 FF Form feed 53 5 5 13 Carriage return 54 8 14 SO Expanded print on 55 7 7 15 SI Condensed print on 56 8 17 DC1 On line 57 9 9 18 DC2 Pica pitch 58 7 19 DC3 Off line 59 20 DC4 Expanded print off 60 lt lt 27 ESC 61 30 RS End macro 62 32 Space 6 7 7 33 3 64 9 4 4 65 A 35 66 B 8 36 67 C 37 2 68 D 2 38 amp 69 3g F Apostrophe 70 F 40 5 71 6 6 41 72 H H 42 73 I 1 43 74 d d 44 Comma 75 45 76 L L 46 77 These characters may be different if you are using an interna tional character set other than the USA set The characters for each set are shown on the next page 264 Radix User s Manual Decimal Character Decimal Character 78 N N 103 9 79 2 104 h 2 80 P 105 i 2 106 i 7 82 A 107 K 83 5
35. this signal is high Radix cannot receive data This signal will be high during data transfer when the printer is off line and when an error condition exists UT IN UT 252 Radix User s Manual Radix 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 C 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 and 33 are grounded Pin 18 is connected to the 5VDC supply in the printer Pin 31 can be used to reset the printer If this signal RESET goes low the printer will reinitialize Pin 32 is used to report error conditions in the printer This signal ERROR is high during nor mal operation and goes low to report that the printer cannot print due to an error condition Serial Interface Specifications Radix provides a very flexible RS232C serial interface 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
36. 0 71 47 0100 0111 5 72 48 0100 1000 H 73 49 0100 1001 I ASCII Code Conversion Chart 317 Standard ASCII Codes Decimal Hexadecimal Binary Character 74 4A 0100 1010 d 75 4B 0100 1011 F 76 4 0100 1100 L 77 4D 0100 1101 M 78 4E 0100 1110 N 79 4F 0100 1111 80 50 0101 0000 81 51 0101 0001 Q 82 52 0101 0010 F 83 53 0101 0011 5 84 54 0101 0100 T 85 55 0101 0101 1 86 56 0101 0110 V 87 57 0101 0111 W 88 58 0101 1000 x 89 59 0101 1001 90 5 0101 1010 7 91 5 0101 1011 92 5 0101 1100 x 93 5D 0101 1101 1 94 0101 1110 x 95 0101 1111 96 60 0110 0000 7 97 61 0110 0001 a 98 62 0110 0010 b 99 63 0110 0011 100 64 0110 0100 101 65 0110 0101 2 102 66 0110 0110 103 67 0110 0111 q 104 68 0110 1000 h 105 69 0110 1001 i 106 6A 0110 1010 2 107 6 0110 1011 108 6C 0110 1100 1 109 60 0110 1101 110 6E 0110 1110 n 111 6F 0110 1111 112 70 0111 0000 113 71 0111 0001 114 72 0111 0010 r 115 73 0111 0011 5 318 Decimal 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 Standard ASCII Codes Hexadecimal Binary 74 0111 0100 75 0111 0101 76 0111 0110 77 0111 0111 78 0111 1000 79 0111 1001 7A 0111 1010 7B 0111 1011 7C 0111 1100 7D 0111 1101 7E 0111 1110 7F 0111 1111 80 1000 0000 81 1000 0001 82 1000 0010 83 1000 0011 84 1000 0
37. 00 1001 0A 0000 1010 OB 0000 1011 oc 0000 1100 oD 0000 1101 OE 0000 1110 OF 0000 1111 10 0001 0000 11 0001 0001 12 0001 0010 13 0001 0011 14 0001 0100 15 0001 0101 16 0001 0110 17 0001 0111 18 0001 1000 19 0001 1001 1A 0001 1010 1B 0001 1011 1C 0001 1100 1D 0001 1101 1E 0001 1110 1F 0001 1111 Control character Ctrl Ctrl A Ctrl B Ctrl C Ctrl D Ctrl E Ctrl F Ctrl G Ctrl H Ctrl I Ctrl Ctrl K Ctrl L Ctrl M Ctrl N Ctrl O Ctrl P Ctrl Q Ctrl R Ctrl S Ctrl T Ctrl U Ctrl V Ctrl W Ctrl X Ctrl Y Ctrl Z Character NUL BEL BS HT LF VT FF CR SO SI DC1 DC2 DC3 DC4 ESC RS 316 Radix User s Manual Standard ASCII Codes Decimal Hexadecimal Binary Character 32 20 0010 0000 SP 33 21 0010 0001 34 22 0010 0010 35 23 0010 0011 36 24 0010 0100 37 25 0010 0101 38 26 0010 0110 39 27 0010 0111 40 28 0010 1000 41 29 0010 1001 42 2 0010 1010 43 2 0010 1011 44 2 0010 1100 45 2D 0010 1101 46 2E 0010 1110 47 2F 0010 1111 n 48 30 0011 0000 e 49 31 0011 0001 1 50 32 0011 0010 51 33 0011 0011 z 52 34 0011 0100 3 53 35 0011 0101 c 54 36 0011 0110 amp 95 37 0011 0111 p 56 38 0011 1000 a 57 39 0011 1001 9 58 3A 0011 1010 59 3B 0011 1011 60 3C 0011 1100 61 3D 0011 1101 62 00111110 E 63 3F 0011 1111 64 40 0100 0000 ig 65 41 0100 0001 66 42 0100 0010 67 43 0100 0011 c 68 44 0100 0100 D 69 45 0100 0101 70 46 0100 011
38. 100 85 1000 0101 86 1000 0110 87 1000 0111 88 1000 1000 89 1000 1001 8A 1000 1010 8B 1000 1011 8C 1000 1100 8D 1000 1101 8E 1000 1110 8F 1000 1111 90 1001 0000 91 1001 0001 92 1001 0010 93 1001 0011 94 1001 0100 95 1001 0101 96 1001 0110 97 1001 0111 98 1001 1000 99 1001 1001 9A 1001 1010 9B 1001 1011 9C 1001 1100 9D 1001 1101 Radix User s Manual Character t u v x owl DEL BEL BS HT LF VT FF CR SO SI DC1 DC2 DC3 DC4 ESC ASCII Code Conversion Chart Decimal 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 Standard ASCII Codes Hexadecimal Binary 9E 1001 1110 9F 1001 1111 A0 1010 0000 A1 1010 0001 A2 1010 0010 A3 1010 0011 4 1010 0100 5 1010 0101 A6 1010 0110 A7 1010 0111 A8 1010 1000 A9 1010 1001 AA 1010 1010 AB 1010 1011 AC 1010 1100 AD 1010 1101 AE 1010 1110 AF 1010 1111 BO 1011 0000 B1 1011 0001 B2 1011 0010 B3 1011 0011 B4 1011 0100 B5 1011 0101 B6 1011 0110 B7 1011 0111 B8 1011 1000 B9 1011 1001 BA 1011 1010 BB 1011 1011 BC 1011 1100 BD 1011 1101 BE 1011 1110 BF 1011 1111 CO 1100 0000 C1 1100 0001 C2 1100 0010 C3 1100 0011 C4 1100 0100 C5 1100 0101 C6 1100 0110 C7 1100 0111 Character RS ov 1 m ps sj Ch e Olt Z du raw pl E 319 320
39. 27 66 5 1B 42 05 This command causes the printer to cancel the NLQ character set and return to the standard also known as draft character set Chapter 7 Font pitch controls PURPOSE CODE decimal ASCII hex ASCII REMARKS REFERENCE PURPOSE CODE decimal ASCII hex ASCII REMARKS REFERENCE Set the print pitch to pica 10 characters inch ESC 1 27 66 1 1 42 01 This command causes all subsequent print ing to be done in pica type This command also sets the maximum number of print col umns to 80 on the Radix 10 and 136 on the Radix 15 You can select pica type as the power on default by turning DIP switch A 3 on Chapter 7 Set the print pitch to elite 12 characters inch ESC B 2 27 66 2 1B 42 02 This command causes all subsequent print ing except NLQ characters to be done in elite type This command also sets the maximum number o print columns to 96 on the Radix 10 and 163 on the Radix 15 Chapter 7 Function Code Reference 285 PURPOSE CODE decimal ASCII hex ASCII REMARKS REFERENCE PURPOSE CODE decimal ASCII hex ASCII REMARKS REFERENCE PURPOSE CODE decimal hex ASCII REMARKS REFERENCE Set the print pitch to condensed 17 charac ters inch ESC 3 27 66 3 1B 42 03 This command causes all subsequent print ing except NLQ characters to be done in con densed type o
40. 315 PRINT 64 9 329 FOR PIECE 1 TO PCNT 339 X1 19 Y1 19 240 4 PIECE4 350 ANGZ 36Q TPCT4 01 360 RNG ANG 6 28 360 270 X2 RADXCOS RNG 12 Y2 RADX SIN RNG 419 38 GOSUB 649 399 GOSUB 879 400 NEXT PIECE 410 420 Send chart title to printer 449 LPRINT ESC CHR 6 REVFF 450 LPRINT TITLE STRING 16 LEN CTITLE 2 460 LPRINT CTITLE NTITLE 1 222 Radix User s Manual 479 LPRINT VTAB 489 FOR I 0 TO 48 499 LPRINT TEXT I NEXT I 500 518 Send bit image map to printer 515 LPRINT ESC A CHR 6 529 LPRINT REVFF 530 LPRINT LF LF LF LF LF LF 549 FOR ROWZ 2 TO 33 550 LPRINT 560 LPRINT ESC CHR 171 CHR 9 579 FOR COLZ 1 TO 171 580 LPRINT CHR BITZ COLZ ROWZ NEXT 590 LPRINT 619 NEXT ROW 629 LPRINT ESC 2 630 END 64g 659 Subroutine to draw a line from X1 Y1 to X2 Y2 66g 670 XL X2 X1 YL 689 NX ABS XL LXFAC NY 690 IF lt NY THEN NX NY 700 NS INT NX 1 710 DX XL NS DY 729 FOR 1 1 TO NS 730 Xi X1 DX Y1 749 GOSUB 789 759 NEXT 1 760 PRINT 778 RETURN 788 790 Subroutine to plot a point at X1 Y1 890 819 XX Y2 Yi ABS YLXLYFAC YL NS Yi DY 829 COLZ INT XX 1 839 ROW INT YY 6 840 XIT INT YY ROWZ 6 41 850 BITZ COL4 ROWZ BIT COL ROW
41. 89g REC CHR 27 w CHR 1 1810 REC REC CHR AS CHR DESC 16 PROWID 1820 FOR I 1 TO 11 REC REC CHR MM I NEXT I 1830 RETURN Piechart program Program to print a piechart on the RADIX 2g 30 Initialize program constants 40 ESC CHR 27 LF CHR 10 50 FF CHR 12 VTAB CHR 11 68 REVFF ESC 70 Emphasized amp expanded modes 89 TITLE ON ESC E ESC CHR 1 99 TITLE OFF ESC F ESC CHR Q 10 110 DIM BIT 199 36 A 36 25 129 DIM TEXT 48 PIECETEXT 25 139 MASK 1 128 MASK 4 16 140 MASK 2 64 MASK 5 8 158 MASK 3 32 MASK 6 4 160 LX 29 LY 20 170 LXFAC 199 LX LYFAC 216 LY 189 FOR I TO 48 199 SPACE 79 20 NEXT I 210 GOSUB 1040 220 239 Plot curve 249 RAD 9 250 1 19 Y1 19 270 FOR ANG TO 360 STEP 12 Kaypro Osborne amp Other Computers 239 280 RANG ANG 6 28 369 290 X2 RAD COS RANG 1 Y2 RADXSIN RANG 41g 300 GOSUB 640 31 NEXT ANGZ 320 FOR PIECE 1 TO NUMBER PIECES 338 X1 19 1 19 240 TOTAL PCT TOTAL PCT PCT amp PIECE 250 ANG 360 TOTAL PCTZ 1 360 RANG 0 6 28 360 370 X2 RADXCOS RANG 1Q Y2 RAD SIN RANG 19 380 GOSUB 649 399 GOSUB 879 40g NEXT PIECE 41g 420 Send chart title to printer 440 LPRINT ESC A CHR 6 REVFF 450 LPRI
42. Appendix D TRS 80 Computers All that s required to connect Radix to your TRS 80 is a cable It is available at your Radix dealer Setting the Switches When connecting Radix to a TRS 80 we recommend that you set the DIP switches in Radix as shown below Since you will be using the parallel interface the settings of switch B have no effect Table D 1 Hecommended DIP switch settings for TRS 80 Normal print density 10 CPI pitch U S A Character set 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 214 Radix User s Manual Table D 2 TRS 80 Model I parallel cable Radix TRS 80 Model I Pin No Function Pin No Function STROBE SSS STROBE 01 2 D2 pg D3 De rn D4 b F D5 07 D7 D8 Table D 3 TRS 80 Model parallel cable Radix TRS 80 Model II Pin No Function Pin No Function STROBE STROBE Di D1 D2 SSS SSS SSS D2 D3 D3 D4 SSS D4 D5 05 D6 So D6 D7 eee D7 D8 F D8 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 BASI
43. C and send these codes directly to the printer with the following short routine The varia ble N must be set equal to the code that you wish to pass in our example it s 0 TRS 80 Computers 215 90 N 9 190 IF PEEK 14312 63 THEN 100 11g POKE 14312 N Or you can use this special printer driver that will solve all your problems Just run this program first and then any codes sent by a BASIC program will be sent directly to the printer This program is for the TRS 80 Model III 5 REM DRIVER FOR TRS 89 III 19 AD 16571 20 FOR TO 14 30 READ A POKE AD I A 40 NEXT I 59 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 version for the TRS 80 Model I 5 REM DRIVER FOR THE TRS 80 I 10 AD 16571 20 FOR I g TO 15 30 READ A POKE AD I A 49 NEXT I 59 POKE 16422 187 60 POKE 16423 64 78 DATA 33 232 55 203 126 32 252 33 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 Radix type LLIST This directs the listing to the printer instead of the screen 216 Program Listings Radix User s Manual Download character editing utility 10 Program to allow editing down load characters 20 for the RADIX printer 3g 49 Initialization 45 CLEAR 1000 50 DIM Z 8 12 MM 11 69 5 33 ESC CHR 27 65 PN ESC X CHR 1 PF ESC X CHR 67 NN ESC 4 CHR 1
44. GOSUB 2770 1670 INPUT Enter line space n 144 ths of an inch X 1688 IF X lt OR X 255 THEN 1669 1699 S ESC 3 CHR X GOSUB 2739 RETURN 1700 1719 Subroutine to select EXPANDED print 1720 S ESC CHR 1 1739 GOSUB 2739 1749 RETURN 1759 1760 Subroutine to cancel EXPANDED print 1770 S ESC CHR Q 1780 GOSUB 2730 1799 RETURN 1899 1810 Subroutine to select ITALIC character set 1820 S ESC 4 GOSUB 2739 1839 RETURN 1840 1850 Subroutine to cancel ITALIC character set 1860 S ESC 5 GOSUB 2738 1870 RETURN 1880 1890 Subroutine to set PAGE LENGTH 1980 GOSUB 2778 191g PRINT Page length in Inches or Lines I 22 1929 PRINT TAB TB 1930 A INKEY IF A THEN 1938 1949 IF A I OR A 1 THEN 1970 1950 IF A L OR A 1 THEN 201 1960 GOTO 1930 1970 INPUT Length of page inches 1 32 X 1980 IF X 1 OR X gt 32 THEN 1900 1990 S ESC C CHR g CHR X 2000 GOSUB 2739 RETURN 2010 INPUT Length of page in lines 1 127 X 2020 IF X 1 OR X gt 127 THEN 1999 2020 S ESC CHR X 2040 GOSUB 2730 RETURN TRS 80 Computers 229 2050 2060 Subroutine to set HORIZONTAL TABS 2070 S ESC D MAX 255 GOSUB 2088 RETURN 2080 2090 Subroutine to set tabs either horiz or vert 2100 GOSUB 2779 2110 PRINT Would you like to set the tabs in 2120 PRINT TAB TB
45. 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 mode ACK mode XON XOFF mode Note 19200 baud can be used only with a RS232C interface it cannot be used with a 20mA current loop interface Radix has a DB 25 female connector on the back to connect to a computer The functions of the pins are summarized in Table G 1 Configuring the Serial Interface DIP switch B controls the configuration of the serial interface Switch B is located under Radix s front cover Table G 2 describes the functions of the individual switches in DIP switch B 254 Radix User s Manual Table G 1 Serial interface pin functions Printer s chassis ground OUT This pin carries data from the printer This pin carries data to the printer ES RTS OUT This is ON when the printer is ready to receive data CTS IN This pin is ON when the computer is ready to send data IN This pin is ON when the computer is ready to send data Radix does not check this pin Signal ground DCD IN This pin is ON when the computer is ready to send data TTY TXDR This pin is the return path for data trans mitted from the printer on the 20mA cur rent loop 0 TTY TXD OUT This pin carries data from the printer on the 20mA current loop This is the signal line for the serial busy protocols This pin goes OFF when Radix s buffer fills and ON
46. NT TITLE ON SPACE 29 LEN TITLE 2 469 LPRINT TITLE TITLE OFF 479 LPRINT 480 FOR I 0 TO 48 499 LPRINT TEXT I NEXT I 500 519 Send bit image map to printer 520 LPRINT REVFF VTAB 530 LPRINT LF LF LF LF LF LF 549 FOR ROW 2 TO 35 559 LPRINT 1 3 569 LPRINT ESC CHR 199 CHR 9 570 FOR COL 1 TO 190 580 LPRINT CHR BIT COL ROW NEXT 599 LPRINT 69g PRINT CHR 127 CHR 127 619 NEXT ROW 629 LPRINT ESC 2 FF 630 END 64g 659 Subroutine to draw a line from 1 1 to X2 Y2 66g 670 XL X2 X1 Y2 1 680 NX ABS XLXLXFAC NY ABS YLXLYFAC 699 IF NX NY THEN NY 79g NSZ INT NX 1 710 DX XL NS DY YL NS 720 FOR I 1 TO NS 240 Radix User s Manual 730 X1 X1 DX Yi Y1 DY 749 GOSUB 789 750 NEXT 1 760 PRINT CHR 8 770 RETURN 78g 799 Subroutine to plot a point at X1 Y1 800 818 XX X1 LXFAC Yi LYFAC 820 COL INT XX 1 839 ROWZ INT YY 6 XIT INT YY 6 41 859 BITZ COLZ ROWZ BIT COL ROW OR MASK4 XIT4 868 RETURN 87g 880 Subroutine to arrange field descriptions 890 900 MIDANG ANG PREVANG 2 918 RANG MIDANG 6 28 36 920 INT 24 SIN RANG 5 INT 29 COS RANG 939 24 X3 Y amp 42 949 IF MIDANGZ gt 7 AND MIDANG 110 THEN 999 950 IF MIDANGZ gt
47. PRINT TAB TB 3 Select ITALIC character set 300 PRINT TAB TB 4 Cancel ITALIC character set 319 GOSUB 2659 320 IF S OR S 4 THEN 310 330 IF S THEN RETURN 349 ON S GOSUB 1310 1360 1800 1840 350 GOTO 220 369 379 Subroutine to display PITCHES menu 380 TITLES PITCHES MENU 399 GOSUB 2569 400 PRINT TAB TB Return to main menu 410 PRINT TAB TB 1 Select PICA pitch 420 PRINT TAB TB 2 Select ELITE pitch 439 PRINT TAB TB 3 Select CONDENSED pitch 449 GOSUB 2659 459 IF 5 0 OR 5 3 THEN 44g 460 IF S THEN RETURN 470 ON S GOSUB 839 880 932 480 GOTO 369 49g 590 Subroutine to display PRINTING MODES menu 519 TITLE PRINTING MODES MENU 520 GOSUB 2560 539 PRINT TAB TB Return to main menu 549 PRINT TAB TB 1 Select EXPANDED mode 559 PRINT TAB TB 2 Cancel EXPANDED mode 569 PRINT TAB TB 3 Select EMPHASIZED mode 570 PRINT TAB TB 4 Cancel EMPAHASIZED mode 580 PRINT TAB TB 5 Select DOUBLE STRIKE mode 590 PRINT TAB TB 6 Cancel DOUBLE STRIKE mode 600 GOSUB 2650 610 5 0 OR 526 THEN 699 620 IF S THEN RETURN 630 ON S GOSUB 1700 1750 2400 2440 2480 2520 640 GOTO 490 659 669 Subroutine to display MARGINS TABS amp FORMS menu 679 TITLES MARGINS TABS amp FORMS MENU 680 GOSUB 2560 690 PRINT TAB TB Return to main menu 709 PRINT TAB TB 1 Set HORIZONTAL TABS 710 PRINT TAB TB 2 Set VERTICAL TABS 720 PRINT TAB
48. Paper out detector 6 99 309 Paper out lamp 3 14 Parallel interface 3 249 Pause button 4 Pause lamp 3 5 PeachText 30 Pica pitch 26 32 36 41 42 45 63 261 284 285 Piechart program Apple 202 IBM 151 Kaypro 238 TRS 80 220 Pitch 26 63 261 284 Platen 3 Platen knob 5 185 Plotting 147 Power cord 3 16 Power lamp 3 Power switch 5 Print buffer iv Print head 3 175 Print pitch 26 329 Print style commands 281 Printer covers 3 182 Printer initialization 23 26 36 98 310 Printer setup utility program Apple 206 IBM 163 Kaypro 241 TRS 80 224 Printing a design 144 Printing download characters 119 125 302 Printing speed iii Program listings 215 Program download character editor Apple 198 IBM 130 Kaypro 233 TRS 80 216 Program piechart Apple 202 IBM 151 Kaypro 238 TRS 80 220 Program printer setup utility Apple 206 IBM 163 Kaypro 241 TRS 80 224 Programs listing 54 192 197 215 233 Proportional characters 123 302 Quadruple density graphics 156 305 RAM characters 111 121 Ready lamp 3 Release lever 5 6 8 10 14 Replacing a fuse 175 Reset code 23 26 36 98 310 Return 298 Reverse form feed 83 294 Reverse line feed 76 291 294 Reverse paper 786 83 291 294 Ribbon cartridge 3 11 171 185 ROM characters 111 121 Screws shipping 183 Scripsit 35 Select printer 308 Self test 13 Serial busy protocols 256 Serial interface 3 253 Service 334 Setting margins 84 91 295
49. R S 3 THEN PRINT CHR 7 GOTO 429 449 IF S THEN RETURN 459 ON S GOSUB 819 849 879 460 GOTO 34 470 489 Subroutine to display PRINTING MODES menu 490 TITLE PRINTING MODES MENU 500 GOSUB 2280 510 PRINT TAB TB Return to main menu 520 PRINT TAB TB 1 Select EXPANDED mode 520 PRINT TAB TB 2 Cancel EXPANDED mode 549 PRINT TAB TB 3 Select EMPHASIZED mode 550 PRINT TAB TB 4 Cancel EMPHASIZED mode 560 PRINT TAB TB 5 Select DOUBLE STRIKE mode 570 PRINT TAB TB 6 Cancel DOUBLE STRIKE mode 580 GOSUB 2378 590 IF S Q OR S 6 THEN PRINT CHR 7 GOTO 589 600 IF S Q THEN RETURN 619 ON S GOSUB 1520 1550 2160 2190 2220 2250 629 GOTO 479 638 gt gt Kaypro Osborne amp Other CP M Computers 243 64g Subroutine to display MARGINS TABS amp FORMS menu 650 TITLES MARGINS TABS amp FORMS MENU 669 GOSUB 2289 679 PRINT TAB TB Return to main menu 689 PRINT TAB TB 1 Set HORIZONTAL TABS 699 PRINT TAB TB 2 Set VERTICAL TABS 709 PRINT TAB TB 3 Set LEFT MARGIN 719 PRINT TAB TB 4 Set RIGHT MARGIN 729 PRINT TAB TB 5 Set TOP MARGIN 730 PRINT TAB TB 6 Set BOTTOM MARGIN 749 PRINT TAB TB 7 Cancel TOP amp BOTTOM MARGINS 750 PRINT TAB TB 8 Set PAGE LENGTH 760 GOSUB 2378 770 IF S g OR 8 THEN PRINT CHR 7 GOTO 769 789 IF S THEN RETURN 799 ON S GOSUB 1819g 2129 999 969 1929 1989 1149 1649 800 GOTO 639 81g 820 S
50. REFERENCE Radix User s Manual Cancel uni directional printing ESC U gt 0 27 85 0 1 55 00 This command cancels uni directional print ing and returns to the standard bi directional printing which is considerably faster Chapter 10 Initialize printer ESC 27 64 1 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 ESC command and turning the printer off and back on is that download character RAM and the macro instruction are preserved with this command Chapter 10 Appendix Numeric Order Control code Function 0 Ends tab settings CHR 7 Sounds bell 8 Backspace CHR 9 Horizontal tab CHR 10 Line feed CHR 11 Vertical tab CHR 12 Form feed CHR 13 Carriage return CHR 14 One line expanded print CHR 15 Condensed print 17 On line CHR 18 Pica type CHR 19 Off line CHR 20 Cancels one line expanded print CHR 27 Escape indicated as ESC below CHR 30 Ends macro instruction definition CHR 127 Delete last character Reverse line feed Reverse feed to top of page ESC CHR 14 One line expanded print 5 CHR 15 Condensed print ESC P Use macro ESC
51. TB 3 Set LEFT MARGIN 226 Radix User s Manual ume imi EE 730 PRINT TAB TB 4 Set RIGHT MARGIN 740 PRINT TAB TB 5 Set TOP MARGIN 750 PRINT TAB TB 6 Set BOTTOM MARGIN 769 PRINT TAB TB 7 Cancel AND BOTTOM MARGINS 770 PRINT TAB TB 8 Set PAGE LENGTH 780 GOSUB 2650 790 IF 5 0 OR S58 THEN 789 890 IF S THEN RETURN 818 ON S GOSUB 2050 2360 980 1060 1130 1210 1280 1880 829 GOTO 659 838 849 Subroutine to select PICA pitch 859 S ESCH CHR 1 869 GOSUB 2739 870 RETURN 880 899 Subroutine to select ELITE pitch 99g S ESC B CHR 2 910 GOSUB 2738 928 RETURN 939 949 Subroutine to select CONDENSED pitch 958 S ESC B CHR 3 960 GOSUB 2739 978 RETURN 98g 999 Subroutine to set LEFT MARGIN 1000 GOSUB 2770 1010 INPUT Enter new left margin 1 255 X 1020 IF X 1 OR X gt 255 THEN GOTO 1000 1030 S ESC M CHR X 1040 GOSUB 2739 1050 RETURN 1969 1970 Subroutine to set RIGHT MARGIN 1080 GOSUB 2770 1090 INPUT Enter new right margin 1 255 X 1100 IF X 1 OR X gt 255 THEN GOTO 1080 1110 S ESC Q CHR X 1129 GOSUB 2730 RETURN 1130 114g Subroutine to set TOP MARGIN 1150 GOSUB 2779 1168 INPUT Enter new top margin 1 16 X TRS 80 Computers 227 1170 IF X 1 OR X gt 16 THEN GOTO 1158 1180 5 ESC CHR X 1199 GOSUB 2739 129g RETURN 1210
52. ad characters 113 Hexadecimal 17 315 High resolution graphics 156 Hints for smoother operation 13 Horizontal position commands 298 Horizontal tabs 90 299 300 HT 90 299 IBM Personal Computer 189 Initialize printer 23 26 36 98 310 Ink ribbon cartridge 3 11 171 185 Installation programs 16 Interface iv parallel 3 249 serial 3 253 International characters 104 262 264 275 283 Italics 27 32 36 61 282 Kaypro computers 231 Lamp on line 3 paper out 3 14 pause 3 5 power 3 ready 3 Index Lever bail 6 8 10 Lever release 5 6 8 10 14 LF 76 291 LF button 5 Line feed 76 291 293 Line feed button 5 Line feed commands 291 Line feed reverse 76 291 294 Line spacing 77 261 292 293 Listing programs 54 192 197 215 233 LLIST 54 Loading paper 6 9 Location 181 Lotus 1 2 3 43 LPRINT 54 Macro instruction iv 99 105 305 Maintenance 171 334 Margins left and right 13 91 298 299 top and bottom 84 295 296 Master reset code 23 26 36 98 310 MBASIC 233 Mixing print modes 68 129 143 Near Letter Quality NLQ characters iv 23 26 32 36 41 42 45 60 61 261 283 284 Off line 5 99 307 On line 5 99 308 On line button 5 99 On line lamp 3 One line expanded print 65 286 287 One time tab 91 95 300 Osborne computers 231 Page length 83 260 295 Paper feeding 5 6 9 Paper gap adjusting 12 14 Paper guide 3 9 Paper thickness adjustment 12 14
53. al ASCII hex ASCII REMARKS REFERENCE Print normal density graphics ESC 1 2 1 2 3 27 75 1 2 1 2 3 1 1 2 1 m2 m3 This command selects 60 dots per inch col umn scan bit image graphics mode The val ues of n1 and n2 represent the number of graphics characters to be printed where the total number of characters n2 times 256 n1 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 12 304 PURPOSE CODE decimal ASCII hex ASCIT REMARKS REFERENCE PURPOSE CODE decimal ASCII hex ASCII REMARKS REFERENCE Radix User s Manual Print double density graphics ESC 1 2 1 2 m3 27 76 nin2mi m2 m3 1B 4C 1 2 1 m2 mi This command selects 120 dots per inch col umn scan bit image graphics mode The val ues of n1 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 deter mine which pins are fired for each character Chapter 12 Print double density graphics with double speed ESC y 1 2 1 2 3 27 121 nin2 mi m2 m3 1 79 1 2 1 m2 m3 This command selects 120 dots per inch col umn scan bitimage graphics mode with double speed The values of n1 and n2
54. are the same as in normal density graphics The cor rect 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 12 Function Code Reference 305 PURPOSE CODE decimal ASCII hex ASCII REMARKS REFERENCE Print quadruple density graphics ESC 2 1 2 1 m2 m3 27 122 ni n2 m1 m2 m3 1B 7A 111211112 m3 This command selects 240 dots per inch col umn scan bit image graphics mode The val ues of n1 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 deter mine which pins are fired for each character Chapter 12 Macro Instruction Commands PURPOSE CODE decimal ASCII hex ASCII REMARKS REFERENCE PURPOSE CODE decimal ASCII hex ASCII REMARKS REFERENCE Define macro instruction ESC RS 27 43 30 1 2 Ws 1E This command cancels any existing macro instruction and replaces it with the instruc tion defined The maximum number of char acters allowed in the macro instruction is 16 The lt RS character marks the end of the macro definition Chapter 10 Execute macro instruction ESC se 27 33 1B 21 This command executes a macro instruction that was previously defined Chapter 10 306 Radix User s Manual Other Comma
55. broutine to calculate a column value and print it 1169 MM H 1170 MM H 1180 NEXT 1190 1200 Subroutine to print a column value 1295 PRINT 12 64 H 4 1 1210 PRINT 12 64 H 4 1 RIGHT STR MM H 3 1220 RETURN 1239 1249 Subroutine to remove the cursor 1250 PRINT 0 X 3 64 Y 442 g FOR J 1 TO 7 MM H Z J H 2 J 1 J 1260 IF Z G H THEN PRINT 1278 IF Z G H 1 THEN PRINT SC 1280 RETURN 1290 1300 Subroutine to place the cursor 1319 PRINT 8 X43 644YX442 1329 IF Z G H 1 THEN PRINT 55 1339 IF Z G H Q THEN PRINT CS 1349 RETURN 1359 1368 Subroutine to print current character 1370 GOSUB 2080 1389 LPRINT ASCII eode AS LPRINT 1400 LPRINT REC Download the character 1410 LPRINT CHR 27 TRS 80 Computers 219 1460 LPRINT 1470 LPRINT 1480 LPRINT 1499 LPRINT 1500 LPRINT 1519 LPRINT 1526 LPRINT 1530 LPRINT 1549 LPRINT 1550 LPRINT 1560 LPRINT 1576 LPRING 1573 LPRINT 1574 LPRINT CHR 27 B CHR 3 Condensed NN STRING 21 AS NF CHR 27 B CHR 2 Elite NN STRING 15 AS NF CHR 27 B CHR 1 Pica NN STRING 12 AS NF CHR 27 W CHR 1 Expanded NN STRING 6 AS NF CHR 27 W CHR Q LPRINT CHARACTER SET NORMAL SPACING NN 1575 FOR 1 33 TO 126 LPRINT CHR I NEXT I LPRINT 1576 FOR I 169 TO 254 LPRINT CHR I NEXT I LPRINT 1577 LPRINT 1588 LPRINT 1599 LPRINT 1592 LPRINT
56. by turning DIP switch A 5 off Chapter 8 Change the line spacing to 7 72 inch ESC 1 27 49 1 31 This command sets the actual distance the paper advances or reverses during all subse quent line feeds to 7 72 inch Chapter 8 Change the line spacing to 1 6 inch ESC 27 50 1 32 This command sets the actual distance the paper advances or reverses during all subse quent line feeds to 1 6 inch You can select 1 6 inch line spacing as the power on default by turning DIP switch A 5 on Chapter 8 Function Code Reference 293 PURPOSE CODE decimal ASCII hex ASCII REMARKS REFERENCE PURPOSE CODE decimal ASCID hex ASCII REMARKS REFERENCE PURPOSE CODE decimal ASCII hex ASCII REMARKS REFERENCE Change the line spacing to n 72 inch ESC A n 27 65 n 1B 41 n This command sets the distance the paper ad vances or reverses during all subsequent line feeds to n 72 inch The value of must be be tween 0 and 255 Chapter 8 Change the line spacing to n 144 inch ESC 3 27 51 1 33 This command sets the actual distance the paper advances or reverses during all subse quent line feeds to n 144 inch The value of n must be between 0 and 255 Chapter 8 Send a one time line feed of n 144 inch ESC 27 74 1 4 n This command causes the printer to advance the paper n 144 inch and return the pri
57. ch the characters reprinted and the paper moved back down 1 144 inch Chapter 7 Cancel double strike printing ESC H 27 72 1B 48 This command cancels double strike printing and returns the printer to its previous print style Chapter 7 Select emphasized printing ESC 27 69 1 45 This command causes all subsequent charac ters except NLQ characters to be printed in emphasized print Emphasized print can only be used with pica sized characters or nlarged pica sized characters 10 CPI and 5 CPI and cannot be used with superscripts or subscripts You can select emphasized print ing as the power on default by turning DIP switch A 2 off Chapter 7 PURPOSE CODE decimal ASCII hex ASCII REMARKS REFERENCE PURPOSE CODE decimal ASCII hex ASCII REMARKS REFERENCE PURPOSE CODE decimal ASCID hex ASCII REMARKS REFERENCE Function Code Reference 289 Cancel emphasized printing ESC p 27 70 1B 46 This command cancels emphasized printing and returns the printer to normal printing You can select normal printing as the power on default by turning DIP switch A 2 on Chapter 7 Select underlining ESC e 1 27 45 1 1B 2D 01 This command causes all subsequent charac ters printed to be automatically underlined Spaces are also underlined Chapter 7 Cancel underlining ESC e 0 27 45 0 1B 2D 00 This command cance
58. cs Vertical and horizontal tabs Skip over perforation 15 5 carriage Radix 15 only Radix 10 Radix 15 Single sheets 5 5 8 5 in wide 5 5 14 5 in wide Continuous paper 4 10 in wide 4 15 5 in wide One part forms 0 07 0 10 mm 0 07 0 10 mm Max 3 part forms 0 28 mm max 0 28 mm max Radix 10 Radix 15 Height 117 mm 4 6 117 mm 4 6 in Width 414 mm 16 3 in 556 mm 21 9 in Depth 345 mm 13 6 in 345 mm 13 6 in 9 1 kg 20 1 lb 11 1 kg 24 5 Ib 120 VAC 10 60Hz approx 160W Star Micronics ribbon cartridge Radix 10 480980070 Radix 15 480980080 Sub cassette Radix 10 480900220 Radix 15 480900230 Parallel interface Interface Synchronization Handshaking Logic level Connector Serial interface Interface Bit rate Word length Handshaking Technical Specifications 325 Centronics compatible 7 or 8 bit By externally supplied strobe pulses By ACK or BUSY signals TTL 57 30360 Amphenol Asynchronous RS 232C 20 mA current loop 300 600 1200 2400 4800 9600 19200 baud 1 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 326 Radix User s Manual 1 i Index ACK protocol 256 Adjusting paper gap 12 14 Advance paper 75 291 293 294 296 297 American Standard Code for Information Interchange 17 Apple computers 90 98 102 195 ASCII codes 17 263 315 Attr
59. e RCH 223 11 XON XOFF protocol exo os Toa Tos DTR Pin 20 bi Pin 2 XOFF DC3 XON DC1 ACK protocol DB Data Byte an Figure G 2 Serial protocol timing charts Radix User s Manual LO N Appendix Switch Settings The DIP dual in line package switches control some of the functions of Radix A DIP switch actually contains several indi vidual switches Radix has one DIP switch with 8 individual switches in it one with 10 individual switches and one DIP switch with 4 individual switches Figure H 1 is a drawing of a typical DIP switch Figure H 1 A DIP switch is actually a series of several small switches All three 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 front cover To change the setting of a switch use a ballpoint pen or a similar object The position for a switch is towards the back of the printer 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 Table H 1 summarizes the functions of DIP switches A and C 260 Radix User s Manual DIP switch B controls the serial interface and is covered in Appendix G The individual switches on DIP switch A are called A 1 through A 8 those on switch C are C 1 throu
60. e loca tion of the print head By moving the paper up or down the print head in effect moves the opposite direction down or up on the page Line feed controls PURPOSE Advance the paper one line Line Feed CODE decimal ASCII 10 hex ASCII 0A REMARKS The actual distance advanced by the line feed is set either through the setting of DIP switch 5 or through various codes which can be sent see below When DIP switch C 4 is on a line feed is automatically generated whenever the printer receives a carriage re turn REFERENCE Chapter 8 PURPOSE Reverse the paper one line CODE ESC LF decimal ASCII 27 10 hex ASCII 1B 0 REMARKS This command causes the printer to reverse the paper in effect moving the print head up on the sheet one line The actual distance traveled is set either through the setting of DIP switch A 5 or through various codes which can be sent see below REFERENCE Chapter 8 292 PURPOSE CODE decimal ASCID hex ASCII REMARKS REFERENCE PURPOSE CODE decimal ASCII hex ASCII REMARKS REFERENCE PURPOSE CODE decimal ASCII hex ASCIT REMARKS REFERENCE Radix User s Manual Change the line spacing to 1 8 inch ESC 27 48 1 30 This command sets the distance the paper ad vances or reverses during all subsequent line feeds to 1 8 inch You can select 1 8 inch line spacing as the power on default
61. f 17 characters per inch This command also sets the maximum number of print columns to 136 on the Radix 10 and 233 on the Radix 15 You can select condensed type as the power on default by turning DIP switch A 3 off Chapter 7 Set the print pitch to pica 10 characters inch DC2 18 12 This command is the same as ESC 1 but can be used in applications where a sin gle character command is required Chapter 7 Set the print pitch to condensed 17 charac ters inch SD 15 OF This command is the same as ESC B 3 but can be used in applications where a sin gle character command is required Chapter 7 286 PURPOSE CODE decimal ASCII hex ASCII REMARKS REFERENCE PURPOSE CODE decimal ASCII hex ASCII REMARKS REFERENCE PURPOSE CODE decimal ASCIT hex ASCII REMARKS REFERENCE Radix User s Manual Set the print pitch to condensed 17 charac ters inch ESC SI 27 15 1B OF Same as SI above Chapter 7 Set the printer to expanded print ESC W 1 2 27 87 1 1 57 01 This command causes all subsequent ing except NLQ characters 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 5 CPI Elite 12 CPI 6 CPI Condensed 17 CPI 8 5 CPI Chapter 7 Set the printer to expanded print for the re mainder of the current line
62. gh C 4 Table H 1 DIP switch settings NLQ 1 6 line feed 1 8 line feed International character set selection see Table H 2 x LF must be from host DIP switch A controls the default settings for printing func tions DIP switch C controls the interface Switch Functions Switch Function 1 Switch 1 sets the default page length for Radix If switch A 1 is ON the page length is set to 11 When switch A 1 is OFF the page length is set to 12 This switch is set ON at the factory A 2 This switch selects either normal or emphasized print for the default If this switch is ON then Radix will print normal type when the power is turned on If this switch is OFF then Radix will print empha sized type when the power is turned on This switch is set ON at the factory This switch has no effect if switch A 4 is off DIP Switch Settings 261 Switch A Switch B Switch C Figure H 2 Radix s DIP switches are located under the front cover A 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 4 is off 4 Switch 4 selects the default character style If this switch is ON then the default character style is nor mal characters If this switch is OFF then the default character style is near letter quality If thi
63. ibute byte 118 123 Backspace 99 300 Bail lever 6 8 10 BASIC 17 53 158 192 196 213 233 BEL 98 308 Bell 98 308 Bidirectional printing 100 310 Bit image graphics iv 139 303 Block graphics 102 266 279 Bold print 27 31 34 36 67 BPS Business Graphics 49 BS 99 300 Buffer iv Business graphics 151 Button feed 5 8 FF5 LF 5 on line 5 99 pause 4 Buzzer 98 308 Cancel double strike 67 288 download characters 302 303 emphasized 67 289 expanded print 66 287 italics 61 282 margins 84 296 NLQ 60 284 superscripts and subscripts 63 290 underlining 62 289 Carriage return 76 298 Changing line spacing 77 292 293 page length 83 295 Character graphics 102 266 279 Character style chart 72 Character width 26 63 Chart block graphics characters 104 character style 72 CHR function 17 56 7 98 308 CHRS 8 99 300 CHR 9 90 299 10 76 291 CHR 11 93 296 CHR 12 82 294 13 76 298 CHR 14 65 286 15 64 285 CHR 17 99 308 CHR 18 64 285 CHR 19 99 307 CHR 20 65 287 CHR3 127 99 307 Cleaning 171 Clearing margins 84 Combining print modes 68 129 143 Commands download characters 301 font pitch 284 font style 282 graphics 303 horizontal position 298 line feed 291 print style 281 vertical position 291 Commercial software 16 Compaq computers 189 Condensed pitch 26 32 36 41 42 45 63 261 285 286 Connecting to your c
64. low Odd parity Even parity Data transfer rate see below Du 4 10 Not used DIP Switch C 1 Paper out detector Ignore paper out Serial interface Parallel interface C 2 C3 International character sets Switch USA England Germany Denmark France Sweden Italy Spain Handshaking protocols Protoo Switch B 4 Switch B 5 ON XON XOFF mode Data transfer rates Baud rate Switch B 7 Switch B 8_ _ Switch B 9 5 0 1221 0 v 240 19200 ON Use the setting column to record the way the switches set in your printer
65. ls underlining and re turns the printer to its previous print style Chapter 7 290 PURPOSE CODE decimal ASCII hex ASCID REMARKS REFERENCE PURPOSE CODE decimal ASCII hex ASCII REMARKS REFERENCE PURPOSE CODE decimal ASCII hex ASCII REMARKS REFERENCE Radix User s Manual Select superscripts ESC S 0 27 83 0 1B 53 00 This command causes all subsequent charac ters to be printed as superscripts While in su perscript 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 emphasized print enlarged print or NLQ characters Chapter 7 Select subscripts ESC 5 1 27 83 1 1 53 01 This command causes all subsequent charac ters to be printed as subscripts The same conditions and restrictions apply for sub scripts as do for superscripts Chapter 7 Cancel superscripts and subscripts ESC T 27 84 1B 54 This command cancels either superscript or subscript mode It also cancels the uni direc tional printing and double strike which the mode had set Chapter 7 Function Code Heference 291 Commands to Control Vertical Position of Print Head These commands are used to move the paper relative to th
66. n 10 CPI Print buffer 16 K bytes Paper feed 12 lines second at 1 6 inch line spacing Sprocket or friction feed Printing direction Bidirectional logic seeking Unidirectional in bit image and NLQ modes Character set 96 standard ASCII characters 96 italic characters 96 near letter quality NLQ characters 88 international characters 64 special symbols 32 block graphics characters 189 user defined characters Character size 2 4 mm x 2 0 mm standard 10 CPI characters Character matrix Standard characters 9 dot x 9 dot Block graphics 6 dot x 6 dot User defined 7 dot x 4 to 11 dot Near letter quality 17 dot x 9 dot Bit image modes 7 or 8 dot x 60 dots in 7 or 8 dot x 120 dots in 7 or 8 dot x 240 dots in Line spacing 1 6 1 8 inch or 7 72 inch standard n 72 inch or n 144 inch programmable 324 Radix User s Manual Column width Radix 10 Radix 15 Pica 80 136 Elite 96 163 Condensed 136 233 Pica expanded 40 68 Elite expanded 48 81 Condensed expanded 68 116 Special features 240 CPS white spacing Paper Paper type Thickness Printer Dimensions Weight Power Ribbon Automatic single sheet insertion Near letter quality printing Pause and feed buttons Reverse paper feed Short form tear off Easy access format switches Self test Downloadable characters proportional and standard Dual interface Macro instruction Continuous underlining 7 or 8 bit selectable interface Ultra hi resolution bit image graphi
67. n select the standard character set as the power on de fault by turning DIP switch A 4 on Chapter 7 Select the italic character set ESC 4 27 52 1 34 This command selects the italic character set Chapter 7 Function Code Reference 283 PURPOSE CODE decimal ASCII hex ASCII REMARKS REFERENCE PURPOSE CODE decimal ASCII hex ASCII REMARKS REFERENCE Select an international character set ESC 02793 27 55 1 37 This command causes the printer to select international character set determined by the value of n as shown in the table below n Character set U S A England Germany Denmark France Sweden Italy Spain NO GN Oo You can select a particular international char acter set as a power on default by adjusting the settings of DIP switches A 6 A 7 and A 8 Chapter 10 Select the NLQ Near Letter Quality char acter set ESC B 4 27 66 4 1B 42 4 This command causes all subsequent print ing to be done with the NLQ Near Letter Quality character set This character set can not 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 A 4 off Chapter 7 284 PURPOSE CODE decimal ASCII hex ASCII REMARKS REFERENCE Radix User s Manual Cancel the NLQ character set ESC 5
68. nds PURPOSE CODE decimal ASCII hex ASCII REMARKS REFERENCE PURPOSE CODE decimal ASCID hex ASCII REMARKS REFERENCE Set the value of the eighth data bit to logical 1 ESC 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 access those characters whose ASCII code is greater than 127 This code should not be used to transmit printer control codes Chapter 10 Set the value of the eighth data bit to logical 0 ESC 27 61 1B 3D This command forces the eighth data bit of each subsequent character sent to the printer to logical 0 This code should not be used to transmit printer control codes Chapter 10 Function Code Reference 307 PURPOSE CODE decimal ASCII hex ASCII REMARKS REFERENCE PURPOSE CODE decimal ASCII hex ASCII REMARKS REFERENCE PURPOSE CODE decimal ASCII hex ASCII REMARKS REFERENCE Accept the value of the eighth data bit as is ESC g 27 35 1B 23 This command cancels either setting of the eighth data bit The printer will use the value of the eighth data bit that is sent from the computer This code allows users with a 7 bit interface to resume normal functions after accessing those characters whose ASCII code is greater than 127 Chapter 10 Delete the last charac
69. nt head to the left margin It does not change the current value of the line spacing The value of n must be between 0 and 255 Chapter 8 294 PURPOSE CODE decimal ASCII hex ASCII REMARKS REFERENCE Radix User s Manual Send a one time reverse line feed of n 144 inch ESC ip n 27 106 n 1B 6A n This command causes the printer to reverse the paper n 144 inch and return the print head to the left margin It does not change the current value of the line spacing The value of n must be between 0 and 255 Chapter 8 Form feed controls PURPOSE CODE decimal ASCII hex ASCII REMARKS REFERENCE PURPOSE CODE decimal ASCII hex ASCII REMARKS REFERENCE Advance paper to top of next page Form Feed FF 12 0 The actual length of a page ejected by a form feed is set either by the setting of DIP switch 1 or through various codes which can be sent see below Chapter 8 Reverse the paper to the top of the current page ESC 27 12 1B OC This command causes the printer to reverse the paper to the top of the current printing page or form Chapter 8 Function Code Reference 295 PURPOSE CODE decimal ASCII hex ASCII REMARKS REFERENCE PURPOSE CODE decimal ASCII hex ASCII REMARKS REFERENCE PURPOSE CODE decimal ASCII hex ASCII REMARKS REFERENCE Set page length to n lines ESC
70. omputer 15 188 189 195 213 231 Continuous paper 9 Control characters 315 Control codes 56 Control key 18 Control panel 3 Copying characters to download RAM 121 301 Cord power 3 16 Covers 3 182 CP M computers 231 CR 76 298 DC1 99 308 DC2 64 285 DC3 99 307 DC4 65 287 Defining characters 112 117 123 301 Defining macro instruction 105 305 lt DEL 99 307 328 Radix User s Manual Delete 99 307 Deselect printer 99 307 Detector front cover open 6 182 paper out 6 99 309 DIP switches 6 60 76 77 99 103 253 259 283 284 285 288 289 291 292 294 298 Dot graphics iv 139 303 Dot matrix 110 Double density graphics 156 304 Double strike 32 34 67 288 Download character editing program Apple 198 IBM 130 Kaypro 233 TRS 80 216 Download characters 99 110 140 301 Easywriter II 24 Eighth bit controls 102 306 307 Elite pitch 26 32 36 41 42 45 63 284 Emphasized print 27 32 36 67 260 288 289 Environment 181 Escape code 19 22 35 40 56 ESC 106 305 ESC 102 307 ESC 120 302 ESC CHR n 117 121 301 ESC 106 305 CESC CHR n 62 289 ESC 0 80 292 ESC 1 80 292 ESC 2 78 292 ESC CHR n 79 293 ESC 4 61 282 ESC 5 61 282 ESC 7 CHR n 104 283 ESC 8 99 309 ESC
71. only difference is that MBASIC inter prets CHR 9 and substitutes a group of spaces to simulate a tab You can send a horizontal tab to Radix by using CHR 137 instead of CHR 9 Some versions of Microsoft BASIC will add a carriage return and line feed at the end of every 80 or sometimes 132 characters To print lines longer than 80 or 132 characters as when doing dot graphics you must define a wider printer width The follow ing 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 Program Listings The following programs are in Microsoft BASIC for the Kaypro Download character editing utility 10 Program to allow editing down load characters 20 for the RADIX printer 30 49 Initialization 50 DIM 2 8 12 11 60 WIDTH 255 7Q AS 33 234 Radix User s Manual 80 CS CHR 91 CHR 93 SC STRING 2 159 CR STRING 2 127 9g RAMNML CHR 27 CHR 1 100 RAMNMLOFF CHR 27 CHR Q 119 RAMPRO CHR 27 X CHR 1 129 RAMPROOFF CHR 27 X CHR Q 138 DEF FNL ROW COL CHR 27 CHR ROW 32 CHR COL 32 14g LPRINT CHR 27 WIDTH LPT1 255 159 GOSUB 1669 16g 170 Main loop
72. outine to erase query message 2068 PRINT 814 64 STRING 59 2070 RETURN 2080 2090 Subroutine to build command string 2199 REC ESC w CHR 1 211 REC REC CHR AS CHR DESCX 16 PROWID 2120 FOR I 1 to 11 REC REC CHR MM I NEXT I 2138 RETURN Piechart program 19 Program to print a piechart on the RADIX 15 CLEAR 4000 20 CLS 21 DIRECT TO PRINTER DRIVER FOR TRS 89 MODEL III 22 AD 16571 23 FOR I TO 14 24 READ POKE AD I 25 NEXT I 26 POKE 16422 187 27 POKE 16423 64 28 DATA 33 232 55 293 126 32 252 33 17 8 57 126 211 251 201 29 30 Initialize program constants TRS 80 Computers 221 40 ESC CHR 27 LF CHR 19 50 FF CHR 12 VTAB CHR 11 69 REVFF ESC FF 70 Emphasized amp expanded modes 89 TITLE ESC E ESC W CHR 1 9g NTITLE ESC ESC W CHR Q 119 DIM BIT 199 36 PCT 25 129 DIM TEXT 48 PIECETEXT 25 130 MASK 1 128 MASK 4 16 149 MASK 2 64 MASK 5 8 150 MASK 3 32 MASK 6 4 169 LX 20 LY 29 170 LXFAC 198 LYFAC 216 LY 180 FOR I 0 TO 48 199 TEXT I STRING 79 200 NEXT I 219 GOSUB 1949 215 GOSUB 2000 217 PRINT 864 7 229 239 Plot curve 240 RAD 8 259 X1 19 Y1 10 270 FOR ANG TO 369 STEP 15 289 RNG ANG 6 28 369 299 X2 RAD COS RNG 1 Y2 RAD SIN RNG 19 39g GOSUB 640 310 NEXT ANG
73. r Kaypro Switch Setting Function 11 inch page size Normal print density 10 CPI pitch 1 6 inch line feed A 7 U S A Character set ON ON Paperoutdetectoractive No auto line feed 232 Radix User s Manual When you connect your printer to your Osborne 1 you must use the SETUP program to tell the computer whether Radix is connected to the Osborne 1 s serial or parallel interface either will work Table E 2 Kaypro parallel cable STROBE DATA1 DATA2 DATA2 DATA2 DATA2 DATA2 DATA2 DATA8 BUSY SIG GND STROBE DATA1 DATA2 DATA3 DATA4 DATAS DATA6 DATA7 DATA8 BUSY SIG GND o O Qo ON G C t o 3 Osborne 1 parallel cable DATA1 DATAO DATA5 DATA4 DATA2 n DATA1 DATA6 DATA5 DATAS 2 DATA2 DATAZ r n DATA6 DATS mm DATA3 DATA8 L DATA7 STROBE K STROBE BUSY BUSY SIG GND SIG GND Kaypro Osborne amp Other CP M Computers 233 Using MBASIC Many CP M computers use Microsoft BASIC called MBASIC If you have a CP M 80 computer that uses Microsoft BASIC the program listings given here should work with your computer also MBASIC is a very close relative of the IBM Microsoft BASIC used in this book The
74. r a tab TBS I 1980 IF TBS I lt OR TBS I gt 255 THEN 1938 1990 IF TBS I THEN I 1 GOTO 2939 2000 IF TBS I lt TBS I 1 THEN 1939 2010 I I 1 IF I gt MAX THEN 1939 2020 GOTO 1970 2030 I I 1 2640 S S CHR TBS I TBS I lt THEN 2030 2050 S S CHR GOSUB 2469 RETURN 2060 PRINT PRINT TAB TB INPUT Enter interval X 2070 IF X OR X gt 255 THEN 1930 2080 FOR I 1 TO 255 STEP X 2090 MAX MAX 1 IF MAX THEN 2110 2100 S S CHR I NEXT I 2110 S S 0 GOSUB 2469 RETURN 2120 2130 Subroutine to set VERTICAL TABS 2140 S ESC P MAX 29 GOSUB 1849 2150 RETURN 2169 2170 Subroutine to select EMPHASIZED printing 2189 S ESC E GOSUB 2469 RETURN 2199 2200 Subroutine to cancel EMPHASIZED printing 2210 S ESC F GOSUB 2469 RETURN 2229 2230 Subroutine to select DOUBLE STRIKE printing 224 S ESC G GOSUB 2469 RETURN 2259 2269 Subroutine to cancel DOUBLE STRIKE printing 2270 S ESC H GOSUB 2460 RETURN 2280 2299 Subroutine to print a menu title 2309 PRINT CHR 26 2318 PRINT PRINT PRINT 2329 PRINT TAB 27 RADIX PRINTER SETUP 2339 PRINT 2340 PRINT TAB 8Q LEN TITLE 2 TITLE 2350 PRINT PRINT 2360 RETURN 2370 2380 Subroutine to input menu selection Kaypro Osborne amp Other CP M Computers 247 2290
75. s switch is OFF then switches A 2 and A 3 have no effect This switch is set ON at the factory A 5 This switch sets the default line spacing When this switch is ON the default line spacing is set to 1 6 inch This means that Radix will advance the paper 1 6 inch each time it receives a line feed When this switch is OFF the default line spacing is 1 8 inch This switch is set ON at the factory 262 Radix User s Manual 6 A 8 These three switches determine the default interna tional character set as shown in Table H 2 These switches are all set ON at the factory Table H 2 International character sets C 2 4 This switch disables the paper out sensor 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 sensor and will continue printing This switch is set ON at the factory This switch selects the active interface Turn this switch ON to use the serial interface Turn this switch OFF to use the parallel interface This switch is set OFF at the factory This switch controls the eighth bit of the parallel interface If this switch is ON the printer will only read the first seven bits on the parallel interface and ignores the eighth bit If this switch is OFF all eight bits will be read This switch is set OFF at the factory When this switch is ON Radix will automatically advance the
76. ter Style Charts 274 96 100 104 108 ry 112 116 120 124 97 101 ET 105 109 113 121 125 e a ll Na zi Radix User s Manual 102 103 106 HH 107 110 111 LI GJ 114 115 Kx 118 119 122 123 126 275 Character Style Charts International Characters 35 64 91 9 93 94 Radix User s Manual 276 France lei Denmark us USA i Character Style Charts 277 Special Characters 163 11111 160 161 162 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 180 181 182 183 IT 13 P s 184 185 186 187 148 dE vu ie Duis 1 188 189 190 H 191 a Radix User s Manual 278 Character Style Charts T 5 232 236 240 244 248
77. ter sent DEL 127 7F 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 10 Set printer off line DC3 19 13 This command causes the printer to set itself off line disregarding all subsequent charac ters and function codes with the exception of DC1 which will return the printer to an on line state This is not the same as pushing the ON LINE button When the ON LINE light is out the printer will not respond to DC1 Chapter 10 308 PURPOSE CODE decimal ASCII hex ASCII REMARKS REFERENCE PURPOSE CODE decimal ASCID hex ASCII REMARKS REFERENCE PURPOSE CODE decimal ASCIT hex ASCII REMARKS REFERENCE PURPOSE CODE decimal ASCII hex ASCII REMARKS REFERENCE Radix User s Manual Set printer on line DC1 17 11 This code resets the printer to an on line state thus allowing it receive and process all subse quent 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 DC1 Chapter 10 Sound printer bell BEL 7 07 This command causes the printer tone to sound for approximately one fourth second Chapter 10 Disable the printer bell ESC 0 27 89 0 1 59 00 This
78. ttom margin set by ESC N n Chapter 8 Advance paper to the next vertical tab posi tion VT 11 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 set upon power on at lines 6 12 18 24 30 36 42 48 54 and 60 Chapter 9 Function Code Reference 297 PURPOSE CODE decimal ASCII hex ASCII REMARKS REFERENCE PURPOSE CODE decimal ASCII hex ASCII REMARKS REFERENCE Set vertical tab positions ESC n1 n2 0 27 80 ni n2 n3 0 1B 50 n1 n2 n3 00 This command cancels all current vertical tab positions and sets those defined at lines n1 n2 n3 etc The maximum number of ver tical tab positions allowed is 20 The ASCII 0 character is used as a command terminator Each vertical tab position must be between 1 and 255 and they must be specified in as cending order Chapter 9 Advance the paper n lines ESC 27 97 n 1B 61 n 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 n must be between 1 and 255 Chapter 8 Chapter 9 298 Radix User s Manual Commands to Control Horizontal Position of Print Head PURPOSE CODE decimal ASCII hex ASCII REMARKS REFERENCE PURPOSE CODE decimal
79. turn and a line feed before printing the remainder of the line The value for n must be between 1 and 255 Chapter 9 Move the print head to the next horizontal tab position HT 9 09 This command causes the print head to ad vance to the next horizontal tab position The horizontal tab positions are set at power on to print positions 10 20 30 etc to the maxi mum print position Chapter 9 Set horizontal tab positions ESC D n1 n2 0 27 68 ni n2 0 1B 44 ni n2 n3 00 This command cancels all current horizontal tab positions and sets those defined at print positions n1 n2 n3 etc The maximum num ber of horizontal tab positions allowed is 255 The ASCII 0 character is used as command terminator Each horizontal tab position must be between 1 and 255 and they must be specified in ascending order Chapter 9 300 PURPOSE CODE decimal ASCII hex ASCIT REMARKS REFERENCE PURPOSE CODE decimal ASCII hex ASCII REMARKS REFERENCE Radix User s Manual Skip n print positions ESC b n 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 9 Move the print head back one print position backspace BS 8 08 This command shifts the print head one col umn to the
80. ubroutine to select PICA pitch 830 S ESC B CHR 1 GOSUB 2469 RETURN 84g 858 Subroutine to select ELITE pitch 869 S ESC CHR 2 GOSUB 2469 RETURN 87g 880 Subroutine to select CONDENSED pitch 898 S ESC B CHR 3 GOSUB 246 RETURN 998 919 Subroutine to set LEFT MARGIN 928 GOSUB 2500 939 INPUT Enter new left margin 1 255 X 949 IF X 1 OR X gt 255 THEN PRINT CHR 7 GOTO 929 950 S ESC M CHR X GOSUB 2469 RETURN 96g 979 Subroutine to set right MARGIN 980 GOSUB 2599 999 INPUT Enter new right margin 1 255 X 1000 IF X 1 OR X gt 255 THEN PRINT CHR 7 GOTO 980 1010 S ESC Q CHR X GOSUB 2468 RETURN 1920 1030 Subroutine to set TOP MARGIN 194g GOSUB 2500 1959 INPUT Enter new top margin 1 16 X 1969 IF X 1 OR X 16 THEN PRINT CHR 7 GOTO 1949 1979 S ESC CHR X GOSUB 2469 RETURN 244 Radix User s Manual 1080 1090 Subroutine to set BOTTOM MARGIN 1100 GOSUB 2500 1110 INPUT Enter new bottom margin 1 127 X 1129 IF X 1 OR X 127 THEN PRINT CHR 7 GOTO 1199 1139 S ESC N CHR X GOSUB 2469 RETURN 1140 1159 Subroutine to CANCEL TOP amp BOTTOM MARGINS 1160 S ESC O GOSUB 2469 RETURN 1179 118g Subroutine to select NLQ character set 1199 S ESC B CHR 4 GOSUB 2460 RETURN 1299 1210 Subroutine to cancel NLQ character set
81. utine to cancel DOUBLE STRIKE printing 2549 S ESC H GOSUB 2730 2550 RETURN 2568 2570 Subroutine to print menu title 2588 CLS 2699 PRINT TAB 18 RADIX PRINTER SETUP 2610 PRINT 2620 PRINT TAB 64 LEN TITLE 2 TITLE 2630 PRINT 2640 RETURN 2659 2660 Subroutine to input menu selection 2679 PRINT 969 TB Enter selection hit P for a print out 2680 C INKEY IF C THEN 2680 2685 IF C P OR C p THEN GOSUB 3999 GOTO 2660 2690 IF C lt OR C gt 9 THEN GOTO 2688 2700 S VAL C 2710 PRINT 8969 STRING 63 2720 RETURN 2739 2749 Subroutine to output command string 2759 LPRINT S 2760 RETURN 2770 2780 Subroutine to clear screen amp position cursor 2799 CLS PRINT 803294TB RETURN 3000 FOR I 1 TO 4 FOR J 32 TO 126 LPRINT CHR J NEXT J 2010 FOR J 169 TO 254 LPRINT CHR J NEXT J 3015 LPRINT 3020 NEXT I RETURN Appendix and Other CP M Computers Allthat you need to connect Radix to an Osborne 1 or Kaypro computer is a cable Your Radix dealer can provide the cable that you need Setting the Switches When connecting Radix to an Osborne 1 Kaypro or other CP M computer we recommend that you set the DIP switches in Radix as shown below Although our chart indicates switch C 2 set for a parallel interface a serial interface will work also Table E 1 Recommended DIP switch settings fo
82. when Radix is ready to receive data In the busy proto cols this line carries the same signal as pin 20 i 2 NC Unused 13 jSignagrund j 1416 NC Unused 5 17 TTY TXDR This pin is the return path for data trans mitted from the printer on the 20mA cur rent loop 18 TTY RXDR This pin is the return path for data trans 19 mud to the printer on the 20mA current IN This pin carries data to the printer on the 20mA current loop DTR OUT Radix turns this pin ON when it is ready to receive data D 21 22 This pin is the return path for data trans med to the printer on the 20mA current TXD OUT This pin carries data from the printer on the 20mA current loop RXD This pin carries data to the printer on the 20mA current loop Serial Interface Specifications 255 Table G 2 DIP switch B 2 stop bits 7 data bits Parity checked No parity Handshaking protocols see Table G 3 Odd parity Table G 3 Handshaking protocols SwichBa ACK mode XONIXOFF mode Table G 4 Data transfer rates Switch 8 8 em 4800 2 Z3 Radix s Serial Protocols Radix has four serial protocols selected by DIP switches B 4 and B 5 Figure G 2 shows a typical byte of serial data and Figure G 3 shows timing charts for the 4 protocols

Download Pdf Manuals

image

Related Search

Related Contents

Les jouets et les mutations de la culture enfantine contemporaine  M-Audio Music Mixer User's Manual  Manual del Usuario - Icon Heath & Fitness  Process Orchestrator for .NET Designer`s Guide  SEE4CB Programmer`s Manual  CATALOGUE - QUATTROITALIA  Netgear WG602  alto-ii user manual & installation guide  Guida per l`utente  User Guide - Statement of Family Law Value  

Copyright © All rights reserved.
Failed to retrieve file