🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #17557

Re: Printer Status

#17557
From: JD
Date: Sat, 15 Mar 2003 01:42
9 lines
1174 bytes
"Luiz Rafael Culik Guimaraes" <culikr@uol.com.br> wrote:
> How to  Dettect if the printer is ON or OFF

Try using GetPrinter to retrieve PRINTER_INFO_2 and look at the
Status. I believe that if it's PRINTER_STATUS_UNAVAILABLE it's
the same as if it's powered down or not present.

~ JD
Technical Details
Message-ID: <3e728503$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-01!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3e72714a@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,e61b4ddd80705b17
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-03-15 08:44:51 PST
From: "JD" <nospam@nospam.com>
Sender: "JD" <nospam@nospam.com>
Reply-To: "JD" <nospam@nospam.com>
Subject: Re: Printer Status
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 172.134.189.128 172.134.189.128    
References:  <3e72714a@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.65
Message-ID: <3e728503$1@newsgroups.borland.com>
Date: 14 Mar 2003 17:42:27 -0800
X-Trace: newsgroups.borland.com 1047692547 207.105.83.65 (14 Mar 2003 17:42:27 -0800)
Lines: 10
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-01!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail