🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Is printer online?

#5038
From: Bob Gonder
Date: Wed, 02 Nov 2005 03:31
8 lines
1199 bytes
Paul Montgomery wrote:

>With api functions, how can I determine if the default printer
> is online and ready to print rather than dumping the print job
>to the spooler??

See  PRINTER_INFO_2
Perhaps use EnumPrinters() to get the P_I_2
Technical Details
Message-ID: <gkcgm1lupnn7b403ft6f26nr78k1jdbjl3@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4367ef00@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,18f116f17601539a
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Is printer online?
Date: Tue, 01 Nov 2005 19:31:33 -0800
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <gkcgm1lupnn7b403ft6f26nr78k1jdbjl3@4ax.com>
References: <4367ef00@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 71.49.208.49
X-Trace: newsgroups.borland.com 1130902282 71.49.208.49 (1 Nov 2005 19:31:22 -0700)
Lines: 9
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail