Annotation of researchv10dc/man/manx/vc.4, revision 1.1.1.1

1.1       root        1: .TH VC 4
                      2: .CT 2 graphics
                      3: .SH NAME
                      4: vc \- versatec model 122 interface
                      5: .SH SYNOPSIS
                      6: .B #include <sys/vcio.h>
                      7: .SH DESCRIPTION
                      8: The files
                      9: .I vc[0-9] refer to the Versatec model 122 interface.  Any plotter obeying
                     10: the Versatec "green sheet" interface standard can be used with this interface.
                     11: .PP
                     12: Upon opening the device, a RESET_ALL command is executed by the driver.
                     13: The driver will only accept a
                     14: .I write
                     15: or an
                     16: .IR ioctl (2)
                     17: ; reads will fail and seeks are ignored.
                     18: .PP
                     19: .IR ioctl (2)
                     20: calls perform special operations.  There are two basic calls: VGETSTATE
                     21: and VSETSTATE.  VSETSTATE can be used to send special commands to the plotter
                     22: by setting bits in the control status register (CSR).
                     23: VGETSTATE returns the CSR of the interface.  The functions are specified in
                     24: vcio.h.  The bits are as follows:
                     25: .TP
                     26: .B VC_SPP
                     27: is "Simultaneous Print/Plot"
                     28: .TP
                     29: .B VC_PP
                     30: is print/plot mode.  Data bytes sent in print mode are printed using the ROM
                     31: in the plotter.  Bytes written in plot mode are plotted.  It is possible to
                     32: use print mode to send commands to the plotter.  See the manual for details.
                     33: .TP
                     34: .B VC_SWPBT
                     35: swaps the bytes in the interface.  Useful for the VAX.
                     36: .PP 
                     37: The remote operations are sent one at a time.
                     38: .TF VC_RLTER
                     39: is short for
                     40: .I "Remote Line Terminate".
                     41: It sends a line terminator to the Versatec.
                     42: .TP
                     43: .B VC_CLEAR
                     44: clears the buffer.
                     45: .TP
                     46: .B VC_RESET
                     47: will reset the controller and the plotter.
                     48: .TP
                     49: .B VC_RFFED
                     50: is short for
                     51: .I "Remote Form Feed"
                     52: and will advance the paper.
                     53: .TP
                     54: .B VC_REOTR
                     55: is short for
                     56: .I "Remote End of Transmission"
                     57: which is equivalent to sending an EOF.
                     58: .TP
                     59: .B VC_RESET_ALL
                     60: is the ultimate reset.
                     61: .PD
                     62: .SH FILES
                     63: .F /dev/vc?
                     64: .SH BUGS

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.