🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How to get windows default printer?

#14293
From: Remy Lebeau (TeamB)
Date: Wed, 20 Aug 2003 17:38
27 lines
1966 bytes
"Stephan" <slaska@devarinc.com> wrote in message
news:3f43b12c@newsgroups.borland.com...

> In WIN98SE I find the key:
> HKEY_LOCAL_MACHINE|Config|System|Print|Printers

The correct key is as follows:

HKEY_LOCAL_MACHINE\Config\0001\System\CurrentControlSet\Control\Print\Printe
rs

You should use this one instead, though:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Print\Printers

Which is the same key under Win2K as well.  However, there is no "Default"
value under that key for either OS :-(


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: <3f43bea6$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!newsfeed.news2me.com!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
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>

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 11:41:51 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>
Subject: Re: How to get windows default printer?
Date: Wed, 20 Aug 2003 10:38:57 -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: <3f43bea6$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1061404326 207.175.226.26 (20 Aug 2003 11:32:06 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!newsfeed.news2me.com!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