1 LISP LIBRARY PACKAGES MANUAL 1 LISP LIBRARY PACKAGES MANUAL FASTFX80STREAM 1 PRINTING 1 FASTFX80STREAM 6 FastFX80Stream enables one to print text fast on an Epson FX-80 dot-matrix printer. FastFX80Stream implements only a subset of the usual image stream 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 that implements all of the image stream 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. 2 Printing a TEdit Document 1 To print a TEdit document on your FX-80, bring the document up in a TEdit window, move your mouse into the title bar 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 a carriage return. An image stream type menu should pop up; select ©©FastFX80.'' The printer should then spew out your document. 2 FastFX80 Image Streams 1 To directly open a FastFX80 image stream, call (SETQ stream (OPENIMAGESTREAM '{RS232} 'FASTFX80)) You can apply any of the image stream 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 image stream, call CLOSEF: (CLOSEF stream) 2 Caveats 1 ÿÿïf ÿRunning FastFX80Stream faster than 1200 baud from the TTYPort sometimes results in dropping the printer 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. (LIST ((PAGE NIL (PAPERSIZE Letter FOLIOINFO (ARABIC ) STARTINGPAGE# 255) (0 0 612 792) ((FOLIO NIL (PARALOOKS (QUAD RIGHT) CHARLOOKS (SUPERSCRIPT 0 INVISIBLE OFF SELECTPOINT OFF PROTECTED OFF SIZE 10 FAMILY MODERN OVERLINE OFF STRIKEOUT OFF UNDERLINE OFF EXPANSION REGULAR SLOPE REGULAR WEIGHT MEDIUM INVERTED OFF USERINFO NIL STYLE NIL) FORMATINFO (ARABIC )) (270 12 288 36) NIL) (HEADING NIL (HEADINGTYPE FOOTINGR) (54 27 558 36) NIL) (HEADING NIL (HEADINGTYPE RECTOHEAD) (54 762 558 36) NIL) (TEXT NIL NIL (54 54 504 618) NIL))) (PAGE NIL (PAPERSIZE Letter FOLIOINFO (ARABIC)) (0 0 612 792) ((FOLIO NIL (PARALOOKS (QUAD RIGHT) CHARLOOKS (SUPERSCRIPT 0 INVISIBLE OFF SELECTPOINT OFF PROTECTED OFF SIZE 10 FAMILY MODERN OVERLINE OFF STRIKEOUT OFF UNDERLINE OFF EXPANSION REGULAR SLOPE REGULAR WEIGHT MEDIUM INVERTED OFF USERINFO NIL STYLE NIL) FORMATINFO (ARABIC)) (-234 12 288 36) NIL) (HEADING NIL (HEADINGTYPE FOOTINGV) (54 27 558 36) NIL) (HEADING NIL (HEADINGTYPE VERSOHEAD) (54 762 558 36) NIL) (TEXT NIL NIL (54 54 504 684) NIL))) (PAGE NIL (PAPERSIZE Letter FOLIOINFO (ARABIC )) (0 0 612 792) ((FOLIO NIL (PARALOOKS (QUAD RIGHT) CHARLOOKS (SUPERSCRIPT 0 INVISIBLE OFF SELECTPOINT OFF PROTECTED OFF SIZE 10 FAMILY MODERN OVERLINE OFF STRIKEOUT OFF UNDERLINE OFF EXPANSION REGULAR SLOPE REGULAR WEIGHT MEDIUM INVERTED OFF USERINFO NIL STYLE NIL) FORMATINFO (ARABIC )) (270 12 288 36) NIL) (HEADING NIL (HEADINGTYPE FOOTINGR) (54 27 558 36) NIL) (HEADING NIL (HEADINGTYPE RECTOHEAD) (54 762 558 36) NIL) (TEXT NIL NIL (54 54 504 684) NIL))))) /ÌÌø ÈT/ÌÌøÈT/ø2ÈT/øÈT.ÌÌøÈ.ÌÌø È/ÌÌøÈT/ÌÌøÈTBøø PAGEHEADING VERSOHEADBøø PAGEHEADING RECTOHEADAøø PAGEHEADINGFOOTINGVAøø PAGEHEADINGFOOTINGRMODERN MODERNMODERNMODERN   HRULE.GETFNMODERN    HRULE.GETFNMODERN     HRULE.GETFNMODERN    HRULE.GETFNMODERN  HRULE.GETFNMODERN  HRULE.GETFNMODERN HRULE.GETFNMODERN¥ HRULE.GETFNMODERN HRULE.GETFNMODERN/'W ‘ HRULE.GETFNMODERN HRULE.GETFNMODERN\0 ÔZzº