Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: essa@cs.sc.edu (Ossama Ahmed Essa)
Subject: Digital Unix /dev/lp0 open for r/w
Date: 1997/09/19	[thread overview]
Message-ID: <5vu9ff$5f8@redwood.cs.sc.edu> (raw)


I am trying to set up quotas on printing. I have a digital DEClaser 3500
connected to a Dec Alpha running Digital Unix 4.0b running LPRng 2.4.2.

The printer quota program needs to read the page count from the printer.
This is only allowed if the printer is set for read and write. I made 
sure that both the printer and the parallel cable are bidirectional. The
problem I am having is that LPRng is returning an error that it can't 
find /dev/lp0 (not such device or address) when I set the printer as
read&write in the printcap file. The printing works fine if the printer
is open for write only. I check the permissions on /dev/lp0 and they
were crw-rw-rw-. My guess is that the driver is written for /dev/lp0
in a way that allows writting only (no input to the parallel port).
Since I have a very limited knowledge about device drivers, I would
appreciate any input from you. 

Ossama Essa
USC, Computer Sc. Dept.
Columbia, SC29208






             reply	other threads:[~1997-09-19  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-09-19  4:00 Ossama Ahmed Essa [this message]
1997-10-10  4:00 ` Digital Unix /dev/lp0 open for r/w John Hascall
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox