background image

Summary of Contents for Radix

Page 1: ...i L L Radix USER S MANUAL NOT INTENDED FOR SALE...

Page 2: ...dio television techni cian for additional suggestions The user may find the following booklet prepared by the Federal Communications Commission helpful How to Identify and Resolve Radio TV Interferenc...

Page 3: ...d like to impress you with these two thoughts 1 In as few words as possible we ll highlight the several spe cial features that Radix offers you and 2 We ll show you how this manual can help you get th...

Page 4: ...densities with varying degrees of resolution or sharpness There s even a quadrupledensity with 240 dots per inch horizontal by 72 dots per inch vertical And you can print double density graphics at do...

Page 5: ...your Radix for a long and carefree life In this manual there are plenty of example programs to dem onstrate and show off all of Radix s features There are even two utility programs included one which...

Page 6: ...vi Radix User s Manual...

Page 7: ...e code 21 The master reset code Using Near Letter Quality NLQ Getting the most from your print choices Using Radix With EasyWriter II Redefining pitch settings and print control codes A sample printou...

Page 8: ...problem codes 47 53 Printing Text With Radix 59 Some Special Rinds of Text Near Letter Quality characters Italic printing Underlining Superscripts and subscripts Changing the Print Pitch Expanded prin...

Page 9: ...cter Download character definition command Printing Download Characters Proportional Characters Defining proportional characters Printing proportional characters Connecting characters Mixing Print Mod...

Page 10: ...B IBM Personal Computer and Compaq 169 Computer Connecting Radix to an IBM Connecting with the parallel interface Connecting to the serial interface BASIC Programming Listing programs Printing Graphic...

Page 11: ...Switch Settings Switch Functions 231 249 253 259 Appendix I Appendix J Appendix K ASCII codes Character Style Charts Function Code Reference Commands to Control Print Style Font style controls Font p...

Page 12: ...xii Rcdix User s Manual Star Service Centers 332 Warranty 333 DIP Switch Quick Reference 334 Command Quick Reference Inside back cover...

Page 13: ...e commands Superscript and subscript commands Print pitch commands Expanded print commands Print emphasis commands Line feed commands Line spacing commands Form feed commands Form length commands Top...

Page 14: ...cable Recommended DIP switch settings for TRS 80 TRS80 Model I parallel cable TRS80 Model II parallel cable Recommended DIP switch settings for Kaypro Kaypro parallel cable Osborne 1 parallel cable Pa...

Page 15: ...it s not just what you know it s what you know how to use So let s start getting acquainted Subjects we ll cover in this chapter include l Components and controls l Paper out and front cover open dete...

Page 16: ...l Rear cover Con431 panel qsk y connect01 Figure l l Front and rear views of Radix M Components and Controls First the components You saw most of these when you unpacked your printer Now we ll give yo...

Page 17: ...es paper to the print head Parallel interface connector Around on the back this is the place where you connect your computer to Radix so that they are able to communicate with each other It s for comp...

Page 18: ...or Groundterminal Power cord conne ctor Tigure 1 2 Front andrear views of Ratiix 15 Pause button Basically this button allows you to change the printer status from printing to not printing or vice ver...

Page 19: ...that it cannot accept data When you turn the power switch on you are automatically on line I Figure l 3 Radix s controls There are other kinds of controls not connected to the control panel board Some...

Page 20: ...button DIP switches Primarily these switches are used in interfacing Radix to your particular brand of computer But there are also switches to set the power on default settings for print style line sp...

Page 21: ...n in Figure I 5 in one of its 3 positions 3 Put the release lever in the set position This step is very important for proper sheet alignment Egure l 4 Use the single sheet guide for loading cut paper...

Page 22: ...iction position This grips the paper securely for proper feeding 6 Make sure that the bail is resting against the platen you should push the bail lever away from the front of the printer Radix will au...

Page 23: ...ld be stacked directly back of the printer either on the same surface if there s room or on the floor Here s the proper sequence for loading 1 Turn off the power and remove the rear cover After you ve...

Page 24: ...sprocket clamp levers towards the rear This unlocks the sprocket wheels to move left and right so you can align them with the holes in the paper 7 Bring the paper up from the back over the wire guide...

Page 25: ...paper 9 Close the bail lever push away from you The top edge of the paper should line up with the cutter edge of the front cover so that printing will start one inch from the top edge Ribbon Installa...

Page 26: ...stment lever towards you will widen the gap pushing it away from you will narrow the gap Figure 1 9 Theadjustment lever allows pralTferent thicknesses OJ paper Five positions are available you can fee...

Page 27: ...er or sprocket paper either one 3 While holding down the LF button turn the power switch on Were you surprised It s speedy isn t it 200 characters a sec ond to be exact when printing normal pica type...

Page 28: ...you should adjust the print head gap to fit the greater paper thickness as explained earlier in this chapter l If paper should jam when loading sprocket paper it s usually because you forgot to put th...

Page 29: ...f Radix s capabilities in the self test Now it s time to do what you bought Radix to do print information from your com puter But first you need to connect Radix to your computer Figure 2 1 shows wher...

Page 30: ...of you purchased Radix to use with commercial soft ware You made a good choice because Radix is compatible with most commercial programs from word processing programs to spreadsheet programs to accoun...

Page 31: ...features with commercial software First some terminology Radix knows what to print because it knows how to interpret the codes that the computer sends to it These codes are numbers that the computer...

Page 32: ...set of codes the character or name of the code the decimal ASCII value the hexadecimal ASCII value and the control value For example the code that causes Radix to advance the paper one line is ASCII 1...

Page 33: ...er to recognize when we use it A typical escape code sequence starts with ESC which is followed by one or more codes As an example the escape code sequence to turn on italic print is ESC 4 We lllearn...

Page 34: ...20 Radix User s Manual...

Page 35: ...Radix can do much more than that As a result most word processing programs provide a way of sending special codes to a printer The actual codes used as well as the method of entering them can be diff...

Page 36: ...ich user defined codes are used as recognition characters to select and cancel print functions Your word processing User Manual if it supports this proc ess will have a section describing how to get o...

Page 37: ...in any document where you use function codes If you do not the printer will keep the characteristics most recently defined and print any following documents the same way You could turn Radix off each...

Page 38: ...wn work while it is still fresh in your mind If you are unsure of any functions review them first then try some of your own samples Using Radix with Easywriter II Note If you have not read the General...

Page 39: ...ogram For more details on ASCII codes please refer to Chapter 2 Your Radix printer is considered a Type B printer by the Easy writer II program Before making any changes in the printer driver you shou...

Page 40: ...olumn labeled Sequence is used to define the print functions in their ASCII decimal values For these print pitches we will use a combination of codes to turn near letter quality print on and off and t...

Page 41: ...Character O 44 Overstrike Support 21 UsingCharacter from 45 Special Color Support 2j SystemParameters 46 Sub Superscript Support 2j 47 Willunderline retainfont Y or be normalfont N 49 Startdouble unde...

Page 42: ...one You will be transferred out of the Reconfigure Type B Printer function and back to the System Functions Menu A sample printout with Easywriter II Let s look at a short example to demonstrate how p...

Page 43: ...B Please process this order as soon as possible T h an I ycl The subject title will print in expanded condensed characters which are twice the width as standard condensed characters The sentence in t...

Page 44: ...not read the General Concepts section at the beginning of this chapter you should do so before continuing Radix can be used with PeachText for a wide range of different print functions Radix automatic...

Page 45: ...statement is 1 OUT27 71 27 69 1 where 27 71 selects double strike print and 27 69 selects empha sized print When you enter these codes in your document they will appear on the display screen but they...

Page 46: ...ents Table 3 2 PeachText print jknctions Note A carriage return will automatically turn off single lineexpanded text Underlining with Radix There are two different ways to underline text The easiest w...

Page 47: ...OUT27 52 selects italic print the second code 1 OUT27 531 cancels it In the paragraph of the example the first function code combines italic with underline print The decimal values 27 52 select italic...

Page 48: ...cters as well as use print pause 4 Select and print variable information for merge letters etc Userdejhd print commands There are several CONTROL P P commands that automati cally work with Radix and r...

Page 49: ...e DIP switch settings That could be an awkward time consum ing task Instead we recommend the User Print Code Facility to define several recognition characters and control your print functions With the...

Page 50: ...5 27 66 3 condensed 0 27 66 4 __ near lettr 0 27 71 27 69 bold on 27 7227 70 bold off 0 2769 emphasz on 27 70 emphas off 2745 1 under on Press ENTER to edit next screen 27 45 0 under off 0 2752 italic...

Page 51: ...s look at a short example to demonstrate how pitch set tings and print control keys can be used in a document The exam ple below shows the use of boldface and italic prints used in combination with p...

Page 52: ...and end of each line to turn underlining on and off Redefining your own print codes If you want to define a new print pitch be sure to start the sequence with the code 27 66 5 This code tells the pri...

Page 53: ...capabilities match the requirements for printing spreadsheets It can print large spreadsheets fast and it can also print good looking final reports with the Near Letter Quality NLQ character set Wewil...

Page 54: ...e cell to the upper left cell of each area before you print it You also must use the printer controls to advance the paper to the next page so that you don t print over the perforations on sprocket fe...

Page 55: ...able 42 Print cohmns on a page with VisiCalc Pica Elite Pitch Radix 10 Radix 15 setup codes 80 136 EB CA 96 163 EB CB 1Condensed 1136 1233 I EB CC Pica Expanded 40 68 EB CA EW Ct Elite Expanded 48 81...

Page 56: ...to tell SuperCalc how many character columns that you want to print on each page Note that we are now talking about character columns and not spreadsheet col umns The Outputcommand has a Setup option...

Page 57: ...choices Lotus l 2 3 gives you a lot of flexibility in printing spreadsheets through this menu but the only thing you have to do is to define a range to print All the other items have default values t...

Page 58: ...bers on each page by including the character where you want the page number to print For example Page The current date will be printed if you include the charac ter in a header or footer For example A...

Page 59: ...how many character columns will fit with different print ing widths and the setup string to get each width Table 4 4 Print cohnns on a wge with Lotus l 2 3 Pica Elite Pitch Radix 10 Radix 15 Setup cod...

Page 60: ...46 Radix User s Manual...

Page 61: ...programs because of its advanced graphics capabilities We will look at two graphics programs in some detail If you have a different graphics pro gram then hopefully you can use some of the concepts i...

Page 62: ...gs on this screen but we need only concern ourselves with a few GRAPHICS AND DEVICE OPTIONS Appearance Features For graphics printers Grldc N Re5OlUtlO D Axes Y TIC1 5 Y For pen plotters GraDh 80X N N...

Page 63: ...Now you are ready to print a graph Create a graph using the View command and when it is in the form that you like press the F9 key to print the graph on Radix By using the Global Graphics Fonts comma...

Page 64: ...uality of the printed graph is to use the DET DEVICE CONSOLE HIBW command This com mand tells the program that you have a high resolution monitor BPS Business Graphics then plots in its highest qualit...

Page 65: ...Using Radix With Graphics Programs 51 Table 5 l Rounding factors for console modes Console Mode Rounding COLOR 1 21 1 21 ITV 0 61 I 1 2 43 1 1 21...

Page 66: ...52 Radix User s Manual...

Page 67: ...from BASIC and though it has its detractors BASIC is the nearest thing to a universal language among users of personal computers But remember that it s not the only way to communicate with Radix as w...

Page 68: ...en this and your computer s BASIC manual you will be able to stay with us First on our list is Microsoft BASIC s way of communicating with the printer They just add an L to the beginning of the LIST a...

Page 69: ...Radix Now we are ready to jump into the world of programming with Radix But first there are a few fundamentals that we need to cover Establishing communications We ve learned something about communica...

Page 70: ...than printing a character Let s try an easy one right now NEW 10 LPRINTCHR 7 RUN Where did that noise come from That s Radix s bell We will learn more about it in Chapter 10 We just wanted to illustra...

Page 71: ...ke this 10 LPRINTCHR 27 4 That s just another form of the same ASCII code and it s all the same to Radix Here s another shortcut for BASIC programmers since ESC is used so often assign it to a variabl...

Page 72: ...turn CHR lO a line feed into a CHR lS a carriage return before sending it on Some other problem codes are 0 7 and 9 through 13 Once again we refer you to the appendix about your computer where some m...

Page 73: ...over l Near letter quality characters l Italics l Underlining l Superscript and subscripts l Print pitch l Print emphasis All our examples will be given in Microsoft BASIC as used by the IBM Personal...

Page 74: ...ity characters Radix s Near Letter Quality sometimes abbreviated as NLQ character set is ideal for correspondence and other important printing for it takes a keen eye to detect that it is from a dot m...

Page 75: ...command codes to turn italic on and off are shown in Table 7 2 Function Italic ON Italic OFF Table 7 2 Italic commands Control code ESC 4 ESC 5 Use this program to see italic characters 18 Demoitalica...

Page 76: ...little wrinkle in this program though It all printed on one line The semicolons at the end of the first three lines told BASIC that those lines were to be continued Therefore BASIC didn t send a carri...

Page 77: ...lsubscripts 100 LPRINT on one line Loul Puperrcriptr mL brcriptr on cme line Here line 30 turns on superscripts with ESC S CHR O It s turned off in line 50 with ESC T Then between printing text subscr...

Page 78: ...60 LPRINTCHR 27 lrBlr CHR l Selectpica pitch 70 LPRINT Thisline is PICA pitch normal When you run this program you should get this This lineis CONDENSED pitch This line is ELITE pitch This lirre is P...

Page 79: ...CzrREZK3 mod GG autamatically turns c3 f f at end of a I ine Expanded print set with CHR 14 is automatically canceled at the end of the line This is convenient in many applications such as for one lin...

Page 80: ...r this program to see how the print pitches and expanded print can be combined 10 Demopitchesin combination with expandedmode 20 LPRINTCHR 27 W CHR l Permanent expanded mode on 3P LPRINTCHR 27 trBtr C...

Page 81: ...hods to darken the char acters Let s try them and see what the difference is The following table shows the control codes for getting into and out of double strike and emphasized modes Table 7 7 Print...

Page 82: ...the right the second time Radix prints The last line combined both of these so that each character was printed 4 times Nowthat s pretty nice printing isn t it Mixing Modes We have learned how to use...

Page 83: ...SUPERSCRIPT CHR 27 S CHR 210 SUBSCRIPT CHFi 27 S CHR l 220 NOT SCRIPTED CHR 27 T 230 RE ET ALL NOT EMPHASIZED NOT UNDERLINED NOT DOUBLE STRIKE 240 RESET ALL RESET ALL ROMAN PICA NOT EXPANDED NOT NLQ 2...

Page 84: ...AN LPRINTNOT UNDERLINED LPRINTNOT EXPANDED j 650 Produce a line in four differentpitches 660 IF EXPANDEDTHEN 720 670 IF ITALICSTHEN LPRINT GOT0 720 680 IF DS OR EMPTHEN LPRINT GOT0 720 690 LPRINTNLQ N...

Page 85: ...FOUR DOT 910 IF EMPHASIZED FALSETHEN LPRINT ABcd GOTO970 920 IF PICA FALSETHEN LPRINTFOUR DOT GOTO940 930 LPRINTEMPHASIZED ABcd j 940 IF EXPANDED TRUE THEN LPRINT ELSE LPRINTBLANK 950 RETURN 960 970 H...

Page 86: ...cd rr AEcd YY ABcdX vy CIBcd AEcd f Bcd RBcd ABcdX vv ARcdxXvv ABcd rc Z3cd ABcd I REcd r ABcdX vv ABcdxXvv RBcd c Z3cct ARcd DOUBLE STH I KE B EMPHFlSI ZED I ABcd CIBcd Summary Control code ESC B CHR...

Page 87: ...SC W CHR l ESC W CHR O ESC G ESC H ESC E ESC F Subscript on Super 81subscript off Sets pica pitch Sets elite pitch Sets condensed pitch Sets pica pitch Sets condensed pitch One line expanded One line...

Page 88: ...Radix User s Manual...

Page 89: ...ked at how to position the printing on the page In this chapter we will learn how to l Change the vertical spacing l Change the length of the page l Set top and bottom margins Starting New Lines Up un...

Page 90: ...d If your version of BASIC doesn t do this then you shouldturn DIP switch C 4on so that Radix will add the line feed for you When you have DIP switch C 4 on the printer will do the same thing when it...

Page 91: ...FOR I 1 TO 25 40 Setline spacing 50 PRINT l CHR 27 A CHR I j 60 LPRINT ADIX line spacingset 70 NEXT I to u I 80 LPRINT Linespacingis set to 90 Setline spacingto l 6 inch 100 LPRINTCHR 27 2 110 CLOSE l...

Page 92: ...ng command There s a good reason the RADIX line spacing set to 11 RADIX line spacing set to 12 RADIX line spacing set to 13 RADIX line spacing set to 14 RADIX line spacing set to 15 RADIX line spacing...

Page 93: ...6 inch nor ma1 The program works just the same as before but the line spac ings are just half what they were This is because ESC 3 CHR n sets the line spacing to n 144inch Table 82 shows all the line...

Page 94: ...HI 97 for j and a reqkktively 5 LPRINTCHR 27 J CHR la 6pl LPRINT Linenumber3 7 LPRINT Linenumber4 Here is what Radix will produce Line number 1 Line number 2 _ Line number 3 Line number 4 The ESC J CH...

Page 95: ...mally this is what you want Sometimes though you may wish to move down the page with out moving the printhead back to the left margin The ESC a CHR n command does just that This command advances the p...

Page 96: ...s the printer to move the paper to the top of the next sheet Try it by changing lines 40 and 50 to this _ 40 Formfeed 50 LPRINTCHR 12 Before you run the program turn your printer off and adjust the pa...

Page 97: ...irst column then reverse form feed back to the top of the page to start the second column The code for reverse form feed is easy to remember ESC FF Table 83 Form feed commands Function ASCII code Adva...

Page 98: ...se a printer don t keep track of where they are printing on the page This causes a problem when you get to the bottom of a page because these programs just keep on print ing right over the perforation...

Page 99: ...ions When it s done line 60 sends a form feed to advance the paper to the top of the next page Look at the lines that have printed near the perforations Separate the sheets and see if any of the lines...

Page 100: ...SC CHR lO CHR 13 ESC A CHR ESC 3 CHR n ESC 0 ESC 1 ESC 2 Function Line feed Reverse line feed Carriage return Set line spacing to n 72inch Set line spacing to n l44 inch Set line Spacing to l Sinch Se...

Page 101: ...SC R CHR n ESC N CHR n ESC 0 One time line feed of n 144inch One time reverse line feed of n 144inch Advance the paper n lines Form feed Reverse form feed Set page length to n lines Set page length to...

Page 102: ...88 Radix User s Manual...

Page 103: ...t on a page Radix also has tabs and margins that you can set But it goes beyond the capa bilities of a typewriter because besides having tabs that go across the page called horizontal tabs Radix has v...

Page 104: ...CHR S is a problem with some computers Some BASICS convert CHR S to a group of spaces that act like a sort of pseudo tab This is fine if the computer and the printer have the same tab settings but it...

Page 105: ...nge If for example the tabs are set every eight spaces when you change pitch they will still be set every eight spaces but the spaces will be a different width A one shot tab command Suppose you need...

Page 106: ...thing that this program does is to branch to the sub routine that starts in line 70 This subroutine prints 80 X s in a row The first time that the subroutine is used all the X s fit in one line Then...

Page 107: ...that horizontal tabs do they just work in the other direction Horizontal tabs allow you to reach a specific column on the page no matter where you start from Vertical tabs are the same If you have a v...

Page 108: ...to the next vertical tab The printout is shown below Add one more line to the program to demonstrate one more feature of vertical tabs 60 LPRINTCHR ll Fifthtab Now when you run the program the first...

Page 109: ...ntrol code 1Advance naner to next I I tab position CHR ll Set vertical tabs at nl n2 etc ESC P CHR nl CHR n2 CHR O Advance paper n lines ESC a CHR n Note If your computer does not support lowercase ch...

Page 110: ...96 Radix User s Manual...

Page 111: ...ol codes In this chapter we will look at more con trol codes These codes don t fit neatly into any of the groupings that we have studied but they add a lot of capability to Radix So here goes Commands...

Page 112: ...call the beeper a bell even if it doesn t sound like one So with our trivia lesson out of the way let s see how we can ring the bell The code to sound Radix s bell is CHR 7 which is ASCII code 7 or BE...

Page 113: ...ng that you send it except for the code to go on line again CHR lS is the code to turn Radix off line CHR 17 returns Radix to on line status Printing to the bottom of the sheet Sometimes when you are...

Page 114: ...I work 50 LPRINT Deletedoes not 60 LPRINTCHR 127 U 03 127 CHR 127 Three deletes 70 LPRINT work Here is what this program will print Baci space does RE wnrk Del ete dcjes wor I The backspace codes in l...

Page 115: ...m to see the difference that printing in one direction makes lp Demounidirectional printing 2pl LPRINTCHR 27 A CHR 7 Linespacing 7 72 30 FOR I 1 TO 10 40 LPRINT I 50 NEXT I 60 LPRINT LPRINT 70 LPRINTC...

Page 116: ...block graphics characters and special symbols if Star s engineers hadn t thought of a solution All of these characters have ASCII codes greater than 127 which means that the eighth bit must be on to u...

Page 117: ...these strange characters used Here is a short program that demonstrates how the graphics characters can be combined to create figures 10 Drawsa figurewith block graphicchars 20 LPRINTCRR 27 A CRR 6 S...

Page 118: ...r for it can speak in eight lan guages Radix changes languages by changing 11 characters that are different for the different languages These sets of characters Table l 5 International chamcter set co...

Page 119: ...International character sets Country 1 35 1 64 1 91 1 92 1 93 1 94 1 96 I123 1124 1125 1126 14t11111 I U S A The macro control code The last of our group of miscellaneous control codes is defini tely...

Page 120: ...ks we can build a macro that will reset the printing style to normal no matter what style it may be to start with The following program will define a macro to do this 18 Definesa macro that will reset...

Page 121: ...ifferent commands that have many different uses In the next chapter we will make up for this diversity the whole chapter only covers three com mands But they are some of the most powerful that Radix o...

Page 122: ...Radix User sManual...

Page 123: ...faces By using various combinations of pitches character weights and font selections you can create nearly any effect you want to in text And with international character sets and the spe cial text an...

Page 124: ...s I I 4 _ Figure 11 l The letter C is created by printing 15dots The printhead in Radix consists of nine thin wires stacked one atop the other Figure 11 2 shows an enlarged schematic view of the front...

Page 125: ...acters that you design and downloadinto Radix When download characters are definedthey are stored in RAM random access memory which allows you to define or modify them at any time Each ofthese charact...

Page 126: ...begin ning of each chapter in this manual You ll notice that Figure 11 4 includes a lot of information around the grid Don t be intimidated we ll explain each item as we come to it in our discussion o...

Page 127: ...ts write in a one In our example we ll want the bottom of the bullet to line up with the baseline of the other characters so it will not be a descender As shown in Figure 11 5 we ve written in a 0 on...

Page 128: ...n r m m 64 e Total Figure 11 5 We ve designed a character and decided that it would not be a descen dei hence the o written in m m2m3n bm n bm m m m m Total WRONG 10 J J Figure 11 6 Dots cannot overla...

Page 129: ...will be a number in the range of 0 to 127 Each number from O 127 represents a unique combination of dots So add up the values of the dots in each column using this system This way it takes one number...

Page 130: ...o banks of characters that can be defined values from 33 to 126 and 160 to 254 This means that once a character is defined and assigned a value and the download character set is selected you can use t...

Page 131: ...eplace Radix s zero ASCII 48 And since some people prefer the lb abbreviation for pound we ve replaced Radix s symbol ASCII 35 with a lb The information on the grids is now complete except for proport...

Page 132: ...for our bullet character Since the descender data is 0 the value of the byte is equal to the value of the proportional data 11 By now you ve probably seen an easier way to deter mine the value of the...

Page 133: ...ads 4g PRINT l CHR 27 CHR l Beginchar download 59 READNl N2 69 PRINT l Nl CHR N2 Sendchar code and attribute 79 FOR M 1 TO 11 Send11 bytes of downloadper char 8 READ D 99 PRINT l CHR D 199 NEXT M lla...

Page 134: ...out Enter this command LPRINTCHR 27 W l O Voila It should have printed out the three characters we defined Your printout should look like this If it doesn t check the last program we ran for errors t...

Page 135: ...use mostly standard characters with just a few special characters thrown in This command copies all the characters from the standard character ROM into download RAM c_ ESC lr ll CHR Since it will copy...

Page 136: ...problem to define characters in BASIC or another language and use them with a word processor or other applica tion Note that we didn t have to reenter the download characters since they were already s...

Page 137: ...l discussion of download character definition part of the attribute byte is for pro portional width data We skipped over that with the promise of describing it later Well now is the time Dejining prop...

Page 138: ...RAM set proportional spacing 270 LPRINTCHR 27 X CHR l 280 LPRINT11 Mississippi 290 CancelRAM set proportional spacing 300 LPRINTmm 27 rfxff ems 0 310 LPRINT RAM char set proportional spacing 320 Em 33...

Page 139: ...s wide Printing proportiond characters Printing with proportional download characters is much like using normal width download characters one command is used to select the download set or the standard...

Page 140: ...01FF I 1 ESC CHR O Proportional download characters ON I 1 ESC X CHR l Prcmortional download characters OFF 1 ESC X CHR O Connecting characters As we noted earlier it s possible to connect proportion...

Page 141: ...from 160 to 169 the upper right quadrant to codes 170 to 179 and so on Figure 11 15 shows how one digit is defined and Figure 11 16 shows the final output of our program Figure 11 15 Each digit is mad...

Page 142: ...RAM 350 LPRINTCHR 27 2 I l 6 line spacing normal 360 ZERO 370 DATA 11 0 96 16 104 16 44 30 14 0 2 1 380 DATA 11 2 1 2 1 6 8 38 88 32 88 32 390 DATA 11 3 12 19 12 51 0 96 0 96 0 96 400 DATA 11 0 32 0...

Page 143: ...30 1 1 0 710 SEVEN 720 DATA 11 0 16 8 6 8 6 8 6 8 6 8 730 DATA 9 70 8 102 8 54 8 6 0 2 0 0 740 DATA 11 0 6 0 96 0 1 0 0 1 0 30 1 750 DATA 9 6 1 0 0 0 090I0 0 090 760 EIGHT 770 DATA11 0 0 0 0 24 36 2 1...

Page 144: ...y proficient at designing download characters And even the addition is getting easier But this is a good computer applica tion computer Aided Design CAD for download characters The program below allow...

Page 145: ...takes the character that is currently on the screen and prints it in condensed elite pica expanded pica and proportional widths so you can see how it looks In addition it prints the complete characte...

Page 146: ...the row of asterisks above the grid The maximum width is 11 columns Narrower Use the key to decrease the proportional width The minimum width is four columns D Descender This command toggles the desc...

Page 147: ...370 Up 340 IF B CHR 82 THEN GOSUB990 GOTO370 Insert I E CHR 83 THEN GOSUB 1830 GOTO370 Delete 370 GOT0 170 380 COLOR 7 0 CLS 390 CLOSE 1 2 400 RETURN 410 420 Subroutineto paint screen 430 CLS 440 GOSU...

Page 148: ...ins place a dot 840 LOCATE13 45 PRINT de1 removea dot 850 LOCATE14 47 PRINT make characterwider 860 LOCATE15 47 PRINT I make characternarrower 870 LOCATE16 47 PRINT D Toggledescendermode 880 RETURN 8...

Page 149: ...19 7 H 3 PRINTRIGHT STR m H 3 123b RETURN 1240 1250 Subroutine to removethe cursor 1260 LOCATEX 4 Y l 1270 IF Z G H 0 THEN PRINT 1280 IF Z G H 1 THEN COLOR7 pl PRINTSC 1290 RETURN 1300 1310 Subroutine...

Page 150: ...LPRINTCHR I NEXT LPRINT 1640 FOR I 160TO 254 LPRINTCHR I NEXT LPRINT 1650 LPRINTRAMPROOFF 1660 LPRINT LPRINT LPRINT 1670 LPRINT Usethis data statementto downloadthis character 1680 GOSUB 2050 LPRINT...

Page 151: ...NTsTRING 70 1 j 2040 RETURN 2050 2060 Subroutine to build commandstring 2070 REC CHR 27 CHR l 2080 REC REC CHR AS CHR DESC l6 PROWID 2090 FOR I 1 TO 11 REC REC CHR MM I NEXT I 2100 RETURN Summary Cont...

Page 152: ...138 Radix User s Manual...

Page 153: ...to a form of computer graphics you were able to actually define characters dotby dot In this chapter you ll learn to use the same principles to make Radix print whole pages of dot graphics We ll show...

Page 154: ...of interface your computer has check the appendix for your computer So when do you use graphics and when do you use download characters Practically anything you can do with graphics you can do with d...

Page 155: ...an send in one byte that s what the BASIC CHR function sends one byte is 255 And with normal density graphics it s pos sible to have a graphics image as wide as 480 dots on Radix 10 or 816 dots on Rad...

Page 156: ...pins to fire is done in the same way to fire the second pin from the top for instance send a CHR 64 Firing several pins at once is done in a similar fashion For example to print the first third and fo...

Page 157: ...al concepts such as sine and pi demonstrated here are not important you don t have to be a math whiz to use Radix s graphics Combining text and gmphics It s also possible to mix text and graphics in o...

Page 158: ...bit interface of dots with each pass of the print head draw a heavy horizontal line every eight rows on your graph paper And it may be helpful to write the dot values 128 64 32 etc down the left side...

Page 159: ...8 30 Set line spacing to l 6 40 LINE 12 CHR 27 CHR 50 50 Selectdot graphics 60 GRAPHIC CHR 27 CHR 75 70 DIM LOG0 4 80 WIDTH LPT1 255 90 1 READ DATA 100 FOR ROW 1 TO 4 110 FOR COLUMN 1 TO 100 120 READ...

Page 160: ...143 15 430 DATA 7 7 7 7 3 3 3 131 193 241 440 DATA 240 240 0 0 0 0 0 0 0 0 450 ROW 3 460 DATA 0 31 31 3 129 128 192 192 192 192 470 DATA 192 224 224 224 224 240 255 255 255 255 480 DATA 255 127 0 0 0...

Page 161: ...is is to set up an array in memory This is your graph paper The first thing to do is to determine how big you want your output to be this will determine the size of your array If you have grandiose pl...

Page 162: ...TO MAXCOL 210 A A CHR BIT COL ROW 220 NEXT COLI 230 LPRINT A 240 NEXT ROW 250 LPRINT CHR 27 2 260 END 270 280 Subroutineto draw a line from Xl Yl to X2 Y2 290 300 XL x2 xl YL Y2 Yl 310 NX AB L LXFA NY...

Page 163: ...ray MASK con tains the values of the dots In order to make this program run on the most computers we re using only six pins for graphics With many computers you can use all eight available pins In lin...

Page 164: ...dot is turned on is using the logical OR function in line 470 When all the points have been plotted in memory printing begins at line 150 We first set the line spacing to 6 72 inch using the ESC A co...

Page 165: ...x for business gmphics You don t have to be a mathematician scientist or computer hacker artist to use Radix s graphics capabilities It can be used for business graphics too line graphs bar charts pie...

Page 166: ...Y 20 170 LXFAC 19pI LX LYFAC 216 LY 180 FOR I plTO 48 190 TEXT I SPACE 79 2 J NEXT I 210 GOSUB 1040 220 230 1 Plot curve 240 RAD 9 250 Xl 19 Yl 10 270 FOR ANG 0 TO 360 STEP 12 280 RANG ANG 6 28 360 29...

Page 167: ...6 610 NEXT ROW 620 LPRINTES 2 FF 630 Em 640 650 Subroutine to draw a line fromX1 Yl to X2 Y2 660 670 XL X2 Xl YL Y2 Yl 680 NX ABS XL LXFAC NY ABS YL LYFAC 690 IFNX NY THEN NX NY 700 NS INT NX l 710 DX...

Page 168: ...data 1060 1070 CLS PRINT PRINT PRINT 1080 INPUT ENTERTITLE FOR CHART TITLE 1090 IF LEN TITLE 40 THEN 1110 1100 PRINT TITLETOO LONG 40 CHAR MAX GOT0 1080 1110 AMT SOFAR AMT LEFT l J 1120 FOR I 1 TO 24...

Page 169: ...framework to include routines for inputting data to be graphed and placing labels next to the pie chart We ve used a feature of Radix to simplify pro gramming and speed up the program a reverse form f...

Page 170: ...density command The number of columns to be printed is nl 256m2 So what do these different modes do On the following pages are actual size reproductions of printouts of the same image printed in each...

Page 171: ...Printing WithDotGraphics 157 Double density double speed Y __ Quadruple density graphics...

Page 172: ...s much computing time and twice as much printing time but the results may be worth it Star s engineers have given programmers a unique shortcut for program development though double density double spe...

Page 173: ...not use the bottom dot which has a value of 1 This way you will never produce an odd number hence you will never have a CHR 13 or CHR S This is why we used only six pins in our plotting program That s...

Page 174: ...Radix User s Manual...

Page 175: ...sing the utility program in Chapter 11 Now as your reward as if the knowledge of how to use all these features wasn t enough for reading this entire manual we have one more utility program for you Wit...

Page 176: ......

Page 177: ...ctPITCH 140 PRINT TAB TB 4 SelectLINE SPACING 150 PRINT TAB TB 5 Set MARGINS TABS FORMS 160 GOSUB2380 170 IF S pl OR S 5 THEN BEEP GOT0 160 180 IF S 0 THEN CLOSE l CLS END 190 ON S GOSUB210 480 350 12...

Page 178: ...TAB TB 5 SelectDOUBLE STRIKE mode 580 PRINT TAB TB 6 CancelDOUBLE STRIKE mode 590 GOSUB 2380 600 IF S 0 OR S 6 THEN BEEP GOT0 590 61 a IF S p THEN RETURN 620 ON S GOSUB 1530 1560 2170 2200 2230 2260...

Page 179: ...rightmargin l 255 X 1010 IF X 1 OR X 255 THEN BEEP GOT0 990 1020 S ESC Q CRR X GOSUB2460 RETURN 1030 1040 Subroutine to set TOP MARGIN 1050 GOSUB 2500 1060 INPUT Enternew top margin l 16 X 1070 IF X 1...

Page 180: ...N 1410 1420 Subroutine to selectl 8 inch line spacing 1430 S ESC 0 GOSUB2460 RETURN 1440 1450 Subroutine to select7 dot graphicsspacing 1460 S ESC 1 GOSUB2460 RETURN 1470 1480 Subroutine to selectn 14...

Page 181: ...orieor vert 1870 GOSUB 2500 1880 PRINT f Would you like to set the tabs in 1890 PRINTTAB TB Regularintervals or specify 1900 PRINT TAB TB eachone Individually R I 1910 A INKEY IF A THEN 1910 1920 IF A...

Page 182: ...TURN 2260 2270 Subroutine to cancelDOUBLE STRIKE printing 2280 S ESC H GOSUB2460 RETURN 2290 2300 Subroutine to print a menu title 2310 as 2320 PRINT PRINT PRINT 2330 PRINT TAB 27 II RADIXPRINTERSETUP...

Page 183: ...kForYou 169 2510 Subroutine to clearscreen positioncursor 2520 CLS LOCATEl TB RETURN 3000 3010 I Subroutineto print sample 3020 FOR I 1 TO 4 FOR J 33 TO 126 303pI PRINT l CHR J 3040 NEXT PRINT l CHR l...

Page 184: ...170 Radix User s Manual _...

Page 185: ...ance is preventive So to start with we hope you ve found a clean dust free location with a comfortable temperature range for both you and your computer printer system Appendix A gives you further tips...

Page 186: ...procedure After all that s the purpose of the cartridge to save time and messing with dirty ribbons It is possible however to buy a replacement ribbon and insert it yourself inside the original cartr...

Page 187: ...Basic Maintenance 173 Screwdriver Figure 14 l Use a screwdriver to pry open the cartridge Ribbon drive gear Figure U 2 Replace the ribbon sub cassette...

Page 188: ...gure 143 Make sure that the ribbon is not twisted when you thread it through its path 8 Firmly pull the idler gear towards you and guide the ribbon between the idler gear and the ribbon drive gear 9 R...

Page 189: ...pull the wires which connect the cover to the case When the case is off check Figure 13 5 for location of the pri mary fuse which you ll find held by its clamps close to the power switch The fuse is...

Page 190: ...176 Radix User s Manual fuse Figure 14 4 After removing the screws pull the upper case slightly prward and lift it ofi the printer The primary fuse is located near the power switch...

Page 191: ...ng the print head 3 While holding the print head pull off the head cable connector from the print head 4 Insert the head cable connector to a new print head and fasten with the same two screws and was...

Page 192: ...l 5 Apply screw lock an adhesive available at hardware stores to the heads of the screws Be absolutely sure that you ve made a good solid connection between the print head and its cable connector or i...

Page 193: ......

Page 194: ...180 Radix User s Manual...

Page 195: ...t producing appliances l Using it only in temperatures where you are comfortable l Avoiding areas with a lot of dust grease or humidity l Giving it clean electricity Don t connect it to the same circu...

Page 196: ...e next step Removing the printer covers What are covers for really Primarily for two reasons one to keep dust and dirt away from the delicate innards and two to keep the noise level down The front cov...

Page 197: ...Figure A 2 Remove the printer covers by tilting them up to about 45O then lifting straight up Removingpacking and shippingscmws There are three on a Radix lo or four on a Radix 15 ship ping screws on...

Page 198: ...184 Radix User s Manual Ggure A 3 Radix 10 has three screws which secure the chassis during shipping Radix 15 has four They should be removed before use __...

Page 199: ...nstalling the platen knob This is the knob that turns the rubber platen cylinder It fits into the hole on the right side of the printer case Just match the odd shaped hole in the knob with the same sh...

Page 200: ...ns on the cartridge as shown in Figure A 5 Then hold the cartridge at each end with the ribbon facing away from you and insert the guide pins into the cut out hooks of the printer frame You ll find th...

Page 201: ...le of the print head to avoid misprints or the ribbon com ing off during printing 6 Turn the spool gear knob in the direction of the arrow printed on the top left side of the cartridge to take up the...

Page 202: ...ortant that the ribbon is centered vertically between the print head and the ribbon guide Connecting Radix to Computer To complete installation need connect to computer appendices through we ve this i...

Page 203: ...cable to connect Radix to your IBM PC Your Radix dealer can furnish this cable or you can use a standard IBM PC parallel printer cable for the parallel interface Connecting with the parallel interface...

Page 204: ...witch settingsfor IBM PC Table B 2 IBM PC pamJJeJ cable Radix IBM PC Parallel Pin No Function Pin No Function 1 STROBE 1 STROBE 2 Dl 2 DO 3 D2 3 Dl 4 D3 4 D2 5 D4 5 D3 6 D5 6 D4 7 D6 7 D5 8 D7 8 D6 9...

Page 205: ...amed AUTOEXECBAT and it will execute automatically each time you start your computer Table B 3 Serial switch settings The serial cable shown below will work with DIP switch B set as shown above to con...

Page 206: ...55 use this state ment l J WIDTH LPTl 255 IBM BASIC has one other little trick that will mess up your graphics if you let it IBM BASIC is very insistent about adding a line feed to a carriage return T...

Page 207: ...is not your original DOS diskette With this diskette in drive A follow the script below The things that you are to type are shown in italic type The messages that will appear on your screen are shown...

Page 208: ...194 Radix User s Manual Program Listings There are no program listings given here for the IBM PC because all the programs in the book are written for the IBM PC...

Page 209: ...boards for the Apple II and an appropriate cable Setting the Switches We recommend that you set the DIP switches in Radix as shown below when connecting it to an Apple II Since you ll be using the pa...

Page 210: ...e Apple II computer using Applesoft BASIC does not have different types of PRINT statements for the screen and printer You must add commands to your programs that direct the output of the PRINT statem...

Page 211: ...initializa tion code It won t send it on to the printer There is a way to bypass this problem however You can change the printer initiali zation code to a value other than CHR S like this PR l PRINT C...

Page 212: ...1 13 NF CHR 27 CHR 0 14 NR CHR 27 CHR 1 15 CS sC 6 16 BEEP CHR 7 18 AS 33 PP ESC CHR 27 20 GOSUB 1910 260 REM 265 FOR I 1 TO ll MM I 0 NEXT I 270 VTAB 3 HTAB 6 PRINT CS 275 VTAB 23 HTAB 1 280 GET A 29...

Page 213: ...1 H 1 901 HOME 902 FOR I 2 TO 16 STEP 2 VTAB I HTAB 5 FOR J 1 TO 23 PRINT NEXT J PRINT NEXT I 904 FOR J 3 TO 16 STEP 2 VTAB J FOR I 5 TO 27 STEP 2 HTAB I PRINT NEXT I PRINT NEXT J 905 K 1 VTAB 1 HTAB...

Page 214: ...VTAB X 2 HTAB Y 5 PRINT CS NORMAL 1065 VTAB 23 HTAB 1 1070 RETURN 1910 REM CLEARCURRENTCHARACTER 1920 PW 11 DS 0 1930 FOR H 1 TO ll MM H 0 NEXT H 1935 GOSUB900 1940 GOSUB2200 RETURN 2080 REM BUILD CO...

Page 215: ...E 3365 PRINTNR FOR I 1 TO 15 PRINT CHR AS NEXT I PRINT 3370 PRINTNF 3375 PRINT CHR 27 B CHR 1 PICA 3378 PRINTNR FOR I 1 TO 12 PRINT CHR AS NEXT I PRINT 3379 PRINTNF 3380 PRINT CHR 27 W CHR 1 EXPANDED...

Page 216: ...PR 1 3715 PRINT CHR 9 255N 3720 PRINT ESC CHR 0 3730 PR 0 3740 RETURN 4000 REM CALCULATEA COLUMNVALUE 4010 MM H 0 FOR J 1 TO 7 4020 MM H MM H Z J H 2 A J 1 4030 NEXT J GOSUB4100 RETURN 4100 REM PRINT...

Page 217: ...OSUB 7000 1092 HOME PRINT PRINT PRINT PRINT 1093 PRINT THISPROGRAMTAKESABOUT 1094 PRINT 2 MINUTESTO RUN PLEASE 1095 PRINT TURNON YOUR PRINTERAND 1096 PRINT STANDBY 1097 PRINT PRINT PRINT 1098 FOR I 1...

Page 218: ...82 CHR l SP 3190 FOR COL 1 TO 190 PRINT CHR BIT COL ROW NEXT 3192 PRINT 3210 NEXT ROW 3250 PRINTES 2 FF 3255 PR 0 3257 HOME 3260 END 4000 REM DRAW A LINE FROM X1 Yl TO X2 Y2 4010 XL X2 Xl YL Y2 Yl 40...

Page 219: ...6100 MM TXT X4 6102 LL LEFT MM Y4 6104 PP LEN PTXT PI 6106 RR RIGHT MM 80 Y4 PP 6108 TXT X4 LL PTXT PI RR 6110 RETURN 6200 MM TXT X4 6202 pp LEN PTxT I 6204 LL LEFT MM Y4 PP 6206 RR RIGHT MM 80 Y4 620...

Page 220: ...0 HOME 90 TI MAINMENU 100 GOSUB 2560 110 PRINT TAB TB EXIT 120 PRINT TAB TB l SELECT CHARACTERSET 130 PRINT TAB TB SELECTPRINTINGMODES 140 PRINT TAB TB j SELECTPITCH 150 PRINT TAB TB 4 SELECTLINE SPAC...

Page 221: ...B l SELECTEXPANDEDMODE 550 PRINT TAB TB 2 CANCELEXPANDEDMODE 560 PRINT TAB TB J SELECTEMPHASIZED MODE 570 PRINT TAB TB 4 CANCELEMPHASIZED MODE 580 PRINT TAB TB 5 SELECTDOUBLESTRIKEMODE 590 PRINT TAB T...

Page 222: ...X la2 IF X 1 OR X 255 THEN PRINTBEEP 1030 s sc M cHR x 1040 GOSUB 2730 1050 RETURN 1060 REM SET RIGHTMARGIN 1080 GOSUB 2770 1090 INPUT ENTERNEW RIGHTMARGIN l 255 1100 IF X 1 OR X 255 THEN PRINTBEEP 1...

Page 223: ...NTBEEP GOT0 1500 1520 IF s g THEN RETURN 1530 ON S GOSUB 1550 1580 1610 1640 1540 GOT0 1410 1550 REM SELECTl 6 INCH LINE SPACING 1570 S ESC 2 GOSUB2730 RETURN 1580 REM SELECTl 8 INCH LINE SPACING 1600...

Page 224: ...S ESC D MAX 255 GOSUB2080 RETURN 2080 REM SET TABS 2100 GOSUB2770 2110 PRINT WOULDYOU LIKE TO SET THE TABS IN 2120 PRINT TAB TB REGULAR INTERVALS OR SPECIFY 2130 PRINT TAB TB EACHONE INDIVIDUALLY R I...

Page 225: ...G GOSUB2730 2510 RETURN 2520 REM CANCELDOUBLE STRIKE 2540 S ESC H GOSUB2730 b 2550 RETURN 2560 REM PRINTA MENU TITLE 2570 HOME 2580 PRINT PRINT PRINT 2590 PRINT TAB 6 RADIXPRINTERSETUP 2600 PRINT 2610...

Page 226: ...al 2770 2790 3000 3005 3007 3010 3020 3030 3040 3050 REM CLEARSCREENAND POSITIONCURSOR HOME VTAB 10 HTAB TB RETURN REM PRINT PR 1 PRINT CHR 9 255N FOR I 1 TO 4 FOR J 33 TO 126 PRINT CHR J NEXT J PRINT...

Page 227: ...tch B have no effect Table D l Recommended DIP switch settings for TR 3 80 Switch Setting Function A l ON 1 11 inch naee size A 2 ON A 3 ON A 4 ON A 5 ON A 6 ON A 7 ON Normal print density 10 CPI pitc...

Page 228: ...11 STROBE 1 Dl 3 D2 5 D3 7 D4 9 D5 11 D6 13 D7 15 D8 17 ACK 19 BUSY 21 STROBE Dl D2 D3 D4 D5 D6 D7 D8 ACK BUSY TRS80 uses another version of Microsoft Basic Most of the programs in this book will work...

Page 229: ...FOR I 0 TO 14 30 READ A POKEAD I A 40 NEXT I 50 POKE 16422 187 60 POKE 16423 64 70 DATA 33 232 55 203 126 32 252 33 17 jc3 57 126 211 251 201 80 END And here is a version for the TRSSO Model I L 5 REM...

Page 230: ...80 GOT0 340 Narrower 170 IF A T OR A THEN GOSUB 1110 GOT0 340 Descender 180 IF A Q OR A THEN CLS END 190 IF A P OR A THEN GOSUB 1350 GOT0 340 210 IF A OR A c THEN GOSUB 1910 GOT0 340 220 IF A A OR A a...

Page 231: ...PRINT 4 64 50 DOWN ARROW 745 PRINT 5 64 50 P RINT CHAR 750 PRINT 6 64 50 A SCII SET 760 PRINT 7 64 50 C LEAR DOTS 770 PRINT 8 64 50 Q UIT 780 PRINT 9 64 50 R OM COPY 790 PRINT 10 64 50 T OGGLE DESC 82...

Page 232: ...ue and print 116 lM H 0 FOR J l TO 7 1170 MM H MM H Z J H 2 J 1 1180 NEXT J 1190 1200 Subroutine to print a columnvalue 1205 PRINT 12 64 H 4 1 1210 PRINT 12 64 H 4 l RIGHT STR MM H 3 1220 RETURN 1230...

Page 233: ...0 LPRINT Proportional 1590 LPRINTPN STRING lS AS 1592 LPRINTPF 1595 LPRINT LPRINT CHARACTER SET PROPORTIONAL SPACING LPRINT PN 1596 FOR I 33 TO 126 LPRINT CI IR I NEXT 1 LPRINT 1597 FOR I 160TO 254 LP...

Page 234: ...to performa ROM copy 2030 LPRINT sc cHR 0 RETURN 2040 f 2050 Subroutine to erasequerymessage 2060 PRINT 14 64 STRING 50 2070 RETURN 2080 2090 Subroutine to build commandstring 2100 REC ESC CHR l 2110...

Page 235: ...I STRING 79 200 NEXT I 210 GOSUB 1040 215 GOSUB 2000 217 PRINT 64 7 220 230 Plot curve 240 RAD 8 250 Xl 19 Yl 10 270 FOR ANG 0 TO 360 STEP 15 280 RNG ANG 6 28 360 290 X2 RAD COS RNG l Y2 RAD SIN RNG...

Page 236: ...PRINTESC 2 FF 630 Em 640 650 Subroutine to draw a line fromXl Ylto X2 Y2 660 670 XL X2 Xl YL Y2 Yl 680 NX ABS XL LXFAC NY ABS YL LYFAC 690 IF NX NY THEN NX NY 700 NS INT NX l 710 DX XL NS DY YL NS 720...

Page 237: ...070 CLS PRINT PRINT PRINT 1080 PRINT ENTERTITLE FOR CHART 1085 INPUTCTITLE 1090 IF LEN CTITLE 32 THEN 1110 1100 PRINT TITLETOO LONG 32 CHAR MAX GOT0 1080 1110 SOFAR LFT l 1120 FOR I 1 TO 24 1130 c s 1...

Page 238: ...TB 15 DIM TBS 256 60 70 Display MAIN menu 80 CLS 90 TITLES MAINMENU 100 GOSUB 2560 110 PRINT TAB TB 0 Exit 120 PRINT TAB TB 1 SelectCHARACTERSET 130 PRINT TAB TB 2 SelectPRINTINGMODES 140 PRINT TAB TB...

Page 239: ...360 490 500 Subroutine to displayPRINTINGMODESmenu 510 TITLE PRINTING MODES MENU 520 GOSUB 2560 530 PRINT TAB TB 0 Returnto main menu 540 PRINT TAB TB 1 SelectEXPANDEDmode 550 PRINT TAB TB 2 CancelEXP...

Page 240: ...N 880 890 Subroutine to selectELITEpitch 900 S ESC B CHR 2 910 GOSUB 2730 920 RETURN 930 940 Subroutine to selectCONDENSEDpitch 950 S ESC B CHR 3 960 GOSUB 2730 970 RETURN 980 990 Subroutine to set LE...

Page 241: ...o cancelNLQ characterset 1380 S ESC B CHR S 1390 GOSUB 2730 1400 RETURN 1410 1420 Subroutine to selectLINE SPACING 1430 TITLE LINESPACINGMENU 1440 GOSUB 2560 1450 PRINT TAB TB 0 Returnto main menu 146...

Page 242: ...1780 GOSUB 2730 1790 RETURN 1800 1810 Subroutine to selectITALICcharacterset 1820 S ESC 4 GOSUB2730 1830 RETURN 1840 1850 Subroutine to cancelITALICcharacterset 1860 S ES 5 GOSUB 2730 1870 RETURN 1880...

Page 243: ...No more than MAX I II 2210 PRINT TAB TB INPUT Entera tab TBS 1 2220 IF TBS 1 0 OR TBS 1 255 THEN 2 70 2230 IF TBS 1 0 THEN I 1 GOT0 2270 2240 IF TBS 1 TBS I 1 THEN 2170 2250 I I 1 IF I MAX THEN 2170...

Page 244: ...E 2 TITLE 2630 PRINT 2640 RETURN 2650 2660 Subroutine to inputmenu selection 2670 PRINT 960 TB Enter selection or hit P for a print out 2680 C INKEY IF C THEN 2680 2685 IF C P OR C p THEN GOSUB3000 GO...

Page 245: ...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 for Kavpm Swi...

Page 246: ...DATA4 6 DATA5 7 DATA6 8 DATA7 9 DATA8 11 BUSY 16 SIG GND Table E 2 Kaypm parallel cable Kaypro Pin No Function 1 STROBE 2 DATA1 3 DATA2 4 DATA2 5 DATA2 6 DATA2 7 DATA2 8 DATA2 9 DATA8 11 BUSY 16 SIG...

Page 247: ...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...

Page 248: ...Q OR A q THEN GOSUB350 END 230 IF A P OR A THEN GOSUB 1120 GOT0 340 240 IF A OR A c THEN GOSUB 1660 GOT0 340 250 IF A OR A a THEN GOSUB 1480 GOT0 340 260 IF A OR A r THEN GOSUB 1710 GOT0 340 270 IF A...

Page 249: ...aracternarrower 630 PRINT FNL 16 47 D Toggledescender mode 640 RETURN ii Edit 1 subroutines 670 GOSUB l Y Y 3 I H l IF Y 1 THEN PRINT CHR 7 Y l H l 680 GOSUB 1060 RETUFtN 690 GOSUB l j Y Y 3 H H l IF...

Page 250: ...RETURN 1060 1070 Subroutine to place the cursor 1080 PRINT FNL X 4 Y l0 1090 IF Z G H lTHEN PRINT CR 1100 IF Z G H THEN PRINT CS 1110 RETURN 1120 lljp Subroutine to print currentcharacter 1140 GOSUB 1...

Page 251: ...1780 LPRINT DATA27 j 1450 FOR I 2 TO LEN REC 1460 LPRINT STR ASC MID REC I l 1470 NEXT I LPRINT LPRINT LPRINT LPRINT RETURN 1480 1490 Subroutine to inputdesiredcharactercode 1500 PRINT FNL 23 5 1510...

Page 252: ...T I 1830 RETURN Piechart progmm p Program to print a piecharton the RADIX 20 30 Initialize programconstants 40 ESC CHR 27 LF CHR l 50 FF CHR 12 VTAB CHR ll 60 REVFF ESC FF 70 Emphasized expandedmodes...

Page 253: ...i 450 LPRINTTITLE ON SPACE 20 LEN TITLE 2 460 LPRINTTITLE TITLE OFF 470 LPRINTVTAB VTAB 480 FOR I plTO 48 490 LPRINTTEXT I NEXT I 500 510 Sendbit imagemap to printer 520 LPRINTREVFF VTAB VTAB VTAB 530...

Page 254: ...930 X4 24 X3 Y4 42 Y3 940 IF MIDANGX 70 AND MIDANGI 110 THEN 990 950 IF MIDANGZ 250 AND MIDANG 290 THEN 990 960 IF MIDANG 270OR MIDANGX 90THEN 1010 970 MID TEXT X4 Y4 LEN PIECETEXT PIECE PIECETEXT PIE...

Page 255: ...FIELDTOO LONG 15 CHAR MAX GOT0 1250 1280 IF AMT LEFT 0 GOT0 1300 1290 NEXT I 1300 NUMBER PIECES I 1310 IF NUMBER PIECES THEN 1110 1320 PRINT cH 26 1330 RETURN Printer setup utility 10 Program to setu...

Page 256: ...menu 390 PRINT TAB TB 1 SelectPICA pitch 400 PRINT TAB TB 2 SelectELITEpitch 410 PRINT TAB TB 3 SelectCONDENSEDpitch 420 GOSUB 2370 430 IF S p OR S 3 THEN PRINT CHR 7 GOT0 420 440 IF S 3THEN RETURN 4...

Page 257: ...960 1020 1080 1140 1640 800 GOT0 630 810 820 Subroutine to selectPICA pitch 830 S ESC B CHR l GOSUB 2460 RETURN 840 850 Subroutine to selectELITEpitch 860 S ESC B CHR 2 GOSUB 2460 RETURN 870 880 Subro...

Page 258: ...INT TAB TB 1 Selectl 6 inch line spacing 1290 PRINT TAB TB 2 Selectl 8 inch line spacing 1300 PRINTTAB TB 3 Select7 dot graphicsspacing 1310 PRINT TAB TB 4 Selectn l44 inch spacing 1320 GOSUB 2370 133...

Page 259: ...1720 PRINT CHR 7 GOT0 1690 1730 INPUT Lengthof page in inches l 32 1740 IF X 1 OR X 32 THEN PRINT CHR 7 1750 S ESC C CHR CHR X 1760 GOSUB 2460 RETURN I L i x GOT0 1660 1770 INPUT Lengthof page in line...

Page 260: ...S S CHR I NEXT I 2110 S S CHR GOSUB2460 RETURN 2120 2130 Subroutine to set VERTICALTABS 2140 S ESC P MAX 291 GOSUB 1840 2150 RETURN 2160 2170 Subroutine to selectEMPHASIZED printing 2180 S ES E GOSUB...

Page 261: ...GOSUB 2530 GOT0 2370 2430 IF C 0 OR C 9 THEN PRINT CHR 7 GOT0 2390 2440 S VAL C 2450 RETURN 2460 2470 Subroutine to outputcommandstring 2480 LPRINTS 2490 RETURN 2500 2510 Subroutine to clearscreen pos...

Page 262: ...248 Radix User s Manual l...

Page 263: ...the Radix use many of the pins of the connector To understand how the system of communications works we need to look at the functions of the various signals carried by the pins of the interface connec...

Page 264: ...si nal acknowledges the receipt of the data and so is called the A cf for acknowledge signal k I_ I tl DATA 1 9pec Approx Spsec I I I STROBE I BUSY 1 T More than O sec Figure F l Radix interface timin...

Page 265: ...LOW ermanently by turn ine DIP switch C l oP I I I 13 SELECTED OUT This signal is HIGH when the printer is on line 1415 IN C 16 1SIGNAL 1 Unused 1Signal ground GND 17 CHASSIS GND 18 5VDC OUT 19 30 GN...

Page 266: ...mputer 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 t...

Page 267: ...1 or 2 stop bits 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 XONlXOFF mode Note...

Page 268: ...254 Radix User s Manual Table G 1 Serial interface pin functions...

Page 269: ...otocol Serial busy 1 byte mode Serial busy 1 block mode ACK mode f itch B 4 OFF ON OFF Switch B 5 OFF OFF ON XONlXOFF mode ON ION Table G 4 Data transfer mtes Baud rate 150 300 600 1200 Switch B 7 Swi...

Page 270: ...ccept more data XONIXOFFPMtOCOl The XONlXOFF protocol uses the ASCII characters DCl and DC3 sometimes called XON and XOFF respectively to communicate with the computer When Radix s buffer approaches c...

Page 271: ...terface Specifications 257 Serial busy pmtocol I block mode RXD Pi 3 DBI DBI DB DB Inn Pi 20 XON XOFF protocol ACK protocol RXD Pin 3 DTR Pin 20 n n n n TXD Pin 2 hinting Figure 6 2 Serial protcd timi...

Page 272: ...258 Radix User s Manual...

Page 273: ...H l A DIP switch is actually a series of seved 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 ope...

Page 274: ...interface 6 bit interface 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 A l A 2 Function Switch A...

Page 275: ...e 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 this switch is OF...

Page 276: ...witch 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...

Page 277: ...Carriage return Expanded print on Condensed print on On line Pica pitch Off line Expanded print off Escape End macro Space Apostrophe Comma Hyphen Period Dacimfd Character 47 48 I 0 49 1 1 50 2 2 51...

Page 278: ...117 118 119 120 121 122 123 124 125 126 127 9 9 h h i i 1 i I k 1 2 ITI FI i i n 0 0 F P q Q r r 5 t z Cl u v L w w x y Y Y z z E ii 2 Delete These characters may be different if you are using an inte...

Page 279: ...gi 179 3 180 2 181 i 182 R 183 U Bell Backspace Horizontal tab Line feed Vertical tab Form feed Carriage return Expanded print on Condensed print on On line Pica pitch Off line Expanded print off Esc...

Page 280: ...ics Chamcters Decimal Character 224 225 m 226 227 228 229 n m 230 l 231 232 m 233 I 234 I 235 r 236 V 237 L 238 4 239 I Space Decimal Character 240 r 241 242 1 243 I 244 I 245 1 246 L 247 A 248 L 249...

Page 281: ...ASCII Codes 267 cl I i i i i cm 231 235 I 236 r q 233 234 InINA 237 A236 232 241 73 42 I 1 F l I I i I 244 i 249 246 i 162 160...

Page 282: ...266 Radix User s Manual...

Page 283: ...Appendix J Character Style Charts Standard Chamcters 34 33 32 38 38 42 52 58...

Page 284: ...270 Radix User s Manual 80 81 84 85 78 80 89 81 85 93 82 78 82 90 a4 83 87 71 75 79 83 87 91 95...

Page 285: ...1 r yIj_ s Character Style Charts 271 98 97 96 108 118 123 126 125 124...

Page 286: ...272 Radix User s Manual Italic Characters 32 30 40 44 48 52 56 60 33 37 41 45 49 53 57 61 34 39 42 49 50 54 59 62 35 39 43 47 51 55 59 63...

Page 287: ...Character Style Charts 273 84 88 72 78 80 84 88 92 85 89 73 77 81 85 89 93 88 70 74 78 82 88 90 94 87 71 75 79 83 87 91 95...

Page 288: ...274 Radix User s Manual 96 100 124 97 101 109 125 98 99 119 123...

Page 289: ...Character Style Charts 275 International Charaders 35 84 91 92 93 94...

Page 290: ...276 Radix User s Manual 98 123 124 125...

Page 291: ...Character Style Charts 277 Specid Characters 180 184 188 172 178 180 184 188 181 185 189 173 177 181 185 189 182 188 170 174 178 182 188 190 183 187 171 175 179 183 187 191...

Page 292: ...278 Radix User s Manual 192 198 218 194 198 209 213 217 195 203 215...

Page 293: ...Character Style Charts 279 224 225 228 227 228 229 230 231 232 233 234 235 238 237 238 239 240 241 242 243 244 248 249 250 251 252 253 254...

Page 294: ...280 Radix User s Manual...

Page 295: ...SCII decimal equivalent hex ASCII Hexadecimal equivalent REMARKS Details how the command is used REFERENCE Tells which chapter of the manual describes the command in greater detail There are several c...

Page 296: ...auses the printer to cancel the italic character set and select instead the standard character set You can select the standard character set as the power on de fault by turning DIP switch A 4 on Chapt...

Page 297: ...enmark 4 France 5 Sweden 6 Italy 7 Spain 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...

Page 298: ...print pitch to pica 10characters inch ESC B 1 27 66 1 1B 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...

Page 299: ...ters 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...

Page 300: ...all subsequent print 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...

Page 301: ...S 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 W 0 27 87 0 1B 57 00 This command resets t...

Page 302: ...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 REFERENCE ES...

Page 303: ...inting You can select normal printing as the power on default by turning DIP switch A 2 on Chapter i Select underlining ESC I 1 27 45 1 1B 2D 01 This command causes all subsequent charac ters printed...

Page 304: ...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 pri...

Page 305: ...he paper one line Line Feed LF 10 OA The actual distance advanced by the line feed is set either through the setting of DIP switch A 5 or through various codes which can be sent see below When DIP swi...

Page 306: ...can select l S inch line spacing as the power on default by turning DIP switch A 5 off Chapter 8 Change the line spacing to 7 72 inch ESC 1 27 49 1B 31 This command sets the actual distance the paper...

Page 307: ...The value of n must be be tween 0 and 255 Chapter 8 Change the line spacing to n 144 inch ESC 3 n 27 51 n 1B 33 n This command sets the actual distance the paper advances or reverses during all subse...

Page 308: ...255 REFERENCE Chapter 8 Form feed controls PURPOSE Advance paper to top of next page Form Feed FF 12 oc CODE decimal ASCII hex ASCII REMARKS REFERENCE PURPOSE CODE decimal ASCII hex ASCII REMARKS REF...

Page 309: ...between 1 and 127 Chapter 8 Set page length to n inches ESC C 0 n 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...

Page 310: ...CE PURPOSE CODE decimal ASCII hex ASCII REMARKS REFERENCE Vertical tabs PURPOSE CODE decimal ASCII hex ASCII REMARKS REFERENCE Radix User s Manual _ Cancel top and bottom margins ESC 0 27 79 1B 4F Thi...

Page 311: ...ed at lines nl 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...

Page 312: ...y Chapter 8 PURPOSE Set the left print margin CODE decimal ASCII hex ASCII REMARKS 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 carr...

Page 313: ...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...

Page 314: ...o 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 p...

Page 315: ...aracters to be printed on the same line as download characters REFERENCE Define download characters into RAM ESC I 1 r 11n2 ml m2 m3 m4 m5 m6 m7 m8 m9 ml0 ml1 27 42 1 nl n2 ml m2 m3 m4 m5 m6 m7 m8 m9...

Page 316: ...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 X 0 27 88 0 1B 58 00 This command cancels...

Page 317: ...imal ASCII hex ASCII REMARKS REFERENCE Print normal density graphics ESC K nl n2 ml m2 m3 27 75 nl n2 ml m2 m3 1B 4B nl n2 ml m2 m3 This command selects 60 dots per inch col umn scan bit image graphic...

Page 318: ...mber of graphic data bytes ml 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 ES...

Page 319: ...r mine which pins are fired for each character REFERENCE Chapter 12 Macro Instruction Commands PURPOSE CODE decimal ASCII hex ASCII REMARKS REFERENCE PURPOSE CODE decimal ASCII hex ASCII REMARKS REFER...

Page 320: ...nt character sent to the printer to logical 0 This code should not be used to transmit printer control codes Chapter 10 REFERENCE Set the value of the eighth data bit to logical 1 ESC 27 62 1B 3E This...

Page 321: ...N LINE light is out the printer will not respond to DCl Chapter 10 REFERENCE Accept the value of the eighth data bit as is ESC 27 35 1B 23 This command cancels either setting of the eighth data bit Th...

Page 322: ...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 DCl Chapter 10 Sound printer bell BEI 7 07 This com...

Page 323: ...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 ES0 9 27 57 1B...

Page 324: ...h is considerably faster Chapter 10 Initialize printer ES0 a 27 64 1B 40 This command reinitializes the printer The print buffer is cleared and the form length character pitch character set line feed...

Page 325: ...HR 20 Cancels one line expanded print CHR 27 Escape indicated as ESC below CHR 30 Ends macro instruction definition CHR 127 Delete last character ESC CHR lO Reverse line feed ESC CHR 12 Reverse feed t...

Page 326: ...ter set Ignore paper out signal Enable paper out signal Set eighth bit to 0 Set eighth bit to 1 Reset the printer n 72 inch line feed Pica print Elite print Condensed print Select NLQ Near Letter Qual...

Page 327: ...SC a n ESC b n ESC j n ESC y nl n2 ESC z nl n2 Cancel proportional download characters Use proportional download characters Disable bell Enable bell Advance n line feeds Tab over n columns Reverse lin...

Page 328: ...314 Radix User sMMU...

Page 329: ...00 0101 0000 0110 0000 0111 0000 1000 0000 1001 0000 1010 0000 1011 0000 1100 0000 1101 0000 1110 0000 1111 00010000 00010001 00010010 00010011 00010100 00010101 00010110 00010111 00011000 00011001 00...

Page 330: ...37 38 39 3A 3B 3c 3D 3E 3F 40 41 42 43 44 45 46 47 48 49 Binary 0010 0000 00100001 0010 0010 00100011 00100100 00100101 0010 0110 00100111 00101000 00101001 00101010 00101011 0010 1100 00101101 00101...

Page 331: ...4E 01001110 4F 01001111 50 01010000 51 01010001 52 01010010 53 01010011 54 01010100 55 01010101 56 01010110 57 01010111 58 01011000 59 01011001 5A 01011010 5B 01011011 5c 01011100 5D 01011101 5E 01011...

Page 332: ...F 90 91 92 93 94 95 96 97 98 99 9A 9B 9c 9D Binary 01110100 01110101 01110110 01110111 01111000 01111001 01111010 01111011 01111100 01111101 01111110 01111111 10000000 10000001 10000010 10000011 1000...

Page 333: ...172 AC 10101100 173 AD 10101101 174 AE 10101110 175 AF 10101111 176 BO 10110000 177 Bl 10110001 178 B2 10110010 179 B3 10110011 180 B4 10110100 181 B5 10110101 182 B6 10110110 183 B7 10110111 184 B8 1...

Page 334: ...11010100 213 D5 11010101 214 D6 11010110 215 D7 11010111 216 D8 11011000 217 D9 11011001 218 DA 11011010 219 DB 11011011 220 DC 11011100 221 DD 11011101 222 DE 11011110 223 DF 11011111 224 EO 11100000...

Page 335: ...247 248 249 250 251 252 253 254 255 Standard ASCII Codes Hexadecimal Binary F2 11110010 F3 11110011 F4 11110100 F5 11110101 F6 11110130 F7 11110111 F8 11111000 F9 11111001 FA 11111010 FB 11111011 FC...

Page 336: ...322 Radix User sManual...

Page 337: ...al in bit image and NLQ modes 96 standard ASCII characters 96 italic characters 96 near letter quality NLQ characters 68 international characters 64 special symbols 32 block graphics characters 189 us...

Page 338: ...able interface Ultra hi resolution bit image graphics Vertical and horizontal tabs Skip over perforation 15 5 carriage Radix 15 only Paper Radix 10 Radix 15 Paper type Single sheets 8 5 in wide 5 5 14...

Page 339: ...ngth Handshaking 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...

Page 340: ...326 Radix User sManual...

Page 341: ...er graphics 102 266 279 Character style chart 72 Character width 26 63 Chart block graphics characters 104 character style 72 CHR function 17 56 CHR 7 98 308 CHR 8 99 300 CHR S 90 299 CHR lO 76 291 CH...

Page 342: ...R n 79 293 ESC J CHR n 80 294 ESC K 140 303 ESC L 156 304 ESC M CHR n 92 298 ESC N CHR n 84 296 ESC 0 84 296 ESC P 94 297 ESC 0 CHR n 92 299 ESC 6 CHR nj 84 295 ESC S CHR ln 63 290 ESC j T 63 29 ESC U...

Page 343: ...Power cord 3 16 Power lamp 3 Power switch 5 Print buffer iv Print head 3 175 Print pitch 26 Print style commands 281 Printer covers 3 182 Printer initialization 23 26 36 98 310 Printer setup utility p...

Page 344: ...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 I2 Tips for smoother operation 13 Tractor 3 10 TRS 80 computers 83 213 Un...

Page 345: ...IParallel interface c 3 1T bit interface I8 bit interface C 4 1Auto LF with CR ILF must be from host International chamcter sets Switch USA England Germany Denmark France Sweden Italy A 6 ON OFF ON O...

Reviews: