%OP%JUY %OP%PL64 %OP%AMM %OP%TM1 %OP%HM2 %OP%FM2 %OP%BM1 %OP%LM5 %CO:A,12,70%%LCR%//%H2% The Z88 as a simple typewriter/%H2% TYPE.DOC/ %C%(Not to be confused with, or compared to!, Z189) %JL%The accompanying Basic program - "type" - which is only 210 bytes, %JR%will provide you (or your children!) with a very simple typewriter %JL%and perhaps more than just a little fun. Actually, it is ideal for %JR%typing envelopes, invitations to kiddie's parties and that sort of thing. %JR%It is based on using an Epson-compatible printer (I'm not familiar %JL%with any other) but I'm sure that if you use a different printer you will know the codes equivalent to those I have used for the Epson. %JR%Print this doc. and proceed as follows - - CHAIN the program into %JL%Basic & you will see CODE on the screen. Just press ENTER, type a %JR%few words and press ENTER again. (Hereafter, (E) means "press %JL%ENTER"). If your words have not been printed you have done something %JR%wrong. Type some more and (E). You have a second line of print now, %JL%no margin and standard font. If you now hit the £ key and (E) you go back to the start. %JL%Type 9 and (E). You are asked for CODE again but we don't want any %JR%more this time so (E) again. Now, when you type some words and (E) %JL%they are 8 spaces in from the left. £ and (E) will take you back to the start. %JL%Just (E), i.e. no code; type something and (E). It is printeed with %JR%no tab - Code 9 cancels at line feed! Next, enter code 9 three times %JL%and then type about 70 letters. You get a 24 spc gap on the left %JR%AND, since you exceeded the number of characters for one line, they %JL%"wrapped" on to a second line. If your printer is a standard(?) 84 %JR%characters to the line then only 60 characters are on the first line (with no right-hand margin) 60 + 3 * 8 = 84 Q.E.D! %JR%Do you have to put in a code for every line to get a left-hand %JL%margin? Of course not! Next time enter codes 27 108 and 10, i.e. 27 %JR%and (E), 108 and (E),10 and (E) - three distinct entries. Then three %JL%more - 27 81 and 74. Type in exactly 74-10 i.e. 64 characters and %JR%(E). You will get a line of type with margins of 10 at each side. %JL%If, of course, you type any more than 64 characters they will go on %JR%the next line. If you're getting serious now you need to put a marker on, or near your screen. %JL%If you haven't already found out by accident, you get a line feed any %JL%time you (E) without text. End of paragraph! If you want to indent %JR%the first line of the next paragraph you can still use code 9 for this. %JL%You have realised by now that you are just using the same codes as %JR%you are using, or can use in the PrinterEd. For enlarged print it's %JL%14 but it cancels at line feed. Condensed print is 15 and it stays %JR%that way until you enter code 18. It won't justify and codes for %JR%italics, bold, underline, etc apply to the whole line, not single words or phrases. %P0% %JL%DON'T switch off the printer unless you are finished - you wipe out %JR%all the codes you have entered. And NEVER put a comma in ANYWHERE! %JL%Your code won't work and the printing will stop at the comma! Why? I don't know! %JR%There is a lot more I could tell you but we don't want to get too %JL%serious about this "typewriter". Get out your printer manual and %JR%experiment! In case you don't have an Epson printer manual, or just to provide a quick reference, see below! Have fun. %H1%Func ON 27 108 x 27 81 y 27 9 27 14 27 15 27 69 27 71 27 52 27 77 27 45 1 27 65 n 27 66 n 12 Jack Lawrie (4635) 15 Sycamore Grove Southam Leamington Spa CV33 0EY. %CO:B,40,40% %H2%FUNCTION L.H margin (x is No. of spaces) R.H.margin ( y-x = characs in line) Horizontal TAB Enlarged print Condensed print Bold print Double-strike print Italic print Elite print Underline Line spacing - n/72 inch Line feed of n lines . Triggered by entering Code 11 subsequently. NB - 11 without code is same as 12. Paper advance to Top of form Note - all codes can be cancelled by ESCaping and RUNning. %CO:C,12,12% %H1%Func OFF %JR%)Enter new %JL%)codes or %JR%)ESC & RUN OFF at L.F OFF at L.F 27 18 27 70 27 72 27 53 27 80 27 45 27 65 12 )useful but ) tricky! %CO:D,12,36% Standard %CO:E,12,24%%CO:F,12,12%