Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ hc(4) — UTek W2.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

lpr(1)

ioctl(2)

mknod(8)



HC(4)                   COMMAND REFERENCE                   HC(4)



NAME
     hc - hard copy interface for 6130 System workstations

DESCRIPTION
     Hc provides the interface to any Centronics type parallel
     interface devices such as line printers, hard copy units,
     plotters or other output devices.  When the device is opened
     or closed, no page ejects are generated.

     The unit number of the printer is specified by the minor
     device after removing the lowest byte which act as per-
     device parameters.  Currently only the lowest three bits of
     the byte are interpreted.  If bit 2 is set to 1, a carriage
     return is output before each newline character in the data
     buffer.  If bit 1 is set to 0, all characters are "passed
     through" to the driver with no character editing.  If bit 1
     is set to 1, the device is treated as having a 64-character
     set, rather than a full 96-character set.  In the resulting
     half-ASCII mode, the characters from columns 6 and 7 of the
     ASCII codes chart are directly translated to the
     corresponding row character in columns 4 and 5.  The least
     significant bit of the minor device number is used to
     specify channel 0 (bit set to 0) or channel 1 (bit set to 1)
     of the interface.

     An ioctl call is also available to change the device
     operating modes.  The request value of the call is 0 to
     clear CRM and RCSM, 2 to set RCSM, 4 to set CRM, and 6 to
     set both modes.  Each ioctl call will cause the modes to be
     cleared before the values of the request are set.

     The driver does not interpret any control characters.  It
     also does not make any assumptions about form width, form
     length, tab stop positions, etc.

FILES
     /dev/hc

DIAGNOSTICS
     ENXIO, EBUSY, EIO, ENOTTY

SEE ALSO
     lpr(1), ioctl(2), mknod(8).












Printed 10/17/86                                                1





































































%%index%%
na:72,89;
de:161,1752;
fi:1913,60;
di:1973,110;
se:2083,125;
%%index%%000000000094

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026