From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,6ad0bde5cf9317c4,start X-Google-Attributes: gidf678f,public X-Google-Thread: fee84,6ad0bde5cf9317c4,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1993-07-14 15:31:10 PST Xref: gmd.de comp.unix.osf.osf1:620 comp.unix.osf.misc:334 Path: gmd.de!xlink.net!scsing.switch.ch!news.univie.ac.at!paladin.american.edu!howland.reston.ans.net!ux1.cso.uiuc.edu!uwm.edu!rutgers!walter!porthos!iscp.bellcore.com!wws From: wws@iscp.bellcore.com (Wayne Scott) Newsgroups: comp.unix.osf.osf1,comp.unix.osf.misc Subject: ioctl() & printers on DEC Alpha/OSF1 Keywords: I'm not getting what I thought I would Message-ID: <1993Jul14.203133.10966@porthos.cc.bellcore.com> Date: 14 Jul 93 20:31:33 GMT Sender: netnews@porthos.cc.bellcore.com (USENET System Software) Distribution: usa Organization: Bellcore Hi Folks: I'm trying to use the ioctl() function to query the status of the LA75 line printer attached to a DEC Alpha workstation running OSF1. The trouble is, no matter what state the printer is in - power off, paper out, etc. - ioctl() returns 0. I'm doing the same thing I did on an RS/6000 last year. On the RS/6000 I could find out everything I wanted to. Is there a bug in ioctl(), or is the printer device driver not responding appropriately? Thanks, Wayne Scott