Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: ersekcs@freemail.hu (Ersek Csaba)
Subject: lp0 access
Date: 15 Feb 2002 03:52:39 -0800	[thread overview]
Message-ID: <a8fb0874.0202150352.1af9ca2c@posting.google.com> (raw)

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


                 reply	other threads:[~2002-02-15 11:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
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