🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #11019

Re: using the parallel port on the alm-2

#11019
From: Perry The Cynic
Date: Sun, 19 Feb 1989 02:48
30 lines
1928 bytes
> we'd like to connect a printer to the parallel port on our alm-2, but i
> can't find any documentation on which dev we should use to access that
> port....can you let us know how to enable it?

As far as naming is concerned, the ALM-2 goes under the name of "mcp".
Say "man mcp" and it'll tell you what it knows. The minor device number
for the parallel port (of the first ALM board) is 64, so our printer is

	crw-rw-rw-  1 root      40,  64 Feb  2 11:22 /dev/mcpp0

The wiring seems to use "standard" Centronics wiring; we didn't have any
problems with printers advertised to have a "centronics port" (what IBM/PC
people call a "parallel" or "printer" port).

 ** WARNING **

The man-page for mcp(4S) describes an ioctl(2) function that alledgedly
causes the device driver to issue status messages concerning the parallel
port (paper out, printer error etc.) to the console. This works, but if
you turn that function on, it will screw up the serial ports on the board.
(At least, that's what happened in our case - the serial ports would hang
anytime when *no printing* was done on the parallel port. Caused some head
scratching.) This bug may not be present in other versions/hardwares, but
be careful.

Our configuration: Sun 4/280, SunOS 3.5
  -- perry

Perry The Cynic (Peter Kiehtreiber)		     perry@arkon.key.com
** This signature under construction **		   ...!pacbell!key!perry
Technical Details
Message-ID: <8902022000.AA03634@arkon.key.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request
From: pacbell!key!arkon!perry@decwrl.dec.com (Perry The Cynic)
Newsgroups: comp.sys.sun
Subject: Re: using the parallel port on the alm-2
Message-ID: <8902022000.AA03634@arkon.key.com>
Date: 19 Feb 89 02:48:05 GMT
Sender: usenet@rice.edu
Organization: Sun-Spots
Lines: 30
Approved: Sun-Spots@rice.edu
Original-Date: Thu, 02 Feb 89 12:00:38 -0800
X-Sun-Spots-Digest: Volume 7, Issue 160, message 10 of 13