* 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
26 lines
6.1 KiB
Plaintext
26 lines
6.1 KiB
Plaintext
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]
|
||
|
||
|