From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: fa528,e5a84127b866766b,start X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-02-15 03:52:40 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: ersekcs@freemail.hu (Ersek Csaba) Newsgroups: comp.unix.tru64 Subject: lp0 access Date: 15 Feb 2002 03:52:39 -0800 Organization: http://groups.google.com/ Message-ID: NNTP-Posting-Host: 195.30.191.30 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1013773960 12969 127.0.0.1 (15 Feb 2002 11:52:40 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 15 Feb 2002 11:52:40 GMT Xref: archiver1.google.com comp.unix.tru64:6793 Dear all, I need to query the parallel printer status bits. The printer is on lp0. When I call ioctl with LPQUERY it always return �1 and errno is 19 (no such device), while ls >/dev/lp0 works fine. I did not find any example how to do this. Please help. Csaba Ersek