DocumentationforFXPRINTERMarch11,1984FXPRINTERallows,throughthefunctionsthatitholds,ausertoprintLispfilestoanEpsonFX-80printer.Followingistheuserdocumentationthatshowshowtousethisinterfaceprogram.Forthefunctionstoworkproperly,theEpsonIntelligentSerialInterface(Cat.No.8148)mustbeinstalledontheEpsonprinter(Ifyouownan1100,anddonothaveanEpsonSerialInterface,youcanusetheFXPARALLELPRINTERcodeanda37-to-36pinparallelconnectortocommunicatebetweenprocessorandprinter.CheckthereferencemanualforpinassignmentsandtheFXPARALLELPRINTER.TEDfileforuserdocumentation).Thisinterfaceallows2Kbytesofstorage(frequently,theprinterwillberunningathalfspeedsothatstoragewillbenecessary).TheSerialInterfacehasaseriesofDipSwitchesthatmustbecorrectlysetinorderforproperinterfacebetweenLispMachineandprintertotakeplace.Althoughsomeofthesearefactoryset,itisagoodideatocheckallofthembeforestartingoff.Therearetwoswitchboards,locatedattheopenendoftheInterfaceboard.Tables1and2onpages4&5oftheIntelligentSerialInterfaceusermanualinstructtheuserhowthesesettingsshouldbe.Thoseofimmediateinterestare1.Bitrateselection-thisshouldbesettotherateselectedwhenqueriedbytheprogram.Switches1-5,1-6,1-7,and1-8controltheratesetting,andshouldbesetatONOFFONOFF-For300baudrate,ONOFFOFFOFF-For1200baudrate.OFFONONOFF-For2400baud,OFFONOFFON-For4800baud,orOFFONOFFOFF-For9600baud.Thefastestthattheprinter-1108interfacecanrunatis9600baud.2.Flagresettimingselection-TheserialInterfacewilltakein2Kofcharacters,andthensendaflagacrosstothetransmittingmachinethatthebufferisfull.Theinterfacewillthenclearadesignatedamountofthebufferbeforeresetingtheflagandallowingmoreinformationtobesent.THERESETTIMINGISINITIALLYSETTO152BYTES,ANDMUSTBECHANGEDTO1,936BYTESINORDERFORPROPERINTERFACINGATBAUDRATESABOVE1200.Switches2-3and2-4controltheflagresetselection,andshouldbothbesettoON.Allotherswitchsettingsarefactorysetcorrectlyforproperinterfacing.Thatis,switches1-1,1-2,1-3,1-4,2-5and2-6shouldbeOFF,andswitches2-1and2-2shouldbeON.CABLECONNECTIONSBETWEEN1108ANDPRINTERFortheconnectionbetween1108andEpsonprinter,acablemustbemadeupasspecifiedbelow.ThiscableinterfacestheEpsonSerialInterfaceandtheRS232portatthebackofthe1108.Thecableisamale-to-male,6conductor,25pinconnector.Pinconnectionsgostraightthroughasfollows:Pin1goesthroughtopin1,pin2topin2,pin3topin3,6to6,7to7,and20to20.Onthe1108end,pins4and8shouldbejumperedtogether.p c/ aq aa a _r __ )_ ^Ns ^N^NICq^N \cq \c\c \c Zt ZZ [ - ZrZEZtZZuZW"%- 0w168.;=AE[HJJZ Y YY ASA!n"%)(K 2349]<_=@C1I$I$Y W WWW V VV V T TT J R (\"%() 0#4:=~@CGYIGIGT S SSQ5"%'p+>-/2^57<@ FlIIS Q QQ C!%O()+.16<> GGQ P P P m,r#&6,136 >qA0CCP N NN?y!$/x28x<>BD.ISISN M MM o#$'K+-X0 5E79 AGADiHeHeM K KK_"%))+1 3F48:?@E3E3K J JJ|; "]%f))035q9A;@hCD!EFJ:J:J H} H}H} (!$F&YH} F FF J R #,R$`%(E+.0*28<=QACEFHHF Ew EwEw&C? 4!0'.*P/U4z69<@FJJEw C CC B {b{!C B8t B8B8 B8 @g @g@g  : ^ * *@gv@g@gt@g@gu@g#%(*}-Q07<BPDG[G[@g > >>+b"!$|)U+.36E:<?@I> =t == = ;B ;B;B  : ^ ;Bs;Bd6*<!&));B 9 99  : ^ A3,*0"'*9 8 88  : ^ :Z"'18 6 66  : ^ :3S"')96 4 44  : ^ :3,*0"'H4 3-t 3-3- 3- 1\ 1\1\  : ^ ^1\u1\)T $,/B2?459>>1\t1\>1\ / // / - --  : ^ * *-v-/!-t-""-u-"w%*V14j89= GJJJ- ," ,","] %+.[0463893;ADXGG," * **u  $&((.p03~6=;?x GHJJ* ) ))__)t))s)$a'a),O149;FByDHH) ' ''b#_ .196J<AF|F|'t'GbGb'u'GG' & &&c"}V"d% ,_/368;"<<&s&>&u&??& $Lt $L$L $L "u "" X!#)+0` 78B;y=;CEHH" !1 !1!1 lss!1s!1!(!1u!1!$*,/1688!1s!1:!1u!1:!1 ut uu u v 8 t',,0W7 t   Wu WW   p. #Y',-156:<>DI,IIW    r.#*)(+.B257@9=>@DD t   wo "# *-'/ 88u; EZGG  uB!   J ^ A^+ z zz  :  hnz    :  hn t tt  : Et  : E n n n  : Q3 ek n t [ - h : w Q%B $A%+(-y5< t   5 q?[CABLECONNECTIONBETWEEN1100ANDPRINTERTheconnectionbetweenthe1100andtheEpsonprinterismadefromtheEpsonSerialInterfaceandtheRS232Portthatmustbeattachedtothesideofthe1100.Theconnectorbetweenthetwomustbeamale-to-female,6conductor,25pinconnection.Pinconnectionsareasfollows:Pin1goesstraightthroughtopin1,andpin7topin7.pins2&3crossover(2to3,and3to2),andpins6and20alsocrossover.RUNNINGRS232.PRINTAfterloadingthefileFXPRINTER.DCOM,callthefunctionRS232.PRINTwiththefile,bitmap,orwindowtobeprintedasitsargument,e.g.(RS232.PRINT'FOOFILE).Thefunctionwillthenquerytheusertoseeifthepaperiscorrectlyset.Ifnoanswerisgiven,itwilldefaultasno,andasktheuseragain,untilaresponseofY(es)isgiven.Next,theuserisaskedwhichbitratesettinghe/shewishestouse.Ifnoanswerisreceivedwithin60seconds,thedefaultof1200baudisused.Note:MakesurethatthesettingspecifiedduringprogramoperationisthesameasthatsetontheEpsonprinter.AlsoNote:WhenbitmapsandwindowsareprintedusingtheFXPrintercode,theyarerotatedbyanegative90degreesonthepage.Ifthisisundesirable,callthefunctionRS232.PRINTwiththeSECONDargumentnon-nil,e.g.(RS232.PRINT'FOOBITMAPT).Bitmapsmaybeprintedintwosizes;normallythebitmapisprintedusingalargesize.Ifasmallsizeisdesired,thencallthefunctionRS232.PRINTwiththeFOURTHargumentnon-nil,eg(RS232.PRINT'FOOBITMAPNILNILT).ThiswillcauseFOOBITMAPtobeprintedabouthalfthesize.Thequeryforbaudrateselectionmarksthelastoftheuserinteractionwiththeprogram.Atthispointthefileisprintedoutwithallfontssetinthefileintact.Thepaperperforationsareautomaticallyskippedoverifafileisbeingprintedout(thisdependsonproperinitialpapersetting,sothepapershouldbesetcorrectlyatthebeginning.)andtheendoffilemarkstheendoftheprogram.Iftheuseralreadyhastheprintersetupcorrectly,andwantsthebaudratetobe9600,he/shecanavoidthequeriesmadebytheprogrambysettingthethirdargumenttoanon-nilvalue.Thiswillcausetheprogramtoskiptheinquiries,use9600baudastheratethecomputerissetto,andbeginprintingimmediately.Anexampleis(RS232.PRINTABITMAPNILT)ThisinformsthefunctionthatthebitmapABITMAPistobeprinted,itmaybeprintedrotatedby-90degrees(whichwillallowtheprintingtotakeplacefaster,usingaquickerbitmapaccessfunction.),thebitmapistobeprintedinthelarge-sizemode(whichisfasterstill,usingaquickerprintingprocess),andquestionsaboutbaudrateandpaperpositionmaybeavoided(i.e.,assumethepaperisinposition,andthebaudrateissetat9600),sothatprintingstartsoutimmediately.Printingoutafiletakesplacethesameway,exceptthatthesecondandthirdargumentsarediscardedbytheprogram,sinceafilecannotberotatedonapageorshrunk(Inotherwords,calling(RS232.PRINT'FOOFILETTT)willnotcausethefiletoberotatedorshrunkdown,butwillcausethequeriestobeskipped).Sinceprintingofawindowwillfirsthavethewindowtransformedintoabitmap,callthefunctionRS232.PRINTthesamewayforawindowasonewouldabitmap.AquickrecaponcallingtheFXPRINTERcode:RS232.PRINThastheformat:(RS232.PRINTFILENAMENOROTATE?STANDARD.SETUPCOMPRESS?)WhereFILENAMEisafileorabitmap,NOROTATE?determinesifthebitmapistoberotatedornot,COMPRESS?determinesifthebitmapistobecompressedornot,andSTANDARD.SETUPdeterminesifthecomputeristoavoidaskingquestionsbyusingastandardsetupform. ^ bv bb8 D%*/'6b `2t `2`2 `2 ^a ^a^a  ^au^ao rX!,%I(+i067B>B\t\>H\ [ [ [ [ - h :[ v[ 9!#'+6-.;J>[ YY YYYY YYuYY #&)V0(YY W WW J ^  u " W V= V=V=  : KhPV= T TT J ^ ' e!#%%T S7 S7S7  :  S7 Q{t Q{Q{ Q{ Ov OOt (OtO.O M MM M L$ L$L$  L$uL$3G*n-0W7 AEqHEHEL$ J JJ J}!#%t,E. 8x ?BHLJJJ I I I l$.#6$*-'-.056;<6>CTE!G}JH@6CFFB Aw AwAw^Xp # + /36<?A@GJ,J,Aw ? ?? " -0<3*: E8I I ? >U >U>U "& 2C <?P?FJU < << [sK$'-/n5:4;?CD^EG4G4< ;3 ;3;3"%, 7;>EE;3 9 99C ') 145)8$::>AFF9 8 88j$x'*./?/E8 6&q 6&6&  6&u6& -#?'*-W/115+ ='@CIJ"JJ6& 4 44 G2l #$(S*,.i045B8 < D$FF4 3/ 3/3/  /Li "%*-+0B68<@eDmIpIp3/ 1 11 &.!#y% -b0!2|5;69 =??BYCFJFJ1 0) 0)0)0) . ..  >] D"~$x *+'-14T7:;B GII. -# -#-#$4#%*o,0 6|89/=BBiEvGG-# + ++u6 $@&*J-/2470=>A9C1CFHJ0J0+ * **/ 0K " * ( ((  : ^ ^(s( [8(u(>( ' '' ' % %% #?- P">%U+-1.057 :;@EGII% $ $$oop"$C'L+/n3A4^9x;f>}CI JJqJq$ " "" MZ8 &*./36:;@FF" ! ! ! 5L"_%2'+1b4X6F;>CFNJVJV!   R ]H {"$?(*_-'2d6?8 @AOFIJ%J%   ,"%i',-!/3#:B<CNE'GG  '#%&*T,026o;? II   r #/$&+-B1608:?'AFH(JJ | ||wh;X"$'+-o2 :=q>@|CFHH|   "x$%*,/n3469 v vv v    `1-'%( p pp p   J R  Z  bs u! j jj j   J R  Z  bjrs K!* 7g @Pu@V d d d d J R  Z  b s { u 3P!7"T'c'c s / u 0 7x8:?@BDIcIc ^ ^ ^  ^s ^h ^u ^0  #') *, 46x9A<< ^s ^ H ^u ^HH ^   ]zD:#'./34:>A  q?[1.Forafile.a)(RS232.PRINT'THEFILE),orb)(RS232.PRINT'THEFILENILT),toavoidqueriesonpaperpositionandbaudrateselection.2.Forabitmaporwindow.a)(RS232.PRINTABITMAP),orb)(RS232.PRINTABITMAPT),sothatthereisnorotationoftheimageonthepage,orc)(RS232.PRINTABITMAPTT),sothatthereisnorotationandtherearenoqueriesfromthecomputer,(thiswillrunslowerduetotheavoidanceofrotatingthebitmap.),ord)(RS232.PRINTABITMAPNILT),sothatthereisrotationoftheimage,andnouserinteractionwiththecomputer.e)(RS232.PRINTABITMAPNILNILT),whichdoesthesameas(a),exceptprintsthebitmapsmallerthanin(a),orf)(RS232.PRINTABITMAPTNILT),sothatthereisnorotation,asin(b),org)(RS232.PRINTABITMAPNILTT),orh)(RS232.PRINTABITMAPTTT),sothattherearenoquestions.PLEASENOTE:IFUSINGTHEFX80ASYOURDEFAULTPRINTER,THEDEFAULTPRINTINGHOSTMUSTBESETTO'FX.80,ORTOALISTOFPRINTERSWITH'FX.80ASTHEFIRSTELEMENT.YOUMAYWISHTOSETAVARIABLECALLEDDEFAULTLOCALBAUDRATETOTHEDESIREDBAUDRATETOAVOIDBEINGASKEDTOSPECIFYITEVERYTIME.LIKEWISE,YOUMAYSETAVARIABLECALLEDSUPPRESS.PAPER.SET.FLAGTOTRUEINORDERTOAVOIDCONTINUOUSPROMPTING.IFYOUASKTOPRINTABITMAPTHATISTOOLARGETOFITONTHEPAGEASSPECIFIED,THECOMPUTERWILLDETERMINEAWAYOFPRINTINGTHEBITMAP(TRYINGTOPRESERVETHESIZE),ANDWILLASKIFYOUWANTTHEBITMAPPRINTEDTHATWAY.BYRESPONDINGYES,YOUWILLGETTHEBITMAPPRINTEDTHEWAYTHECOMPUTERDIDIT.RESPONDINGNOPRINTSTHEBITMAPTHEWAYTHESETTINGSWEREORIGINALLYSET,ANDRESPONDINGABORTWILLCAUSETHECOMPUTERTONOTPRINTTHEBITMAP.Atthemoment,Tedit,LafiteandPressfilesmaynotbeprintedontheFX80. ^ b u b b b ` `` ` _ __ J R  Z  bg x~_ ] ]]  : ^  f ]s] }]u]Y a  s" "&] \ \\ J R  Z  bjr"z*2:BJRZ\s\ #}),h-\u\..0e4,9<;6?>DGfGf\ Z ZZU Z Y YY  0Y W WW  : ^  f WsW }rWuW"!7W V VV  : ^  fVsV ]VuV "%e) *i,c13?59;>#B CdV T TT  : ^  f TsT }Q!2TuT!"D$&*+-3)59;=BF?HHT S SSBB!"$+-o25: z'+/2!579@AA= I:u:>@CJ_J_: 9O 9O9O&.u#&,0-26u9O 7 77 7 6I 6I6I  : B J 9 A'k-5-56Is6I@6Iu6I@CECE6Iw6IF6Iu6IGWII6I 4 447~ )i4 3C 3C3C 3C 1 11 J R  Z  bjr"z*2:B'I$%O*.0x38;)=?CG7IgIg1 0= 0=0= !*&+p.128;/@FI I 0= . ..F $%(-`0v6LIBRARY>FXPRINTER.TED;3 WOODY.PASA29-Aug-84 16:54:59