Page 1 of 1 1
Topic Options
#71496 - 2002-11-08 11:47 PM Default Printer for Local (LPT1)
Anonymous
Unregistered


I manage a network where each user has about 30 network printers attached.
Occasionally, the default printer jumps to another network printer (I believe when the computer is rebooted)
One way around this problem (a microsoft bug), is to assign default printers

However, I cannot assign a default printer to a local printer because each user who has a local printer has a different printer. Therefore, people with local printers occasionally have their default printer jump on them and they end up printing to the wrong printer.

I would like to create a script where when the user logs on, it would scan the machine for a LPT port (where the local printer resides) and then make that printer the default printer.

Any help would be appreciated.

Top
#71497 - 2002-11-09 12:25 AM Re: Default Printer for Local (LPT1)
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Have you done any searches for this?

For example in the FAQ Section there is one..

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#71498 - 2002-11-09 12:49 AM Re: Default Printer for Local (LPT1)
Anonymous
Unregistered


I have research the kixtart BB high and low.
The faq refer to capturing a default printer for other users, and another faq was how to set a default printer.
They really did not seem to apply.
I need to be able to scan the machine for LPT1 port and if the local printer exists, make that the default printer.
Any help?

Top
#71499 - 2002-11-09 02:17 AM Re: Default Printer for Local (LPT1)
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Have you checked HKEY_CURRENT_USER\Printers ?
_________________________
There are two types of vessels, submarines and targets.

Top
#71500 - 2002-11-09 05:39 AM Re: Default Printer for Local (LPT1)
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Maybe some overview here..

If I am wrong, please let me know..

Default Printer reads the default Printer from the Registry if it is mapped from a Print Server and then writes to an INI file (we use the user's share drive) and then it re-maps the the printer to LPT1.

The INI file is ideal for two reasons:
(1) If you have to re-image a machine for a user, they get their printer back.
(2) If you have the occasion where the printer "jumps" from one to another, just have the user log back in and they are set. However, you maybe right, we may need to rebuild some of the script as it favors the local mapped printer.

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#71501 - 2002-11-10 08:07 AM Re: Default Printer for Local (LPT1)
Anonymous
Unregistered


To eveyone-
I appreciate the help
Kdyer-
I looked at the revised script you posted on another thread.
It appears it will do what I need.
I will test it out on Mon and let you know if there are any problems.
thanks for the help!!!!
Maybe Microsoft will eventually fix this bug

Top
Page 1 of 1 1


Moderator:  Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 2220 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.06 seconds in which 0.03 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org