Page 1 of 1 1
Topic Options
#31718 - 2002-11-01 08:00 PM Printer Connections
Skatterbrainz Offline
Starting to like KiXtart

Registered: 2002-10-17
Posts: 172
Loc: Virginia, USA
Using Kix 4.11 on Win2k clients. I want to use ADDPRINTERCONNECTION and SETDEFAULTPRINTER on a particular user group using INGROUP. No big deal with that, BUT, I want to check first to see if they already have the printer connected to or set as default. I don't see a GETPRINTER or GETDEFAULTPRINTER function of any kind in Kix. Do I have to do this through some other means like WSH/VBscript or am I missing something in Kix that would do this for me?
_________________________
silence is golden, but duct tape is silver

Top
#31719 - 2002-11-01 08:04 PM Re: Printer Connections
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
dave, it's not natively in kix but there is userDefinedFunction for this in udf forum:
PriMapState()

is that ok?
_________________________
!

download KiXnet

Top
#31720 - 2002-11-01 08:17 PM Re: Printer Connections
Skatterbrainz Offline
Starting to like KiXtart

Registered: 2002-10-17
Posts: 172
Loc: Virginia, USA
Perfect! Thank you very much!
_________________________
silence is golden, but duct tape is silver

Top
#31721 - 2002-11-01 11:05 PM Re: Printer Connections
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
I think it maybe time to re-code:

Default Printer

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

Top
#31722 - 2002-11-01 11:07 PM Re: Printer Connections
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
kent, I know your links are not easy, so what means "re-code"?
_________________________
!

download KiXnet

Top
#31723 - 2002-11-01 11:14 PM Re: Printer Connections
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
well, I think de-code is to make make less cryptic so then re-code must mean to make cryptic again.

Either that or it means to rewrite...
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#31724 - 2002-11-02 12:07 AM Re: Printer Connections
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
isn't encode the versus for de-code?
so, re-code goes for re-coding...

but, what needs to be re-coded?
_________________________
!

download KiXnet

Top
#31725 - 2002-11-02 12:22 AM Re: Printer Connections
Kdyer Offline
KiX Supporter
*****

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

I look at your code to do the check for the Network printer vs. the local printer.. You do it in about 10 lines.. Mine is about 100. [Big Grin]

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

Top
#31726 - 2002-11-02 12:34 AM Re: Printer Connections
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
ah so...
and you don't support nt-line I see.
but, that's the evolution, can't change [Wink]
_________________________
!

download KiXnet

Top
Page 1 of 1 1


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

Who's Online
0 registered and 837 anonymous users online.
Newest Members
fgarcia, Viginette, ManuvdWielNL, Sir_Barrington, batdk82
17889 Registered Users

Generated in 0.057 seconds in which 0.023 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