Article View: borland.public.cppbuilder.nativeapi
Article #14292Re: How to get windows default printer?
From: Stephan
Date: Wed, 20 Aug 2003 17:34
Date: Wed, 20 Aug 2003 17:34
19 lines
1792 bytes
1792 bytes
Hi Richard, I would imagine that searching the registry would be the best way to find the default printer. In WIN98SE I find the key: HKEY_LOCAL_MACHINE|Config|System|Print|Printers which has an entry: default = "HP Laserjet III" you can Start \ run and eeter regedit to search through your registry to check it out too... registry help is available at microsoft.com, and sometimes it actually useful.. lol Have FUN Stephan "Richard Yu" <richard@colorselector.com> wrote in message news:3f43a7cf$1@newsgroups.borland.com...
Technical Details
Message-ID:
<3f43b12c@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.gamma.ru!Gamma.RU!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3f415360$1@newsgroups.borland.com> <3f41597f$2@newsgroups.borland.com> <3f427f92$1@newsgroups.borland.com> <3f42a272$1@newsgroups.borland.com> <3f42b824@newsgroups.borland.com> <3f42de67$1@newsgroups.borland.com> <3f43a7cf$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,16abfae200d036ee X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-08-20 10:41:05 PST From: "Stephan" <slaska@devarinc.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3f415360$1@newsgroups.borland.com> <3f41597f$2@newsgroups.borland.com> <3f427f92$1@newsgroups.borland.com> <3f42a272$1@newsgroups.borland.com> <3f42b824@newsgroups.borland.com> <3f42de67$1@newsgroups.borland.com> <3f43a7cf$1@newsgroups.borland.com> Subject: Re: How to get windows default printer? Date: Wed, 20 Aug 2003 13:34:35 -0400 Lines: 21 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: 64.252.14.74 Message-ID: <3f43b12c@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1061400876 64.252.14.74 (20 Aug 2003 10:34:36 -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.gamma.ru!Gamma.RU!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail