Oric MCP-40 Operation Manual

Specifications

Brand: Oric
Category: Printer
Model: MCP-40 (Operation Manual)
File Type: PDF
File Size: —
Pages: 39

Read Online

Read the Oric MCP-40 Operation Manual online using the built-in PDF viewer.

Text of the manual

Congratulations for selectin11 this high-quality. low-<:ost colour

printer/ plouer! We know this Printer is the ideal output device for home or business use. Its special features include: • A set of sin1ple irlstr\1ctio11s t11at allo\\I you to change colours. backspace the pens. reverse feed the paper. and n1ore! • Four colour 1>rin1oul (black, reel, and blue). • Standard roll paper (4.25" wide by 180' long). • Selectable 40·characlcr or 80·chttractcr per line printing. - 1 -

I General Description.· ..... · .. ··.· .... · .. ····· .. ··· .. · .. ········· .. · .... ·· I

2 Setting Up · · · ·· ·· · ··· · ··· · · ·· · · · ··· · ··· · · ··· · ·· ·· · · ··· ·· · ·· · ··· · ···· ···· ···· :l 3 A Little Background Information .................................. 8 4 Using the printer/ plotter ............................................. 12 Control Codes · · .... · .. · · ....... · ....... · ........ · · · .. · · · · .... · 13 Graphic Comn1ands .......................................... 14 5 Specifications .............................................................. 26 Appendix A/ Sample Prograrns ................................. 28 Appendix B/ Graphic Comrnands Sun1111ary · · .............. 33 Appendix C/ ASCII & JIS Character Set ................... 35 ii -

1 General Description

', • ., .. II I J' • .. ! .. . ..... . II I ... ·' · ' "'' • . .. ... ,,, ... ) . O

2 Setting Up

Power Cable Connections. 0 Connect the J)O\\'Cr cai>le ( ro1l1 the 1\C lnlet socket of the s>rinter (on rear p:1nel) to a ,,·all out let. Connecting the printer/ plotter to your Con1puter \\'}1e11 connecting the l>rinter/ plotter to yOt.lr Co111µt1ter. l>e Sttre to t1se tl1e correct cal>lc. l. Connect one end of the cable to the printer/ plotter. 2. Con1lect the otl1c~r encl of tl1e c::ible 10 ti1e Co1111>utcr. :i ' A

When loading paper into the printer/plotter. follow these slel>S'

I. With !'Ci"-~01'. cut the end of the 1>apcr square. 2. Insert the end of the 1>aper i'1to the slot in the bollom of the 11rintcr. :1. Insert the shaft into the 1'011 and place the roll of paper into 1->a1>cr C(>1111)<1rtn1e11t. ·1. ~rurn 1)0\\·er on. 5. Rai~ the top co\·er so printi1lg \viii 1lot take µlace on the 1>later1. 6. Prc:;s the PAPER FEED button to feed the 1>aper through the slot and around the platetl. Pen Installation l~c \1ery careful '"l1er1 touching tllc l)c'n J ((>le ea.sily (la n1 agcd. NC\'(:I' l'1' 111o vc tl1c J>en 1-fc>lclcr 111anuall)1• Use tile l)rinlcr c<111trolt' tt> 111ovc tl1c J">e11 llolrler. l'

Pen Installation/ Itemoval

l1ll1>ortant Nc>te: You lllUSt al'''ays ltSe. four 1>e11~. Using the l'rinter \\'ittt onl>' three (or fc,ver) pens 111a y cau~e i1lcorrect t <)}or chan.o:cs '''hen )'OU arc cllans:ir11! C<>lc1r. 't'ou can i11stall the l'ens in any oro!-' i t i C)ll~ · .[>en ;;:: I. J>cn :::: 2. J>e11 +; 3. (lll(I r>cn :::: 4. \\ie Suggest ~rou tl!-'e the SC(!UCllCC dctailccl i11 'l'<1l>le beJo,,· ,,·hen installi1-i.g JX!nS. \\•lte11 refer ring to J>cn Colors ;:u1cl l'artic1tlar l'en Positio1l # : · The Pen Guide Wheel is color-coded. Simply look carefully near the ce11ter ti1e of \\'heel and rnatch t11> the color of the Pen with the color on the Wheel. · 'l'1.1rn tl1e Pri11t." To get to Pen # 2. press COLOR SELECT: to ~et to Pen # 3. press COLOR SELECT again.etc. \\ie reccn11n1end that ii yot1 knO\v tlt<-it yot1 \V(>n't l>e t1si11g the Prir1lr a \\Thilc (e.g .. nlore t h;_:i.1l a. clay or t'''<>). yc>tl ren1ove l11e Pens front t11e J>rit1tcr a11d "ca1>" ther11 so the ink \VOtl't dry oul. In the S(in1c sc11se. it's a good iclea to rttb tl1e Pe11 1>oi11t back and forth on a piece of paper to get the ink {lowing l:>e(ore yOtt in!'tall it in the Printer. Before you install, re111ove, or rc1>lacc <'n~1 Pens. take a look at (and t.>e:corne f,1r11iliar \vitl1) '''hat's "unclcr the hoocl." 5

Raise the top cover and look at the right side printing area.

You'll see a wire about 1/2'' long pointing to the leh. Above it. and to the right, there will be a small white lever-·the Pen E:jection Le,1cr. Gently press dO\\'ll 0 11 tl1is Je,rcr and t11c \v ~re will go up. \Vhen a Pen is in the Holder, this will "pop" the f)cn out. Rerr1ember! Ne\•er n10\ 1e or rotate tl1c Pen fiol Cover. 2. Pres.< the COLOR SELECT Switch to rotate to the Pen Postion :Ii yer1. ·1. If you're rernoving or cl1a11ging a Pen: · (;entl}' hold the Pen do,vrt \Vitl1 Otle finger. · Gently pres.s clown on the Pen Ejection Lever. If the Pen "pops" into the Printer, hold the Paper Roll ( if installed), turn the Printer upside·down, and J'(ently shake Printer tu1til the Pen f;:1Jls out. De> not 01>erate the f'rinter \vitl1 a Pe11 Jc)c>se in the printing n1echanism or dan1age to the Printer may result. · Remove the pen. To install a new Pen, insert the "ink" tip of Pen into the Pen Wheel Guide hole. (Match up the color on the pen with the color on the \Vheel.) Gently "snap" the other end of the Pen into place. 5. To rotate the Pen Holder the next Pen Position ;;2, press the COLOR SELECT Switch. The Pen Holder will move to the left, rotate to Pen Position # 2. and return to tl1e right 1nost 1>osition. To select Pen Position ii 3. repeat the above procedure. 6. Close the Top Cover. 7. Press the PAPER FEED Switch and the Pen Holder will return to the left margin and will be ready to begin printing. - 6 -

Setting the Print Parameters (DIP s,vitch)

The scuings of the DIP $Witch (on the Bollom Panell of the Pri1ltcr/ Plo11cr determine ho\ ... it ,,·ill 5>ri11t. 'J"hcr O"l\Jst ul~o be a1>1>ro1)riatel)' adjtLSteuter tl1e l)rinter is connect<.'es the sc11i11gs of tl1e [)( (> 5,\litclt. 80 cha r;lctcrs Iler Lir1c I. IS i 40 Characters Per l#ine Carria11c Return Only 2. ISi Carria11e Return and Linc l'et!d JIS 3. ISi ASCII :\o USE 4. NO USE The DIP Switches Set cnch 5,,,it<:h to eitl1er right or left using a tool st1ch as a pencil point or ball.point 1>e11 , ... ith the pen-poir1t retracted. For instance. if you're in Text :Vlodc (see Text Mode ' 11. Graphic Mode), and )'OU \\1ant to print SO characters per lirlC (sr11all print). set Dll' Switch li I to the left. 7

3 Little Background Information

'I'he 11.t\SIC con1n1and to scn tJ1e J)ri11ter is LPRINT. For e'rint) insteacl of e 1>rintcn. for exle. rl'tighl tell tl1e Printer to i>ackspace <>r change t<> ;t different J)en. Ccn1se<111e11tl}'. sorJ'1e f\SCII cor instance, A1>pc11u use the cor1lrnand: LPRINT CHRSC90l ~ T l1e Printer '"ill 1>r·int the letter Z. - 8 -

Text i\'lode vs. Graphic Mode

1'hc Printer llas t'vo rl1odcs of operation: · Text ~vlodc for 'vorcl processing. note '"riting,progr ;:Li-11 listings and progran1 ouli>Ut. • Grar>l1ic 1\1lohs. pictures a11d other vistial creations. Text Mode. On initial power·up. the printer is in Text Mode. l·lo'"e'·er, if the Pri11ter is i11 Gra ptliC !Vlo 5,,·itch ;; 2 is set to 80 cl1aracters per line. the Pri11tcr •viii r>rint in s111all pri11t. (; raphic ~'lode . In tl1is rnode. ~;ot.11 ca11 generhS. i>iCture-s and otl1er visual creal creatio11s. ·ro (>lit the Pri11ter ii1 Grapl)iC ?vlode. send a Control Code 18 (decimal) to the Printer using LPRINT . f"<.>r inst<111ce. LPRINT CHR$( 18) (ENTE'iJ ln Graphic i'Vloc1e. yot1 can tllove cl1e Pen to any poi11t on the paper a11d dra 'v a line lO a11y otllcr poi 11l. r·o\1 11lust think o! tile Pen as l:>ei11g on a Carlesiar1 coordinate J)lanc. \Vith the X-axis ru1111ing left and rig ht (l1ori2ontal) a11e set a1t}''''here on tl1e J)aJ)Cr. \~'hen Y<>11 first e11ter Grapl1ic ivlo

Coordinate (X-YJ Axis

Generali}' spe~lking , y<>t1 c.:111 tell the Pe11 t<> t\\'O thi ng::.: · MOVE (with the Pen up) • DRA \V (with the Pen down). 'l'i1e l'en can n10\1e (or dra,v) l\\'O different \rays: · Rl~l .. A'l'l\' E i\1ovcn1ent (fron1 ti1e. current Pe11 1>ositior1 to a 1>oint relati,•e to t11e pen locatio11.) • A I3SO LU'l'E i\ 1love1nent (fro1n t11e current Pe11 J)Ositio11 to a po int relati .. •e to tl1e Orig i11.) ~!'he re arc tin1es ,vJ1en 01le or the otl1er '"'a>' of 1no,1ir1g '"ill be rr\ore co11\rcnicnt to t1se. How far does the Pen n1ove? 111 both hc.>riz<>11tal a11cl \'ertical clirections. Pen r11over1lent is n1easured in "ste1>s." Each ste1> is 0.2 n111l long- (abottt t l~e size of a J>erioc)) a11d there aper. - 10 -

Care and l\'laintenance

·rhe Pri11tcr is a very reliable u11i1 th:lt sl1ot1lcl gi\re ~1e<1rs of satisfact<>ry ser\·ice. 1-lo,vever. tluere are so111e clefi11ite Do's and Dont's: • Do nc>t 111anipuh.1te tl1c l>en l·Iolclcr I>>' hand. Yot• can \'Cry easily cause d;:t111;tge to the Pri11ter. ~c especially careful \\'ltcn inserting anr<>J>ellerl. Do not 1110,rc it 111an\llly. ·ro 1110,rc it to the right. prerr J)r<>ken r>en in tltc lfoldcr tnltil }'OU can re1>la<:e it. • Cap the pens and rernrn them to their case when the Printer is not in 1..1se. · Do n<>l atte1t11>t to t1se Pe1ls o:r l>aper not (lesig11ed for this Printer. The l)rir1ter cont<.iins a self·test rot1ti11e. To see a.11 tl1e <:l1ar;_:i.cters in tl1e size SJ)ecific''·er 5,,·i t<:h on while holding down Che PAPER FEED Switch. You will see: ~ "Ms.rg,' ( ) * t , - • /0 J 23456789: ; <~>?l!FIBCOEFG HI JKU1NQPQR5 TUVWXY2 (')~ _ ' a.bed e f 9t> t Jk l "'"o pq rs tuvuxyzl : >~s Self Test - I I -

4 Using the Printer/ Plotter

Automatic St.art-up Sequence Once tl1c Printer is pro1>cr l~· co11nected. it \Viii exectite a sttort, built·in routine that resets the Pen Holder and draws four small l>oxcs ilt each availat>le (>en color on 1>0\Ver.11p. ~f'Jtis allo\vS yo\1 to i>e sure that each Pen has enough it1k artd is dr;t\\•ing correctly before ~·ou begin using the Pr ir~tcr. If the ·rop Cover is ope11 on 1>0\\'Cr .up, the Printer , .. 1ill execute the routine f>ut the l'ens 'viii not tot1cl1 the pa1:>er. This \viii prevent the Pens front dra,ving 011 the Platen '''hen pei11g loacled, O D D O Automatic Sta rt -Up Sequence After the fo1.1r l>oxes are dra,,·n. tl~e Pert \viii return t<> the left inargin. The printer will then be in T ext Mode and ready for operation. Manual Operation You can change pen color with the COLOR SELECT key and advance the paper using the PAPER FEED key. Program Control You c.an use aJI tlle Po\vcr of your f' rir1ter fro111 \vithin a BASIC program. Note that you can use Co111rol Codes (CllRS( )) to send instructions to the Pri11ter as \Vle. 'l'he exan1(>les serve {\vO pt1rposes. First. they sho\v ho,.., to t1se tl1e corn1nand beir1g disc1tssed. Second. thc~1 sho'v ho\~' tc> use combinations of co1t1n1a11cls to cira'v '"ith tl1e Printer. 011ce y<>u see ho'" - 12 -

sin1ple it is to {>rc>gran1 the Pri11tcr. }rou can \Vrite }'C>ur c>\vn

graphic 1>rogrart1s. (f.-or 1nore in\10l\1ed 1>rograrns. see .l\p1>endix A.} Control Codes CHR$ (8) Backspace (Text Mode) 1''his co111111and backspaces the Pen one character at a tin1c. You'll find CHRS (8) vcri• useful when you need to underline. Example 10 LPRINT "A" ; 20 LPRINT CHR$(3); 30 LPRINT CHR$(95) This program will print the letter A. then backspace (line 20) and print a il ~uncl(!r} ine. CHR$ (11) Reverse Line Feed (Text Mode) CHRS (11) moves the paper backwards (reverse) one line al a time. This is often used for superscripting characters. 10 REM SUPERSCRIPT DEMONSTRATION 20 LPRINT 112"; 30 LPRINT CHR$C11); 40 LPRINT "2"; S0· LPR!NT CHR$C10l : REM LINEFEED E0 END CHRS (18) Select Graphic Mode \Vhen the Printer is i11 1'ext i\1cxJe, this command 'vi11 put it i11to Graphic Mode. - 13 -

10 LPRINT CHR$( 1S>

CHR$ (17) Select Text lVIode ·rhis con1 r1'1~Lncl is USC{I \\'hc11 text 111aterial is to I.JC 1>rintcd. ·rhcre ;1rc <:>thcr co111111rl nds that allo\v }'hic i\l<>ut C l I l~S (l 7) is the easiest '"a>' l<) cha11gc to ·rrint t<:xt l>ct,veen gra~>hic 111:ltCrial. 20 LPRINT CHRSC17) CHR$ (29) Rotate Pen Holder (Text Mode) This comm;md ad\'anccs the Pen Holder one color. CJI 11$ (29) is used to change color from Texl ~!ode and rou must keep 1rack of what color is next. !I rou want the color be)'01ld the next Position. )·ou ma~· use the co111111ctnd 111ore chan oncce. Example 10 LPRINT CHRS(29) Graphic Commands The lollowinl( commands can be used in Graphic Mode onlr. - ) 4 -

Return to Text Mode (Reset)

A This cor11111a11d 111c>ves the Pen Holder to the left 111argin (\vitho\u dr:1\\1ing text ~'lode . 111 this case. the Origin is also re·defined (re:-;et) ;1s tl1e left n1argi11. Example 1111 LPRINT CHR$(18) 2111 LPRINT "A" 3111 LPRI NT "A" 'fl1is ex<.l1111>!e \viii i>ut the ~'ri 11ter i11tc> (;ra.phic ~1Jode (line 10). Line 20 \1.:ill rrinter to '"l'ext M<>cle. Line 30 \Viii i>ri11t the letter A. c Change Color C cc,/or color is a n11111eric expressiott fron1 0 to 3 · c<>lc>r is optio11al; if 0111itted, 0 is used. If you installe

The fotlo\ving sample progra111 illustrates ho\v the Con,nla11d

works. It also illustrates CHRS (18) which is the Graphics Select con,n1a1ld. 10 REM COLOR SELECT 2111 LPRINT 30 LPRINT CHR$( 18): LPRTNT"C0" 40 LPRINT CHR$ ( 17) ;: LPR! l\IT "I LOVE YOU" 50 LPRlNT CHR$( 18): LPR1N·r"Cl" 60 LPRINTCHR$C17);: LPRIN1 "JE T' AIME" 70 L.PRINT CHR$< 18): LPRINT"C2" 80 LPRINTCHR$C17);: Lf'RINT"YO TE AMO" 90 LPllINTCHR$C18): LPRINT"C3" 100 LPRINT CHR$ ( 17> ; : LPRINT "ICH LIEBE DICH" 110 LPRINT CHR$( 18): LPRINT "C0" 120 LPRINT "A" 130 END RUN i11g this l>rograr11 \\!ill result in: ILDVE YOU JE T' ·AIME YO TE AMO ICH LIEBE DICH - 16 -

,/ (•:ctiur1/;(JJ1 ...

(/<'.<1.ti11<1ti•''' specifies the enclpoint of the point ~'OU '''ish and is a X-Y coordinate. (The startpoint of the line is the current Pen position.) ''''$li11,1tit1u rna)r be repe,ateoi11t. ''I'he destination point {e.g .. the pc>int \\'here the line ends) is ii1 the fc>rm x,y \vherc X ancl Y are a coc>rdinair 'vith respect to the Origi11. lf more than c>ne {>air of coordinates arc specified then the line \\•ill be continued to the second point .. then to the third point. etc. X and Y are values between-999 and 999. Example 10 REM DRAWING EXAMPLE 20 LPRINT CHR$C18> : REM TURN ON GRAPHICS 30 LPRINT ''00, 100, 100, 100,100.0,0,0•• 40 LPRINT "A" 50 END The example will draw a box. Remember that the 1>aper is 480 steps accross and as deep as you ;vish (up to 999 steps). Since you didn't specify a different Origin, the Pen started at 0.0. The corners of the box are at 0,0 0,100 100,100 and 100,0. H Return to Origin (Home) H 1'he H con1n1a11d \viii 1nove the Pen l<> the Origir1 \\fithout dra,ving a line. Example 10 LPRINT "H" I Set Origin (Initialize) I 'T his cornrnand resets the Origin to the current location of the ~)en p<>int. - 17 -

10 REM RELOCATE ORIGIN

20 LPRINT CHR$ ( 18) 30 LPRINT "D2(J0, 0" 40 LPRINT "I" 50 END 1'11is sl)Ol't rOtltir1e dr:L\VS :J lir1e to the center of tl1e pa1>er.then clefincs the center of the pa1>er as the Origil1. J Draw (Relative) J rlr•!ifi11r1tit) t1 ... ,1'""'i11r1tit1u Sl>ecifies tl1c cnci1>oint oi tile point yot1 \vish to oir1t of the line is the current l'en 1>osition.) tlt·~t i11<1 tic)11 nlay l>e rcpeatc an oi1lt. T he ei1d 1>oi11t is deter111incd d~, rncasuri11g t11> X t1nits a.11d right Y t.ulits. {or left and clo\vn if X a11cl Y are negative). 0 11ce the Pen is at this 11e'v pc>Sition. the li11e ca11 l)e continuctt1er point b}' SUJ)J)lying anotl1er ,>air of X· '\" \·alties. ·rhe ne\v i>oi11t is 111easurecl front the previous point. a1)m the <>rigi11;1l i:>en i>osition. X and Y n1t1st l:>e in the range-999 to 999. Exam1>le 10 REM RELETIVE DRAWING 20 LPRINT CHR$(18) 30 LPRINT "Jiii, 100, 100, 0, 0 , -101'.l. -100, 0" 40 END 'fhis dra,\IS the Secifics the corners differently. Read line 30 like this: "l.-r the J>oil1t that is O stc,>s tO tf)C right (in the X-dircction) and 100 steps up (in the Y·direction). Then from that point. draw a line that is 100 steps to the right and 0 steps up, then a line from that is 0 steps to the right and JOO steps down. Fi11a l l~ 1 dra\v a line th;1t is 100 ste1>s to the left and 0 stei>S tti>." - IS -

,\/,, .. \ '

,,. spcci(ics a ~JOY.i Lion on the X-axis •-111c.I is (\ nu111cric cxprc~s ion bet wcen ·999 and 999. ,. specifies a 5>oY-iLion on 1hc ' '·axis ~111d is ~l nu111cric expression bet ween ·999 and 999. The ~! command moves the Pen from its present location 10 the point spec:i(iecl b)· x,)' '''ithot1t dra,,·irlg a line. x ancl )' n1ust be in the rnn~e·999 to 999. Example 10 LPRINT "Ml00,-100'' L Line Type L '."!'•-.. '·''/Jf'• s1>ccific~ the " type'' of line you '"ish to dra''' c111d is a 1l\1tl1c1·ic cxprcssio11 frorn 0 tc> 15. '·"'''' is optional, if omilled. 0 is used. 0 ·is a solid line. I through 15 generate different l)'IJCS of dash lii:es. the greaicr the number. the farther apart the dashes are. The L command lets you specifr different line l)-pes. You can specilr a solid line or 15 different types of dashed (or dotted) lines. The following table illustrates the line trpcs available: Line Specilic'

. - - - - -

.,,.. - ·- Example 10 REM LINE SAMPLE PROGRAM 20 t..Plll NT CHR$ C 18) 30 LPRINT "L3" 40 LPRlNT "J430. 0 " 50 LPRINT "A" 60 END L.ine 30 ~ts the line type to :!. The program will draw a dotted line acrOS..l) the J)ttr>er. ;\dd ail irlSlructiu \vish. p Print Text Characters P «•l1t1rnrtPr ':f rh,,rnNer• is either a alpha·character (A·ZI or a numeric·charactcr. The P command lets }rou print eitl1er alpha· or numeric·,characters while in Graphic Mode without first relurning to Text Mode. Characters ma}' an}' stri1lg of letters or nun'lcrals. After the command is executed. the Printer will still he in Graphic Mode. - zo -

10 LP RI NT "PGRAPHIC PRINTER"

Will print the string GRAPHIC PRINTER while the Graphic Printer is in Graphic Mode. s Character Size si:.t• st>ecifies tl1e size of the 1>rinted characters ancl is a 11tu11eric ex1>ressio11 l:>et\'.'een 0·63 . . '(;zr• is optional: if omitted, 0 is used. 1'hc S conlrlland lets y<>u specify the sir.e of the char acter dra,v11 'vith the P co111rr1ancl. /'(;,;,:. 1nay be a numeric expressic>n bet\vee11 0·6:3: 0 draws the smallest characters size (80 characters per line). 6:! the largest (l character per line). Use this for111t11a to dcter111ine the size oi prilltefou specify: cpl = 80/ (size + I) \vl1cre cpl is tlte nurnber of characters r>cr line ancl si%e is tl''le 11u1ncric valt?e yOtl specify \\•ith the· S com1nand. Q Rotate Print Direction Q 11 specifies '""hich directiort you \vis.h pri11ting to be and is a 1'1tut1eric expression froin 0 to 3. 1lir1•<.'tio11 is optional; if on1itted, O is used. On power-up (in Text Mode), QO is used. I-lo\vever. 'vlte11 }'Ou enter Gr<-iJ>hic !'\·1ode, you can specif>' one of four directions for character printing. See Table below. - 21 -

T op·to· Bottom

2 I~ iRht ·tO· Ldt (Upside down) 3 l-i<>t lcu11 ·to· 'J'o~> J;"or instance. tts.i11J? the \vOr(1 JON 3$ an cxan1plc: · Q0 (leh·torighl) would produce JOl\. · QI (lOP·lO·bottom) would print 0 z · Q2 (ri![ht·lch) would produce NOf • QJ (hottom·to·toJ>) would print z 0 ~ l~xn1n 1>le 10 REM WRITING SIDEWAYS 20 LPRINT CHR$ C lB> 22 LPRINT "M50, 0" : REH ALLOW LEFT MARGIN 30 I·NPUT"TYPE YOUR NAME " INS 40· LPRINT "P" ;N$ : REM WRITE YOUR NAME 50 LPRINT " Ql" : REM CHANGE DIRECTION 60 LPRINT • P" ; N$ : REM WRI TE YOUR NAME 70 LPRINT " Q2" : REM NOW UPSIDE DOWN 80 Lf'RINT"P";N$ : REM WRITE YOUR NAME 90 LPRINT " Q3" : REM CHANGE DIRECTION 100 LPIHNT "P" :NS : REM WRITE YOUR NAME 110 LPRINT "Q0" : REM BACf< TO RIGHTSIDE UP 120 LPRINT "A" : REM BACK TO TEXT MODE 130 ENO - 21

si>ecifies a J)oint 0 11 tl1e X·(txis ancl is a nun1eric

e'prcssion bc1\\'cc11-999 and 999. ,. s1>ecifics a J)oint on tl1c Y ·axis and is a n1.1n1cric c'prcssion bCl\\'CCn-999 and 999. T l'liS C<>111111ancJ 111ove$ the fron1 the Cltrrent lc)catio11 toil1t that is .,. Stt!ps .. ,,.a~· to t11e right (or left if .,. is ncgati\•e) ancl .'· $lCl>!-' ttJ> (clc>'''n if _,. is negiJtivc). Ex;tmple 10 REM SAMPLE OF RELATIVE MOVE 20 LPRINT CHR$(18l : REM TURN ON GRAPHICS MODE 30 LPRINT "Rl00, 0" : REM MOVE TO RIGHT 100 STEPS 40 LPRINT "R!il, - 100" : REM NOW MOVE 100 STEPS OOWN 50 LPRI:-JT "J-100, 100" : REM NOW DRAW A LINE BACI< TO THE BEGINNING 60 LPR!NT "A" : REM AND QUIT 70 ENO I. Line 30 moves the µoint 100 steps 10 the right and 0 steps up. 2. Li1le 40 i110,1es ll1e i>o inl 100 steps clo,v11 a1ld 0 steps to tl1c right. ~t Li11e 50 clrecifies tl1c grach,1ation(distance) i>et\vee11 n1easure1l1e11t r11arks 0;1 t he <.txis and is a nu1neric expression betwecn-999 and 999. ;,,,,.•rr,11 s1>ecifies the 11\uttl>e:r of t i111es that ·"'''I' is tc.> l>e re1>eated and is a 11\u11cric ex1>ression i>et\reen I a11d 255. - 23 -

'l'hc X con1111ancl

let~ )rou dt'(_T\V Cooret,,·cen seg1lte11t 1l1ark$ car1 l>e 4!asil)' set. You itta)' have I to 255 intervals. each one I to 999 steps long. If inten·al is nCStati\'e. the axis will be drawn from the left. or down depending on the ct1oice for axis. 10 !...PRINT "X0, 6, 20" ,,·ilJ clra,,· a \·ert ical axis UJ) fro111 lhc 1->rese11t location. There will be a small cl;ish (grad) every 6 steps (20 clashes altogether). 10 LPRINT "XI, -10, 16" "fl1is co1nrnand '''ill 1>roducc a horizo11tal axis left of tl\C ct1rrent 1'en loc~tio11. ,,·i;h 16 scctio1ls each 10 stc1·>$ a1lttrl. 10 REM X-Y AXIS TO BE DRAWN 20 LPRINT: LPRINT CHR$C18) . 1REM GO INTO GRAPHIC MODE 30 LPRINT "M240,-240" :REM MOVE TO SPECIFIED POINT 40 LPRINT "I" :REM SET NEW ORIGIN 50 LPRINT "X1,40,6" :REM HALF OF X-AXIS 60 LPRINT "H" :REM MOVE PEN TO ORIGIN 70 LPRINT "X 1, -40, 6" : REM OTHER HALF OF X-AXIS 80 LPRINT "H" :REM MOVE PEN TO ORIGI N 90 LPRINT "X0, 20, 12" :REM HALF OF Y-AXIS 100 LPRI NT "H" : REM MOVE PEN TO ORIGIN 110 LPRINT "X0,-20.12":REM OTHER HALF OF Y-AXIS 120 LPRI NT "A" : REM RESET, MOVE PEN TO LEFT 130 END - 24

Printing/ Plolling System

Plotting Spe<~d (Horizontal) (Vertical) Printing Speed Resolt1tion Effective Plotting J~ange CJ)aractcrs 1>er Line Ball Point Pen. 'I color 52 mm/ ser sec lii11it in y r Soft,\·are i1l Graphics ~1ode) Characters per Line = INT (·180/ (n+ I) • 6) for 0 < - n < - 15 .i\ ccuracy (repetition) (.Movement) (Distance) Weight Pen Life Parallel Interface 0.2 111n1 n1a x 0.3 tlllll lll(lX 0 .5,~ 111ax (X-axis) I % (Y·axis) 276 n1111 wide (8..t in) 174 111111 deep (8.64 in) 68 n1111 high (:l in) 250 meters (825 feet) 8·bit parallel. Uses BUSY handsha king. STROBE. and ACKNO\VLEDGE - 26 -

Prints 96 ASCII character

set in 'I colors N orn1al Serial and Parallel Pri11ti11g l1r1age Plotti11g 11si11g tl1e Various cot11n1ancls 18.3 to :;;·c (65 to 96F") ·40 to 11 ·c (-40 to 160 F') 10% to 80% rclati\'e 11011· co11densi11g - 27 - S\vitchi11g ltll)llt i>o\vcr Supl)I}' 100-120 VAC 200-240 VAC 5VDC 3A Output

Appendix A Sample programs

ol ... O "'(M ,, • • : .,.,)T':"ll•{, AGJt..J T• \•• o1:;,o t.PR!ttT:t.PftJ:tT f~84. 12 ·pt,Qt"lltiC. .. &:t.: ~ .· •l0o(I .. Ph!lll .:.H;.'1 ,, It' : 'l.0" 4 70 t.P~111 :" n:..'!.V . -tG v·1 LF~ IU1 " 1 " 480 F=UR J >1(1 T(l ~50 ~l ( P 10 490 ~• l / 130•. :>.14i 'S,; !>(•0 <•~ l< h ~ ••200. S : Y•CO; 1 200. $ ) :S"'O A< l,Z>= •tlTll200, $ > 6 00 tiCXT .i 6 10 LPRlrtT · n·;A( O, i> :• •• :A<0.2> 020 C•2 o SO FOR 1=0 TO 4 ~40 l(i:O . : .O C•C • I: IF C>3 THClf C•O 660 LPRt l'T" C" ;C 670 f'OR J=O TO 10 680 Kcl(• f •I 0 9 0 IF K> 10 THCll K• K• I l 1GOTO 490 7 00 LPRl tlT ·o· ;tl 1 10 riCXT .J 120 NEXT : 730 l,PAJtrr·o·;A( ~ .1 > ;' • • 1AfK ,2) 740 "PR11n""o.-200· 1'-P•1rn·co· 7 ~0 '-PRJrfT C:.HittC 17) 760 Ct4D I ~)(I 1- 1:'1 .... . :, ..i:; ~ L C Pr.O~RAll \~\ 11 \'I l\Lll ._, .. C •-1.'.l ~A,TtF' ! CT (\Ii 12 0 ,. '-R IUT C 1~k1 ( 1$ ) : •i t • t ~ O Li-'i;;; 1: 1r · .,·:i· : :,.PR1 tll CHRt.< 17> 1~0 L .. i"' l trt :t,l='k!U't ' 'O L.f'1tlfrT TA&< l4) 'CUORACTCR (OCT· 100 ..... R llfrCH~• < 10 ) ; '~2"t '-PR lr4T CHR• < 17) 170 FOA t • 32 TO 127 18 0 LO~ lriT C~t < I ) : I ~0 t1C.:..T I !'00 L.Pf'i.lllT;LP-RllIT CHAI < 19)1 ' 51' .!10 '-PRltfl'CI ' :LPP.lrtt CHR• < 17l 120 Rtn ,,~ ~~t ~TC o ro 3 , •• 2JO t,PF: I !4f : L PP.i UT .l4~ -...-kl U1 lt.D<. J 3 > "ROT ATC 0 TO 3' .:~O L ~RI Nl ChRt« 10 > 1LPR'l t4l'S:."' 400 Lf' R IUT 'H" 470 LP~:t rT 'H8~ . -5~' teo Ll'R l t rr ·c~ · ;.'?0 FQi.. I = O '10 J 3 00 Lt>>( 11;(• ()' ; J : LPR 1 llT 'PROTATt:' 2 10 LPR 1rrr · c · ; 1 .,120 t1C:.*LIHt TYP£ ' 370 t.Ml:lrfT t:Hitl < 18> :LF'ftlffl*CO' 300 F()r{ J=O TO~ 3t0 LP'RJHT'L"; I 4CIO 1.PRJrrr· J caoo.o· ~ 1 o 1,,PR1rrr• R -.;oo , - 1~ · 120 UEXT I 4 ! 0 1..PR l t lT 0 $ 1•: 1..PRJ rtT•C:3": t,PRlrtT Cu Rs( l "I> - 28 - C1tl\llll(1(P 5 ( 1 9' ' ~$ Xt' C)* •, - .,0 1 234567S9 : ;<">?OAOCOEFG>NOPORS TUVWX Y2 ( 'l~_ 1 obcdc l9 h;J k Im nop qr $lu~~~ ~ t < : J ~ 2 w 1- ([ l- o ~ /0 0 --l ]) [Tl 31 Id l OCJ ................•••..................... ····· ·········-·-·· ····--· · ··· ·-·

te at ACn

1 e2e Ren t 939 RCn lMMMMXXXX l l XXXXXXXXXXXlXXXJXXXXXXXXX•X•JJJJJ•Jl,XIXXXXXXXI XXX 4 Pe ft Co lou r Gr•p~tc: ntc:ro Plotter l'Pr1nt~,. 11CP- 4 8 •• ······~··•,XY.X~XXXXXXX~~······•••w·~-~(· ···,.·••r••········ IO•t Din ~ <3 > ,00ATA ( 3>,C< 3 > ,ST<3 ),0( 3 > 19,t RC" ' t ( f GlltPPU OCt"..O X, .( ! I06t LPRtrtt en" ( 1e' :t7t Lf'tt:rlf "C?'" lt8t L"'ft!•lT " $:"" 1LPRINT"A" tt•t \.f'Plrl'l" •• P£tt C"~IOY t G'•PhlC: " :1 er L ll'fl:Jrtr c •tot: < tt > ;CHA"S.< t&> 11 19 LPfJlffl'"CZ" 1lPRIHT·s2- 112e LPRl,.,,. "A" l l PPI'".. "ic:,.o P lotterl'P"'"'•' " ! 110 LPRlflT CHM < 1 1> 1CHR'S( I Bl 114 9 LPRl t1T •t 1· 1109 LPllt lt1T·S~· 1160 LPA Jr1T· n· 111& 1.Pft l t lT" 11 eo fllCM •xx 1 19 0 RCf1 HCP · 4~­ SI U &< COS 12(\0 I.PA I rrr CHRt-( 18> l LPR lltT " H" 12 10 LPR l ltT "tt• 1220 1.PR 1r1r · c e · 12'.30 LPR I tff "Mll'I, o· HX 1240 Lfllt l ,,,..,..~. SI U " cos GRAPU xxx· 1 2~& LPR ltfT " M0, · 'I~" 124.fJ L.P~ I tff • C2 • 12,.8 LPR l tfT "P$1H" 12ee LPP I Hf"R~,18 " t 2•t LPMIHT "J39,9,9,3,-39,8,9, -3• 13et L.PPI ttT ·no, · 7 e · t31e LPPIM"•C) " 13':!°9 t.P•t*#f•~ · t )'Jt \.,Ol>lffl•~, tt• ' ' "' t.P•t tfT•.,3e.e . e .3.-3e,e.e.-3· 11'' 1ttn ·w,• f'\.OT AY.IS 1•• '"~fl Lllllt: rtT ·ce· 13'19 LPPI NT"tt24C. · 208' 13(1 0 \.PA:lt•f•"Cl , 60 ,4 " 1 ;iY·• 1...,R I Mr• t124G , • 200' l•••'iO t,,O'' ltlT"'< l , -60 ,'I" l •llt': L"R 1r1T" t.'3• 1 t ;o 1.Pr>1trr·M1Ze , - 190· i 1..,ioa 1trr · e> 120 , - 299• I '1 3 0 I.PP I UT' M2q0 . - I oe- t LPR I t(T . 024 0 ' .. 299- 1 'l'l01.P~lr •T"M 3~ 0 . · 1 "0 " i LPP. l t.l00 '(•1.1"<3.142•2>•480 1~·· ,,,. 1r ••• TH(H LPR(«T •n• ;.x;·.- ;-Y LPftltfl " O" i X ; •, • i·Y , ,:.. , ,,.. ,,o. ,,,, r;CX'f lfl'C" • ·" If COS GRAPH J i:ll LPRIHT"C3" r oR 1•e TO J .t42X2 STEP .ez X• 11'<3 . 14ZXZ>'!489 Y•28 1 •COS< t '19° 1600 16 10 162'0 I F l• O T .. EH LPPl t fT " l'i" ;X ; •,• : -Y 16 3 0 t.PP: l t,T· o· 1x 1·.-; - Y 16 118 tiC'.'< ~ 1 6.,~ R€M . ,. Bnlt ~RA~H ~~· I Ci66 ~CM · ~· '6 LPOl llT CHRt ( 10 ) 1LPR 1flf"t10 , .. '100· 1LPR 1t rr•A• 1LP~IUT CUft• ( 1e>iLPR1ur·t . 1606 ,on l • I TO~ 16t6 PtAO At ( I' ,DC>ATA< T) , C< I > , ST< 1 ) 1'06 rltYT 11 1e S•O 172& FOV 1•1 T~ ~ 1730 s~s • O OQf Af l) I ?''18 ttf'"'T 11::i;e O.Cl""111t 1• ~t - 29 -

1769 FOR J • 1 TO ::>

1771 H ~OOATAfl )/S W IOt 1?81 IF' ST< I >•5 TKf;ft ttN• 2 17'1t J~ I<~• THtH H«• I 1811 GOSU91$?t 181t Nf:XT 1129 OOTO 221* 11i t R£M 'lll GRAPH L INC l;~I 18 4& R£M 18!.0 LPR J t LPRfrrr·n·; t• ~ •i · '. 1·J1LPR I trr- 1>· i lll'. ~8•40 1 " '. 1 ·J NEXT R£TURN FOR J -e TO 4e fnCP $T LPRI trr• n · i r 1:i6 • J I .. .. 1-2•e• H• 21 LPRIH'T ·o· 11 •:1e · J 1 • • - 1- ltt N[XT 1•ee '"'" 2998 RCTVRH LPR1 rrr· ce· LPR I tfT . M2:.' - lff• 1LPR IH'T"Xt I ze. l O" LPP. t tfT • n2~, - t99" it.PR t trf'• 02:1 . - t ?9, 3 ~ 9. - 199 ° LPP. I rrr. LO· 20l0 202C, 203(1 LPR 1trr·nz3· ;· , · ; -ieoi LP R1rrr·o2 ~· 1 • ,- ; - ieo; · ,·1 a :1e 1· ,· 1- 100 LPR I ITT " I., e· L fiP.11'T" M6 ,0' 2(14(1 i..PA 1 lff • S ! • 2 G!>(I L ~RIHf • P ~ ~ Y • Ol'IR ORAPH )()()()( " 2 06 0 LPRtNT ·ne , .. 199 • 2979 L0 R! HT · se· 2ece L PR!HT "P O'/." 2e•e ~DP.fHT " ne, -09 • 219t LP~l«T "P 5~/. " 7119 l.,~Pltn"P19 0 t• 2l2t LFP.IH'T 'Pt819v." ,,,. AfTUAri 21 .. e 2 108 2 l 6 8 2 l70 2 180 2l9 G 2210 22 l0 2229 2231 2249 2251 226t 2279 ::e9 22•• 2309 2~ t9 2329 23:30 2149 23,e ?36(1 2370 2309 23'19 24169 2419 2421 2""' 2•::>1 2469 2471 2400 'l 49 9 2,00 OATA • IKC, 4 251 6, 1, 3 OATA • ltlC,23338,2,3 OATA c r ttt,?8 1?'1 , 1 , J OATFI 0 lfiC, 11 200,4, 3 OATA c I NC, 04 651, 1,5 RCM RCt1 Xll'.JC Pl ORAPH ... R C STO~C L PRI HT CU~ ' ! e) : LPP IHT· co· l,PRI HT 'M8, - 388° 1LPR I HT 0 $ 2" ; LPA:f tU ' A " :L.PRJNT" LPRI MT CHi:ts ' 19> 1 LPAI Hf• I 0 tLPRI HT ' S ! 0 LPRlffT 0 P1e, 0 1ee,1te,- 1ee• LPR!H'f " I · FOR 1• 1 TO 3 ~A~ A-t , OOAfA(l > , C,ST flCXT ••• FOP l • I TO 3 S•S• t>DAT'A< I) Ht :•DDA TA< l )~9 ~ 100 r.oR I • ~ TO 100 STEP 2 X• I t•T < $1 UC S>lt I t i> 1Y• I tff(C05($7 ! I 66) I F 1 • 9 TH£H LPR IHT · n·1x ;•,•;v LP'Ftlf'fT ·o· 1x1" ,• \Y NOJ( 109) 1Y•I HT LPRtur ·u· 1LPR1 uT ·o· 1x; .. . . ;Y tlCXT ••• FOR l•I T O ~ - 30 - ..... , Pl ().RAPH lt lt lt lt 0

2 7 I C)

27.26 l ? 3 0 2749 27, 1 2741 2771 2781 27,1 """ 2816 2021 2831 2e•1 2.,. 2861 287 t 2000 20•• 2f09 29 11 2920 2f3 (1 29"(1 l.PRllif · c ·:c OC.•0• 3 . 142,;2/ I 0&; PS•PX3, t"l2X2/ I &6 O>C• l HT\ GIN( OS> X 1 t'l8> ; OY• I lfT< COS< OS>J( 111) PX• 1 tfT(St t«( PS> x 1 ee> : PY•! «T STAiltl. I eot CEt4Q•- tee :fl' OV> .. t RtG> PY>•& TH£tt ECHD'"t : F O"l'(•t ANO py( .. 9 Tttt:t t START•& t"OR "'•$TART TO CCHO STEP - ST < I ) , .. zn .soq < aeeee- YXY ) IF' y ... 9 TMCl'f ZS• 3.1421'2aGOT0265 t l $ •AT•ICZA/Y) I ~ ZS<& THCN ZS•ZS• 3 . t42 IF OS•l tlT1J•.J • I zs- a . l42•2- zs IF 0~• 0 TH(N 2?3 0 X•Q)t/QY)(Y IP SGN <>SGN TUCtl 213 8 lfl SGIU Y> () 8 ANO SGN<0Y)()S0H(Y) THP!tl 2139 i'1 .. )::OR < X~X. • Y.(Y) I f ZT< •lOO T~ CM O• IMl(X)1J• J •I IF PY• e TH(U275>e X• PXl Y/PY I F SOU< X><>SG.H<>e AtfC> SGHCPY)<>SON THl:N21tl ZT•SOR Ill' ZT(.,.198 TKEN O( J>• ltfT(X , 1J• J• I IF OS tftH•L FOR: L""U• I TO J-1 IF' O 1ntf•L MCXT C OC Mt4 >• 0 :O • • • 0 ; Y : t.PRltfT• O• 10tlF J(29 THCN 1818 l t 3e L P ~ I NT 0 n• e ,e•:t.PA:IMT 0 P'i As ( J ) 3149 FOP K•I TO 11 - t.Cff( AS- ) , ,,, t.PPI NT•P•:NEXT 3 16 1 L·~R lttl ' P •i QDfoTA < ~ > : ' Y. ' 3 t 1t t..PRl tff ' rlt , •lt" ,Ottft f..CXT '!t•e LPRlt1T•ne, - 100· :LPRIHT' A' 2: 108 Ct.ct - 31 -

4 PEN Colour Gr ap h ic

Micro Plotter,Pr in t er [ . ( ' . / ,-) . I I ) ... - ·' I / ' :\....,. I~ . *** SIN & COS GRAPH *** S .i i'1~ CJS~ · 0 l 1'4P I p 31'4PI 2P l ,~ **** BAR GRAPH **** ~ --------- ---- -- ----- .. **** Pl GRAPH **** i;;::J 'I JNC 40. 94 :r Fl B JNC 2q, 4 !37 :r EJ C !NC !9. 3808 ,t EJ 0 INC !0. 7863 :r r:j E JNC ~ . 47922 x - 32 -

Appendix B Commands Summary

CHRS ($) Backspace in Te xt Mode. LPRINT CHRSCBl CURS (II) Reverse Line Feed in T ext Mode. Moves paper down one row. LPRIN1 CHRS(ll) CH HS (17) Select Text Mo(Le. L PRINT CHRS(l7) CHRS (IS) Select Graphic Mode. L PRINT CHR$( 18) CURS (29) Chanl(e color in T EXT mode. :\ Reset Pen :11ovcs to left ;11argii1 (\\•itl101.1t ecificd clestir1ation. If there is r11ore t ha11 one point the lirie co11tir111es to tl1e seco11d 1>oii1t. etc. Current Orig-ir1 is used. LPRINT ··o··;x••,••;y LPRINT ''02401100''. H ivloves l'er1 to Cl~r rent origin \vithout dra,vi11g line. LPRINT "H" - 33 -

Sets 11e\v Origin (i.e .. the ct1rre11t

~'en locatiori}. LPR I NT "I" J ,,,.~,;,,,,, ;(111 Dra.,vs a li11c fro11n Cttrrent l'en locatio1) X steps lO the right and Y steps up. 1 .. '·''/)(' LPRINT "J100. 200 . 300 ,-2 00" Change Line Type from 0 10 15. 0 is a solid line. 1·15 draws botted (dashed) lines. L PR I NT "L3" !Vlove (:\ bsolLtte). :.01ovc \vichoutt dra,ving to locatic>n x steps right (left) ande ." steps up (down) or present origin. LPRINT "M111J0 , - 100" r• t·l111r11ctt·r." Pri11t c.haracters i n Grapt1ic M<>cle. LPRINT " PTODAY IS ";ORTE$ Q rlirt•t·ti()tl Cl1ange 1>rint direction. tlirc•t·tit>11 is 0·3. 0, nor111<1I, lcft·tO·r ight: I, to1>·tO·l>c>tton1: 2, \tJ>Side dO\vn: 3, bottom·tO·top. I{ _, . ._,. LPRI NT " Q3" :vlove (Helati,•e}. Mo,:e \Vithotu drrescnt locatiorl to lo<:ati(>n x ste~>s t<> t11e rigJ)t (left) anresent location in iu 11:.rr·1r/ . .; directio11 soccifie(I

Appendix C ASCII & JIS

Character Set ·rhc follo,,·ing tHl)le lists eacl1 cl1arncter the 1:.rinter will print mid the ASCII & JIS cock that will print it. _r ASCII I o I 2 3 l ,, o I 10 1@ 1 OCl 2 1 A 2 I " 2 B OC2 31 j:j 3 c 4 $ 4 D s Y. 5 E 6 I & 6 F ' / G 7 8 I as ( 8 H 9 I ) 9 I A I LF * • j • (VT) + • K 8 LU ' c ' < L - - M 0 CR NC - E • > N F / '? 0 ' (NOTE) BS .:!.. s 6 I 7 I u ~ ( p (). q R s T LJ IJ w >< '( 2 [ " J A - b r c s d t e u f v 9 w h x ' .Y I ' z .J k { l I I m } n "" 0 ~ Back Space (#i11e 1-'eecl Line Up Carriage return 9 A - . I • r I ..J I , , 0 7 1 -{ ? :r ;t t :1 3 v JI s 3 c . - ? 7 f 1 '_'.) '/ -T I ~ .if t n -- =t x ? i 'l' ) J ,] 1J t :; ] I\ l e ill y 7 LF Lu U CR l>CI DC2 NC Device Control I (Text Mode) Device Control 2 (Gtaphic Mode) i\ ex.t Color - 35 - 0 -- ~ .:::: J I L 17 J 3 - 7 t) I~ [., D ? j ,, Q

Other Printer Manuals