1
0
mirror of synced 2026-01-12 00:42:56 +00:00
Interlisp.medley/library/CENTRONICS.TEDIT
Larry Masinter 08852f7b55
Add TEDIT files for many Library packages (#1181)
* WHERE-IS library doc

* Gather keyboard files, add VIRTUAL.TEDIT

* add UNIXCOMM.TEDIT

* rest of TEdit library files

* save table of contents index for reworking

* Don't move around VIRTUALKEYBOARDS files; will move in separate commit

* Add MATMULT from Envos/Medley
2023-07-07 11:25:17 -07:00

26 lines
6.1 KiB
Plaintext
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

1
Lisp Library Modules, Medley Release 1.0, CENTRONICS
1
Lisp Library Modules, Medley Release 1.0, CENTRONICS
CENTRONICS
1
CENTRONICS
1
CENTRONICS
6
The Centronics(CENTRONICS NIL Centronics NIL NIL 17) module implements a stream interface to an industry-standard Centronics printer port. This port is designed to drive Centronics-compatible devices, typically printers. The module allows you to send bytes over the parallel port, and notifies you of any device error conditions.
Requirements
1
The Centronics port is found on the Xerox 1109, which is an 1108 equipped with the Extended Processor board(EXTENDED% PROCESSOR% BOARD NIL Extended% Processor% board NIL NIL 17) (marked CPE FP(CPE% FP NIL NIL NIL NIL 17)). It is the upper of the two connectors on the board.
The Centronics cable(CENTRONICS% CABLE NIL Centronics% cable NIL NIL 17) from the port to the printer should be wired as shown in the Introduction of this manual.
CENTRONICS.LCOM implements a general byte output stream. It is typically used in conjunction with a printer driver module, such as 4045XLPStream, though it can also run by itself.
Installation
1
Load CENTRONICS.LCOM from the library.
User Interface
1
Functions
(CENTRONICS.RESET(CENTRONICS.RESET (function) NIL NIL NIL 17)) [Function]
The only user-callable function in the module, it initializes the parallel port and any attached device. It should be called after the printer is powered on.
Opening a Centronics Stream(OPENING% A% CENTRONICS% STREAM NIL Opening% a% Centronics% Stream NIL NIL 17)
To open a stream to the Centronics port, evaluate a form similar to the following:
(SETQ CENTRONICS.STREAM (OPENSTREAM '{CENTRONICS} 'OUTPUT))
All bytes BOUTed to CENTRONICS.STREAM are sent to the attached printer. You may only have one stream open to the parallel port at one time; attempts to open others yield an error.
Device Errors(DEVICE% ERRORS NIL Device% Errors NIL NIL 17)
When a device error is detected (e.g., printer offline, out of paper, etc.), a break window will pop up.
After resetting the device, type RETURN (the word, not the key) to continue. Type STOP to abort.
Limitations
1
The port is available on Xerox 1109 workstations only.
[This page intentionally left blank]
(LIST ((PAGE NIL (PAPERSIZE Letter FOLIOINFO (ARABIC "" "") STARTINGPAGE# 17) (0 0 612 792) ((FOLIO NIL (PARALOOKS (QUAD RIGHT) CHARLOOKS (SUPERSCRIPT 0 INVISIBLE OFF SELECTPOINT OFF PROTECTED OFF SIZE 10 FAMILY HELVETICA OVERLINE OFF STRIKEOUT OFF UNDERLINE OFF EXPANSION REGULAR SLOPE REGULAR WEIGHT MEDIUM INVERTED OFF USERINFO NIL STYLE NIL) FORMATINFO (ARABIC "" "")) (270 15 288 36) NIL) (HEADING NIL (HEADINGTYPE FOOTINGR) (54 27 558 36) NIL) (TEXT NIL NIL (54 54 504 702) NIL))) (PAGE NIL (PAPERSIZE Letter FOLIOINFO (ARABIC "" "")) (0 0 612 792) ((FOLIO NIL (PARALOOKS (QUAD LEFT) CHARLOOKS (SUPERSCRIPT 0 INVISIBLE OFF SELECTPOINT OFF PROTECTED OFF SIZE 10 FAMILY HELVETICA OVERLINE OFF STRIKEOUT OFF UNDERLINE OFF EXPANSION REGULAR SLOPE REGULAR WEIGHT MEDIUM INVERTED OFF USERINFO NIL STYLE NIL) FORMATINFO (ARABIC "" "")) (54 15 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 HELVETICA OVERLINE OFF STRIKEOUT OFF UNDERLINE OFF EXPANSION REGULAR SLOPE REGULAR WEIGHT MEDIUM INVERTED OFF USERINFO NIL STYLE NIL) FORMATINFO (ARABIC "" "")) (270 15 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)))))5HH<01>
`<01>-<01>T,<01>,$$<01>-<01>T,ll<01>
2HH<01>
<01>,HH<01>,HH<01>
,HH<01>-T-<01><00><01>TF<01><01> PAGEHEADING VERSOHEADF<01><01> PAGEHEADING RECTOHEADE<01><01> PAGEHEADINGFOOTINGVE<01><01> PAGEHEADINGFOOTINGR
 HELVETICA HELVETICA
CLASSIC
TITAN
TITAN
CLASSIC
 HELVETICA HELVETICA MODERN
MODERNMODERN MODERNMODERN
 HRULE.GETFNMODERN
 5 HRULE.GETFNMODERN
 5  HRULE.GETFNMODERN
 

 HRULE.GETFNMODERN
   HRULE.GETFNMODERN 
&IM.INDEX.GETFN
 HRULE.GETFNMODERN
 kFIM.INDEX.GETFNIM.INDEX.GETFN84IM.INDEX.GETFN[ <00>
 HRULE.GETFNMODERN
  HRULE.GETFNMODERN

,IM.INDEX.GETFNMODERN
 <00>NIM.INDEX.GETFN  S=


<00>
.IM.INDEX.GETFN  k!,

  HRULE.GETFNMODERN
 7 %   <08>tz<74>