Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Digital Unix /dev/lp0 open for r/w
@ 1997-09-19  4:00 Ossama Ahmed Essa
  1997-10-10  4:00 ` John Hascall
  0 siblings, 1 reply; 2+ messages in thread
From: Ossama Ahmed Essa @ 1997-09-19  4:00 UTC (permalink / 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






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1997-10-10  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-09-19  4:00 Digital Unix /dev/lp0 open for r/w Ossama Ahmed Essa
1997-10-10  4:00 ` John Hascall

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