From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,53ccf29c17275db0,start X-Google-Attributes: gidfee84,public From: essa@cs.sc.edu (Ossama Ahmed Essa) Subject: Digital Unix /dev/lp0 open for r/w Date: 1997/09/19 Message-ID: <5vu9ff$5f8@redwood.cs.sc.edu>#1/1 X-Deja-AN: 275639858 Organization: University of South Carolina - Columbia - Computer Science Keywords: LPRng, OSF1 4.0, Digital Unix, lp0 Newsgroups: comp.unix.osf.osf1 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