Article View: borland.public.cppbuilder.nativeapi
Article #16474Re: List printer and research by name
From: Remy Lebeau (TeamB)
Date: Wed, 14 May 2003 06:03
Date: Wed, 14 May 2003 06:03
17 lines
1423 bytes
1423 bytes
"x04001" <x04001@yahoo.com> wrote in message news:3ec1d2bb$1@newsgroups.borland.com... > I would like to know if there's an API which allows > me to list all printer available for my PC EnumPrinters() > in this list to search if a particular printer is declared ? You would have to enumerate the list until it returns the printer name you are looking for, or until the enumeration is is finished, whichever occurs first. Or you could just use the OpenPrinter() function. Gambit
Technical Details
Message-ID:
<3ec1dbab@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3ec1d2bb$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,7590c0f2c70e8ee5 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-05-13 23:06:20 PST From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3ec1d2bb$1@newsgroups.borland.com> Subject: Re: List printer and research by name Date: Tue, 13 May 2003 23:03:22 -0700 Lines: 19 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 207.175.226.26 Message-ID: <3ec1dbab@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1052892075 207.175.226.26 (13 May 2003 23:01:15 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail