From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,c5079e0dc4cf1b52,start X-Google-Attributes: gidfee84,public From: bircan@newsserver (Bilgihan Bircan) Subject: How to get printer status from C Date: 1995/05/02 Message-ID: <3o5hpr$44s@nameserver.lif.de>#1/1 X-Deja-AN: 101876980 organization: Lahmeyer International GmbH, Frankfurt/Main, Germany newsgroups: comp.unix.osf.osf1 How can I get the printer status from a C-application. (SUNOS, OSF1) If I want to print something, I'll ensure, that the printer is ok. For example: lpc down Queuing and printing is disabled. If I print the job with "lpr -r ", the will destroy after printing. So I don't get my document ().