[THIN] Printing Question

  • From: "Raffensberger, Stephen D" <sraffens@xxxxxxxxxxxxxxxxx>
  • To: <thin@xxxxxxxxxxxxx>
  • Date: Wed, 4 Apr 2007 11:44:13 -0400

Where in the registry should an application look for a user's printers?

From all my research, it should be
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Devices.

However, strange things happen in there. When user A logs on, it
populates that key with the correct printers. When user B subsequently
logs on, it populates that key with the correct printers. However, it
also appends user A's key with user B's printers. User C appends
printers to both user A and B's keys. This happens on both W2K/MFXP and
W2K3/PS4.

Normal applications seem to deal with this but I have one app that takes
it literally. The vendor says they are using MS VB standard functions to
determine the printer list. They need help figuring out why their app
behaves differently than anything else.

Is there a better place to enumerate a user's printers? Why does this
key in HKCU accumulate every other subsequent user's printers?

Steve Raffensberger
Sovereign Bank
OAG Citrix Administrator 



This message contains information which may be confidential and privileged. 
Unless you are the addressee  (or authorized to receive for the addressee), you 
may not use, copy or disclose to anyone the message or any information 
contained in the message.  If you have received the message in error, please 
advise the sender by reply e-mail, and delete or destroy the message. Thank you.

SBC SITES ONLY GOOGLE SEARCH: http://www.F1U.com
************************************************
For Archives, RSS, to Unsubscribe, Subscribe or
set Digest or Vacation mode use the below link:
//www.freelists.org/list/thin
************************************************

Other related posts: