Page 1 of 1 1
Topic Options
#180266 - 2007-09-08 04:41 AM How to Capture IP and deploy printer
selormquarshie Offline
Getting the hang of it

Registered: 2006-12-24
Posts: 85
Folks i am wondering how to script in kixtart capture IP and deploy a printer when a user logon and the IP is within the ff range : through 25, through 25 and through 25. i want the printers to deploy if the machine is within these IP ranges.....any ideas would be greatly appreciated


#180268 - 2007-09-08 06:27 AM Re: How to Capture IP and deploy printer [Re: selormquarshie]
NTDOC Administrator Offline

Registered: 2000-07-28
Posts: 11606
Loc: CA
Please check in the UDF forum for a solution
#180272 - 2007-09-08 02:20 PM Re: How to Capture IP and deploy printer [Re: NTDOC]
Sealeopard Offline
KiX Master

Registered: 2001-04-25
Posts: 11162
Loc: Boston, MA, USA
And see the TCP/IP-related FAQs in the FAQ Forum
There are two types of vessels, submarines and targets.

#180298 - 2007-09-09 10:29 AM Re: How to Capture IP and deploy printer [Re: Sealeopard]
Witto Offline
MM club member

Registered: 2004-09-29
Posts: 1828
Loc: Belgium
These two functions can help you:
IsInSubnet() - Checks if a given IP address is in a specified subnet
Loop through all the IP Addresses you can find on your computer and if your computer is in a certain subnet like (, you can add printers and set one as default. Maybe for that you can use a select statement or an IN file or so.
Maybe this can help:

Page 1 of 1 1

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

Who's Online
0 registered and 131 anonymous users online.
Newest Members
vertage, dimi575, Drecksnacken, Nlill, webtools321
17735 Registered Users

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

Search the board with:
superb Board Search
or try with google: