Article View: borland.public.cppbuilder.nativeapi
Article #17733Re: Getting Printer Errors
From: JD
Date: Mon, 03 Mar 2003 06:08
Date: Mon, 03 Mar 2003 06:08
15 lines
1413 bytes
1413 bytes
"Bob Reeves" <bob@somethinxtra.com> wrote: > [...] What we need is way to query the Windows driver or > printer queue to get the printer status. You can use the GetPrinter function. Set Level to indicate that you want to retrieve PRINTER_INFO_2 information and then check the returned Status of the printer - all of which is documented in the help files. This link may also provide some useful information: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/prntspol_1q0i.asp ~ JD
Technical Details
Message-ID:
<3e62f157$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!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-mailReferences:
<3e47ef6b$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,2bb83d4db3172b69,start X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-03-04 12:34:52 PST From: "JD" <nospam@nospam.com> Sender: "JD" <nospam@nospam.com> Reply-To: "JD" <nospam@nospam.com> Subject: Re: Getting Printer Errors Newsgroups: borland.public.cppbuilder.nativeapi X-User-Info: 172.146.90.141 172.146.90.141 References: <3e47ef6b$1@newsgroups.borland.com> NNTP-Posting-Host: 207.105.83.65 Message-ID: <3e62f157$1@newsgroups.borland.com> Date: 2 Mar 2003 22:08:23 -0800 X-Trace: newsgroups.borland.com 1046671703 207.105.83.65 (2 Mar 2003 22:08:23 -0800) Lines: 16 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!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