🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How to get windows default printer?

#14297
From: Remy Lebeau (TeamB)
Date: Wed, 20 Aug 2003 18:52
27 lines
2332 bytes
"Stephan" <slaska@devarinc.com> wrote in message
news:3f43c699$1@newsgroups.borland.com...

> http://support.microsoft.com/default.aspx?scid=kb;en-us;156212
>
> which states that one should look up:
> HKEY_ CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows

That key does not exist in Win9x/Me.  If you look at the article more
closely, it states that it applies only to WinNT and Win2K (probably XP and
2003 as well)

> I have also found in the Microsoft Knowledge Base Article - 246772
> "HOWTO: Retrieve and Set the Default Printer in Windows"

That's basically the same approach I mentioned earlier, although MS takes it
further by adding additional OS version checking and such as well.


Gambit


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/03
Technical Details
Message-ID: <3f43cfcd@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!proxad.net!proxad.net!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
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> <3f43b12c@newsgroups.borland.com> <3f43bea6$1@newsgroups.borland.com> <3f43c699$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 13:12:05 PST
From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.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> <3f43b12c@newsgroups.borland.com> <3f43bea6$1@newsgroups.borland.com> <3f43c699$1@newsgroups.borland.com>
Subject: Re: How to get windows default printer?
Date: Wed, 20 Aug 2003 11:52:08 -0700
Lines: 29
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.1106
NNTP-Posting-Host: 207.175.226.26
Message-ID: <3f43cfcd@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1061408717 207.175.226.26 (20 Aug 2003 12:45:17 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!proxad.net!proxad.net!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail