Page 1 of 3 123>
Topic Options
#124872 - 2004-08-13 11:27 AM Still can't add network printer...
HelpMe Offline
Fresh Scripter

Registered: 2004-08-11
Posts: 16
Hi again all ! First thanks to those who tried to help me ! But it wasn't enough since I'm noob with kix ! So can anybody tell me how I can add a network printer with Kix using the computername and not the username ? Thanks !!!
Top
#124873 - 2004-08-13 12:52 PM Re: Still can't add network printer...
AzzerShaw Offline
Seasoned Scripter
****

Registered: 2003-02-20
Posts: 510
Loc: Cheltenham, England
Sure check out this link :

ADDPRINTERCONNECTION

Aaron
_________________________
If at first you don't succeed, try again. Then quit. There's no use being a damn fool about it. - W.C Fields

Top
#124874 - 2004-08-13 12:58 PM Re: Still can't add network printer...
AzzerShaw Offline
Seasoned Scripter
****

Registered: 2003-02-20
Posts: 510
Loc: Cheltenham, England
And to use the computername to map the printer, you could do something with @wksta.
_________________________
If at first you don't succeed, try again. Then quit. There's no use being a damn fool about it. - W.C Fields

Top
#124875 - 2004-08-13 02:18 PM Re: Still can't add network printer...
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
not sure what your problem is.
surely you have found addprinterconnection() in the manual.

so, it sounds like you have some logics issue.
if you do not get it solved, please let us know.
_________________________
!

download KiXnet

Top
#124876 - 2004-08-13 02:39 PM Re: Still can't add network printer...
HelpMe Offline
Fresh Scripter

Registered: 2004-08-11
Posts: 16
Well I know taht I can do this :

If Ingroup("abc")
addprinterconnection("\\printserver\printshare")
EndIf

and that works but the problem for me is that I would like to do the same using the computer name cause Ingroup only accept username !!! Is there a way ?

Top
#124877 - 2004-08-13 02:43 PM Re: Still can't add network printer...
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Yes, there are several ways, all of which have been discussed here several times. Try using the board search.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#124878 - 2004-08-13 02:54 PM Re: Still can't add network printer...
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Why did you start a new thread? What was wrong with keeping http://www.kixtart.org/ubbthreads/showflat.php?Cat=&Board=UBB14&Number=123757 going?
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#124879 - 2004-08-13 02:56 PM Re: Still can't add network printer...
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
so, are you wanting to query against computername or computer-group?
_________________________
!

download KiXnet

Top
#124880 - 2004-08-13 03:13 PM Re: Still can't add network printer...
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
I already told him in the other thread that there is a UDF that does the computer in goup and suggested he look in the UDF forum. I mean, all he needed to search on are the words COMPUTER IN GROUP. How hard can it be?

ComputerInGroup() - returns if the PC is a member of a specified group
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#124881 - 2004-08-13 03:16 PM Re: Still can't add network printer...
AzzerShaw Offline
Seasoned Scripter
****

Registered: 2003-02-20
Posts: 510
Loc: Cheltenham, England
I assumed he wants to do it by computername...
_________________________
If at first you don't succeed, try again. Then quit. There's no use being a damn fool about it. - W.C Fields

Top
#124882 - 2004-08-13 03:26 PM Re: Still can't add network printer...
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
les, surely you did.
I just wanted to find out what he really wanted.
his question did not say he wanted computerInGroup()

basically, it said nothing much else either.
thus asked for clarification and still waiting for it.

as always, can't help if don't know the problem.
_________________________
!

download KiXnet

Top
#124883 - 2004-08-13 04:11 PM Re: Still can't add network printer...
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
I dunno... if you read the other thread, it is pretty hard to miss his intention. That was why I chastized him for abandoning that thread.

What intent would you infer from this?
If @WKSTA Ingroup ("abc")

Anyway... he ran away without saying thank you or goodbye
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#124884 - 2004-08-13 04:19 PM Re: Still can't add network printer...
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
he does not like us.
_________________________
!

download KiXnet

Top
#124885 - 2004-08-13 04:56 PM Re: Still can't add network printer...
AzzerShaw Offline
Seasoned Scripter
****

Registered: 2003-02-20
Posts: 510
Loc: Cheltenham, England
Dont take it to heart guys....maybe hes got a hurricane on his tail
_________________________
If at first you don't succeed, try again. Then quit. There's no use being a damn fool about it. - W.C Fields

Top
#124886 - 2004-08-13 05:01 PM Re: Still can't add network printer...
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
I kinda doubt it. He chose not to share with us his location but as mod looking at his profile, I can see he is not in the path of the hurricane.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#124887 - 2004-08-13 05:12 PM Re: Still can't add network printer...
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
lol.
_________________________
!

download KiXnet

Top
#124888 - 2004-08-16 04:20 PM Re: Still can't add network printer...
HelpMe Offline
Fresh Scripter

Registered: 2004-08-11
Posts: 16
Well I don't understand why you're so agressive in your answers Les... Can't you see it's the first time I come on this forum and ask for your help ? Can't you see I'm noob with Kix ? Are you working for the society which created Kix or you're just Moderator... Hope so... By the way thanks to all who helped me !
Top
#124889 - 2004-08-16 06:45 PM Re: Still can't add network printer...
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
I don't consider myself aggressive... only I expect you to respect forum etiquette. If one reads both of your threads, it is obvious that your double posting just created confusion.

To answer your question... Yes, I am 'just' a moderator. There is just one author (Ruud) of Kix but the entire KiX community does provide input. Not sure where you are going with that.

You didn't say what 'help' worked for you in the end, but I am happy someone 'helped' you.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#124890 - 2004-08-17 11:28 AM Re: Still can't add network printer...
HelpMe Offline
Fresh Scripter

Registered: 2004-08-11
Posts: 16
Well I'm really sorry for all of that I didn't expect not to respect forum rules as I said I'm noob with all this Kix stuff and I'm trying to make it works for the place I work ! But you helped me guys ! I found the ComputerInGroup stuff, I don't understand everything in the way UDF works and are written as I'm not a programmer, but I try !!!! I'm actually trying the ComputerInGroup UDF, be sure I'll let you know how it's going... Hope well !
See you soon

Top
#124891 - 2004-08-17 01:32 PM Re: Still can't add network printer...
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
alrighty.
a small question, how did you find it?
_________________________
!

download KiXnet

Top
Page 1 of 3 123>


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

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

Generated in 0.052 seconds in which 0.024 seconds were spent on a total of 13 queries. Zlib compression enabled.

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