[THIN] Re: Printing Question

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

Carl,

Thanks for the reply. Nope, they don't have those rights. The published
application can print any of several ways. It can launch IE which then
prints fine. It can launch Acrobat Reader which also prints okay.
However, when it has to assemble a mortgage document, it calls something
called a Rakis Document Control Production System. Rakis pulls together
all the pre-made forms, inserts the customer information into the
appropriate fields and then presents the user with a drop-down list of
printers to choose from. If you've recently logged on, you will only see
your printers. However, if you've been logged on for a few hours, you
can literally see 80 or more printers. Finding your printer is like
picking fly poop out of pepper.

Thanks to your hint, I'm going to suggest to Rakis that they look in
HKCU\Printers\DevModePerUser which appears to have only that user's
autocreated printers. However, I suspect this is non standard from a
Microsoft viewpoint and won't be native to VB.

Any thoughts?

I'd appreciate anyone else checking the
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Devices
key of several users and letting me know if this phenomenon is wide
spread or if I've done something wrong.

Thanks,

Steve Raffensberger
Sovereign Bank
OAG Citrix Administrator
-----Original Message-----
From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On
Behalf Of Carl Stalhood
Sent: Wednesday, April 04, 2007 2:21 PM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: Printing Question

Client printers are created under
HKLM\SYSTEM\CurrentControlSet\Control\Print\Printers.

Network printers are created under HKCU\Printers

Do users have "Power User" or "Administrator" rights?

-----Original Message-----
From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On
Behalf
Of Raffensberger, Stephen D
Sent: Wednesday, April 04, 2007 10:44 AM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Printing Question

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
************************************************

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
************************************************




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: