XEROX Lisp Library Packages 2 4 1 1 FASTFX80STREAM 1 4 4 4 FASTFX80STREAM enables one to print text fast on an Epson FX-80 dot-matrix printer. FASTFX80STREAM implements only a subset of the usual imagestream methods, so it is unable to print fully general two-dimensional graphics; however, it will print text at the full speed of the printer. There is another package called FX80STREAM which implements all of the imagestream methods, but is much slower. It takes FX80STREAM several minutes to print a page, where FASTFX80STREAM would polish off the same job in about half a minute. Unfortunately, the speed difference is inherent : using graphics mode on the printer is a great deal slower than using its built-in fonts. Thus FASTFX80STREAM is the package of choice for printing textual rough drafts, while FX80STREAM is much better for graphics or final copy. PRINTING A TEDIT DOCUMENT To print a TEdit document on your FX-80, bring the document up in a TEdit window, move your mouse into the titlebar of that window, and bring up the window's RIGHT-button menu. left-button the "Hardcopy" item, slide off to the right, and pick "To a file." Type "{RS232}" and press . An imagestream type menu should pop up; select "Fastfx80". The printer should then spew out your document. FASTFX80 IMAGESTREAMS To directly open a FASTFX80 imagestream, call (SETQ stream (OPENIMAGESTREAM '{RS232} 'FASTFX80)) You can apply any of the imagestream operations to the resultant stream. However, operations that involve drawing (DRAWLINE, DRAWCURVE, DRAWCIRCLE, DRAWELLIPSE, FILLCIRCLE) will be ignored. Most font changes will also be ignored, since FASTFX80STREAM is limited to printing in the standard Epson printer fonts. For example, if you called (MOVETO 100 100 stream) (printout stream "Testing 1, 2, 3, 4." ) it would print the string "Testing 1, 2, 3, 4." near the lower left-hand corner of the page. Finally, to close the imagestream, call CLOSEF: (CLOSEF stream) CAVEATS · FASTFX80STREAM has not been tested on the Dandelion RS232C port or the Dolphin RS232 port. It is only known to run reliably on the Dandelion TTYPort. · Running FASTFX80STREAM faster than 1200 baud from the TTYPort sometimes results in dropped characters. To control the speed at which the printer receives, consult the manual for your serial interface card. To control the speed at which the Lisp machine sends, set the variable FX80BAUDRATE. For example, to get 1200 baud, execute (SETQ FX80BAUDRATE 1200) before shipping your first file to the printer. · Efficiency of FASTFX80STREAM demands that the printer's CR+LF switch (2-4) be turned OFF, which is the opposite of what FX80STREAM wants. So remember to reset the switch! To make it possible to use the two packages interchangeably without twiddling the switch, when you load FASTFX80STREAM it will redefine the appropriate parts of FX80STREAM to work correctly with the new switch setting. (LIST ((PAGE NIL NIL (0 0 612 792) ((FOLIO NIL (PARALOOKS (QUAD CENTERED) CHARLOOKS (SUPERSCRIPT 0 SIZE 10 FAMILY HELVETICA OVERLINE OFF STRIKEOUT OFF UNDERLINE OFF SLOPE REGULAR WEIGHT MEDIUM)) (282 42 72 36) NIL) (HEADING NIL (HEADINGTYPE BOO) (84 744 444 36) NIL) (TEXT NIL NIL (84 96 456 600) NIL))) (PAGE NIL NIL (0 0 612 792) ((FOLIO NIL (PARALOOKS (QUAD CENTERED) CHARLOOKS (SUPERSCRIPT 0 SIZE 10 FAMILY HELVETICA OVERLINE OFF STRIKEOUT OFF UNDERLINE OFF SLOPE REGULAR WEIGHT MEDIUM)) (282 42 72 36) NIL) (HEADING NIL (HEADINGTYPE BOO) (84 744 444 36) NIL) (TEXT NIL NIL (84 96 456 600) NIL))) (PAGE NIL NIL (0 0 612 792) ((FOLIO NIL (PARALOOKS (QUAD CENTERED) CHARLOOKS (SUPERSCRIPT 0 SIZE 10 FAMILY HELVETICA OVERLINE OFF STRIKEOUT OFF UNDERLINE OFF SLOPE REGULAR WEIGHT MEDIUM)) (282 42 72 36) NIL) (HEADING NIL (HEADINGTYPE BOO) (84 744 444 36) NIL) (TEXT NIL NIL (84 96 456 600) NIL)))))È ÈŠŠ8ŠŠ8 4ŠŠ8ŠŠ8ÈÈÈ PAGEHEADINGBOO HELVETICA HELVETICA  HELVETICA HELVETICA LOGO HELVETICA HELVETICA HRULE.GETFN HELVETICA HRULE.GETFN HELVETICA HRULE.GETFN HRULE.GETFN HELVETICA HRULE.GETFN HELVETICA HRULE.GETFN HRULE.GETFN HRULE.GETFN HELVETICA ’.3V)ŽœP0 Hzı