Page 3 of 3 <123
Topic Options
#74474 - 2003-04-18 04:01 PM Re: Re-Write of "Default Printer" FAQ
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Lonk,

If you have a Local Default Printer off of LPT1, for example.. You then go to another workstation or login to a laptop that does not have the local printer the script does not pick up on that.

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

Top
#74475 - 2003-04-18 08:19 PM Re: Re-Write of "Default Printer" FAQ
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
the script can't pick on that.

how that situation could be handled?
there is no way to determine what the user wants to use as default-printer.

I can't understand what is wrong with the current situation?
_________________________
!

download KiXnet

Top
#74476 - 2003-04-18 08:21 PM Re: Re-Write of "Default Printer" FAQ
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
It was the only scenario that I could think of.. For the most part, the script serves well as is.

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

Top
#74477 - 2003-04-18 08:32 PM Re: Re-Write of "Default Printer" FAQ
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
although, if I understood you correctly, there is something we could do...

but, AFAIK, it needs then little manual cracking of the ini-file for each user and that is not what this script is all about...

anyway, if the user logs on to new comp, and he has no printers there, doesn't the first added printer elevate as default automatically?
_________________________
!

download KiXnet

Top
#74478 - 2003-04-18 08:37 PM Re: Re-Write of "Default Printer" FAQ
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
If we look at this with the "Default" Printer set, we see:

quote:

[Printers]
1=\\server\printer-p19
2=\\server\printer-p27
Default=\\server\printer-p27

In this example, p19 is a color printer..

If we change to have local printer, the INI file changes to:
quote:

[Printers]
1=\\server\printer-p19
2=\\server\printer-p27

So, one logs into a colleague's workstation or laptop..

Hope this makes sense..

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

Top
#74479 - 2003-04-18 08:41 PM Re: Re-Write of "Default Printer" FAQ
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
but is this wrong?
or how you think it could be written as script to understand a printer setup?

I still don't get what is the weird part in this as it looks just correct to me.
_________________________
!

download KiXnet

Top
#74480 - 2003-04-18 08:42 PM Re: Re-Write of "Default Printer" FAQ
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
It is completely right.. It is just the fact that if you login to another workstation with no printer it fails on the USE LPT1: ..

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

Top
#74481 - 2003-04-18 08:52 PM Re: Re-Write of "Default Printer" FAQ
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
now we are talking...
didn't think about the use statement thingie!

just thought about the setdefault as it does not cause problems.

we need to add an if statement there...
_________________________
!

download KiXnet

Top
#74482 - 2003-04-18 08:54 PM Re: Re-Write of "Default Printer" FAQ
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Well the other thing that was nested in this is that yes it picks up both printers, but sets the default as the color. We don't want our users to get the color or "secondary" printer as these types of printers are used for printing Appraisals.

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

Top
#74483 - 2003-04-18 08:59 PM Re: Re-Write of "Default Printer" FAQ
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
well, in this particular case, no it's not the script doing this.

it's the order in which the printers are added.
first printer added is also the default.
that is normal windows behaviour.
_________________________
!

download KiXnet

Top
#74484 - 2003-07-24 09:45 PM Re: Re-Write of "Default Printer" FAQ
rbardo Offline
Fresh Scripter

Registered: 2003-07-24
Posts: 47
Loc: USA
So where is the final script guys?? You guys rock, I can only hope to develop skills as such soon.. I am a newbie here, but love it.

[Big Grin]
_________________________
Ekadanta Mahakaya Surya koti samaprabha Nirbighnam kurume deva sarbakaryeshu sarbada

Top
#74485 - 2003-07-24 09:46 PM Re: Re-Write of "Default Printer" FAQ
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Well, as the title says
quote:
"Default Printer" FAQ
Thus, it would be safe to assume that there's a "Default Printer" FAQ in the FAQ Forum. So, head over to the FAQ Forum. [Wink]
_________________________
There are two types of vessels, submarines and targets.

Top
#74486 - 2003-07-24 11:14 PM Re: Re-Write of "Default Printer" FAQ
rbardo Offline
Fresh Scripter

Registered: 2003-07-24
Posts: 47
Loc: USA
ok, im testing the script by:

placing wkix32 /i /f in logon bat file within the netlogon folder.
also I placed wkix32.exe and printers.kix in the netlogon folder.

did I do it correct?
I recieve no error messages...

I cant find any .ini file, I want to see if it works..

help?
_________________________
Ekadanta Mahakaya Surya koti samaprabha Nirbighnam kurume deva sarbakaryeshu sarbada

Top
#74487 - 2003-07-25 04:50 PM Re: Re-Write of "Default Printer" FAQ
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Please read the KiXtart Manual and the FAQ Forum. It explains how to run KiXtart scripts.

We can't help you if you not provide an extensive explanation of what you try to do and what script you try to run.

And please do not hijack posts but start your own thread in an appropriate forum if you want to report a problem.

[ 25. July 2003, 16:52: Message edited by: sealeopard ]
_________________________
There are two types of vessels, submarines and targets.

Top
Page 3 of 3 <123


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

Who's Online
0 registered and 202 anonymous users online.
Newest Members
BeeEm, min_seow, Audio, Hoschi, Comet
17882 Registered Users

Generated in 0.067 seconds in which 0.027 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