1XEROXLispLibraryPackagesFX80STREAMFX80STREAMisalibraryofroutinesthatdefinesanewflavorofimagestreamsuitablefordrivinganEpsonFX-80dot-matrixprinter.WithFX80STREAMyoucanusethefullsetofInterlisp-Ddevice-independentgraphicaloperationstocomposepagesonyourFX-80.FX80STREAMiseasytouse,andcaneitherstoretheFX-80outputonafileforlaterprinting,or,whenusedinconjunctionwiththeRS232package,willdirectlydriveanFX-80connectedtoyourworkstation.OutputissenttotheFX-80onapage-by-pagebasis:wheneveranewpageoccurs,eitherasaresultofprintingbelowthebottomoftheFX-80'sclippingregion,orofprintingaformfeed,theimageofthepageissentenmassetotheFX-80.INITIALIZINGTHEFX-80·connecttheFX-80printertotheTTYPort(ifonaDandelion)orRS-232portofyourworkstation.·turntheFX-80on.·loadtheFX80STREAMandRS232packages.·call(RS232INIT)toinitializetheRS-232filedevice.USINGTHEFX-80YouarenowreadytoopenanimagestreamtotheFX-80andsendtextandimagestoit.YoucanusethefullsetofDIGoperations,includingBITBLT,DRAWLINE,FILLCIRCLE,etc.todrawontheFX-80's576pointwideby792pointhighpageat72pointperinchresolution.YoucansendyourTEditdocumentstotheFX-80aswell;thefollowingexampleswillillustratesomeofthesecapabilities:·Evaluating(SETQFX80(OPENIMAGESTREAM'{RS232}FOO.FX80))willsetthevariableFX80tobeanFX-80imagestreamconnectedtoa9600baudserialline.Ifyou'dliketoruntheprinteratadifferentspeed,firstsetthevariableFX80BAUDRATEtothedesiredbaudrate. êq?€`½ îïp`¬ÿ êq?€`½îïî êïg_p`¬î+oï5q`Xî+oï5î,4ï5î “ïf‡î ëî ëïf‡raºïf‡înî×GîJjïe«îJjîJjïe«î—ï_xî—ï_xî—ï^Ýî—ï^Ýî—ï^Bî—ï^Bî—ï]§î—ï]aþû�î6’ï]§î6’î6’ï]§î6’î6’ï]§î—ï] î—ï\ûþû#î6’ï] î6’î6’ï] î$›ïZ*t`i î0�ïZ*î—ïXˆs`#î—ïXwþû#î6’ïXˆî6’î6’ïXˆî6’î6’ïXˆî6’î6’ïXˆî—ïWíî—ïW§þû�î6’ïWíî6’î6’ïWíî “ïUq`X îìîLîiî¿îVî"ßî%§î* î+¾î.´î2›î41 î<ºîB îD%îHÔîJÂîJÂïUî “ïRÑîpîý îJî!³î"‡î&: î0î33î6bî9{î³îEçîG”îJÂîJÂïJ‘î “ïH^ î×îYî;îÅîúîºî"?î&{î(Ÿî)æ î33î7eî>î?[îE§îJÁîJÁïH^î “ïF+îßîýîkî£îŠîî#‡î&3î+Rî-9î/åî5Yî;î@2îB0îDîI¤îJÁîJÁïF+î “ïCøîî[î�î%î€î î!dî$oî$oïCøuïCøî&ïCøqïCøî&]î&]ïCøuïCøî*{ïCøqïCøî*Óî,iî.Äî2àïCøî “ï@v î/îMîµï@qï@îµï@î “ïPîAîBÅîFVîHgîJÂîJÂï&æî “ï$³îÍîŠî0î”îƒî@î"æî&î)¹î+Yî-Qî0÷î3î6¬ î=Öî>DîAFîDîG”îJÂîJÂï$³î “ï"€îÀî©î¼î”î!#î#mî'!î)ùî0�î7oî:T î@šîDÞîFñîJÁîJÁï"€î “ï M î(ï Mî “ïsî › îKïsî “ï™îî¸î"šî0ï™î “ï¿î þî<îšîùî–î/î!î!î%( î-³î4Ôî6mî7Žî:ýî>‘îBZîE^îE¹îFäîJÁîJÁï¿î “ïŒîî»î?î î2îÂîåî!’î&-î(ñî+1î-’î2ô î>î?»îBîG1îJÁîJÁïŒî “ïYîpïYf êq?€`½Ž2XEROXLispLibraryPackages·(BITBLT(WHICHW)NILNILFX8000)willplaceawindow'simageintheFX-80stream'spagebufferatposition(0,0).·ToprintaTEditdocument,left-button"Hardcopy"ontheTEditwindowmenu,slideofftotheright,andpick"Toafile."Type"{RS232}.FX80"andpress.·(DSPOPERATION'PAINTFX80)willcauseallsubsequentimagingoperationsto"or"theirbitswiththedestination.·(DRAWLINE0057679210'REPLACEFX80NIL'(105))willdrawa10dot-widedashedlinediagonallyacrosstheFX-80'spage.·(PRINTOUTFX80"Helloworld"T)willprintthestring"Helloworld"ontheFX-80'spage,followedbyacarriage-return/linefeed.îpïYî êïgq`Xî+oï5î,4ï5î “ïf‡î ëî ëïf‡raºïf‡înî×GîJjïe«îJjîJjïe«î “ï^Ñq`Xî Çî•î÷î«î`î#&î$oî&2î(Æî,Ãî. î4~î8ßî:�î=îASîG=îJÁîJÁï^Ñî “ï\žî°î:î£îãï\žî “ïXÄî ÏîîîÏî³î î& î.aî0�î3î7î›îAWîFÛîJÁîJÁïF�î “ïDjîHî!î>î$ ïDj8 êq?€`½aé HELVETICA é HELVETICA é HELVETICA é HELVETICA XLOGO é HELVETICA ~GACHA¡‚ �j/  ÿÿž|nNÿÿÿÿÿÿ1{ERIS}INTERMEZZO>LIBRARY>FX80STREAM.PRESS;1JAMES 4-Apr-85 14:33:34