Page 1 of 1 1
Topic Options
#112866 - 2004-01-30 06:11 PM Map IP Printer?
cwhitmore Offline
Starting to like KiXtart

Registered: 2001-05-23
Posts: 102
Loc: Austin, Texas, USA
Right now I have remote printers shared through our local server, but I'd like to have them use the IP address of the printer instead. How do I map an IP printer and copy the correct drivers for it when someone logs in?
This is what I'm doing now:

;El Paso Printers
If ComputerInGroup('El Paso') = 1
If PriMapState('\\server1\EL-4000N') = 0
AddPrinterConnection ("\\server1\EL-4000N")
EndIf
If PriMapState('\\server1\EL-4100N') = 0
AddPrinterConnection ("\\server1\EL-4100N")
EndIf
EndIf

Top
#112867 - 2004-01-30 06:23 PM Re: Map IP Printer?
Allen Administrator Online   shocked
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4562
Loc: USA
To add IP Printers try this... Addprinter()
Top
#112868 - 2004-01-30 06:41 PM Re: Map IP Printer?
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
you mean directly map the printer?
if so, you only need to map the printer once per machine and then it will be mapped for all.
_________________________
!

download KiXnet

Top
#112869 - 2004-01-30 06:43 PM Re: Map IP Printer?
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Quote:

Right now I have remote printers shared through our local server



What is the specific reason to switch away from the centralized model, and how will it make printer/queue/driver management easier? How will users be able to install/update printer drivers? Please provide specifics. Best practices suggest that centralized printer servers are the better solution.
_________________________
There are two types of vessels, submarines and targets.

Top
#112870 - 2004-01-30 08:55 PM Re: Map IP Printer?
cwhitmore Offline
Starting to like KiXtart

Registered: 2001-05-23
Posts: 102
Loc: Austin, Texas, USA
We currently map printers locally in each office through IP address. We have 12 remote offices and those offices. Those offices are running Exchange and two custom programs that access MS-SQL here in at the main office. I want to cut down on the amount of traffic between the main office and those remotes.
Another question:
How can I use PriMapState() to check for local IP printers?

Top
#112871 - 2004-01-30 09:22 PM Re: Map IP Printer?
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Then install print servers in the local offices on the local DCs or other available server. Much easier to manage than installing IP-based printers on all workstations.
_________________________
There are two types of vessels, submarines and targets.

Top
#112872 - 2004-01-30 10:32 PM Re: Map IP Printer?
cwhitmore Offline
Starting to like KiXtart

Registered: 2001-05-23
Posts: 102
Loc: Austin, Texas, USA
That won't work since we don't have DC's in any of the remote offices.
Top
#112873 - 2004-01-30 10:54 PM Re: Map IP Printer?
ShaneEP Moderator Offline
MM club member
*****

Registered: 2002-11-29
Posts: 2127
Loc: Tulsa, OK
Well...That sucks. Anyways...There isnt really any magic way of adding IP printers via a script. None that I know of anyways.

Quote:

I want to cut down on the amount of traffic between the main office and those remotes




You know adding DCs to the remote sites would help a great deal with that too.

Top
#112874 - 2004-01-30 11:10 PM Re: Map IP Printer?
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
That's why I assumed that there's a DC in place already. It'll also create better protection against WAN-link failures and eases AD administration.
_________________________
There are two types of vessels, submarines and targets.

Top
#112875 - 2004-01-30 11:26 PM Re: Map IP Printer?
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK

I had a script that did it.
think I still have it somewhere.
but it wasn't in any means ment for workstations.

it was used to sync the slave printerservers to the main one.
and I think that is what you should be doing.
you don't need any DC or even server for that.
simple PII 300MHz machine will do for about 20 users just fine.
_________________________
!

download KiXnet

Top
#112876 - 2004-01-31 01:12 AM Re: Map IP Printer?
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Quote:

simple PII 300MHz machine will do for about 20 users just fine.




WKSTA has a 10 connection license limit.
I would go with a member server.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#112877 - 2004-01-31 01:19 AM Re: Map IP Printer?
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
nah...
dunno.
we have a xerox docu [censored] running an NT4 workstation as it's system and it does not have any problem serving about 70 connections.
_________________________
!

download KiXnet

Top
#112878 - 2004-01-31 02:36 PM Re: Map IP Printer?
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Even a cheap Linux system with SAMBA would do to serve as a print server.

However, as the ultimate goal is to reduce inter-office network traffic, the first step would be to locate a DC at each office. This will greatly reduce all the AD traffic. Once this is accomplished, the DC can do double-duty as a print server. Also, what is the percentage of printer traffic based on overall traffic. Where are the files stored? On the individual computers? How are these backed up? What's the link speeds between the offices? Private lines or VPN?

It sounds to me like a badly architected network and switching the printers is a short-term fix of a symptom instead of a in-depth analysis of the underlying problem.
_________________________
There are two types of vessels, submarines and targets.

Top
#112879 - 2004-01-31 09:17 PM Re: Map IP Printer?
cwhitmore Offline
Starting to like KiXtart

Registered: 2001-05-23
Posts: 102
Loc: Austin, Texas, USA
We are a non-profit so my IT budget is very small. I have all of the servers in one central office that serves Email, Intranet, Custom apps, file and print services. About half the users outside our office store docs on the server in the main office the rest store locally (and are responsible for backing them up). Everyone outside the main office connects directly to the IP of the print server. (only the main office shares printers)
The main office is running a full T1 (1.5MB) and the remote office, there are 12 of them, run on DSL (512k up / 1.5MB down).
I'm running this network by myself so I don't have the man power or time right now to setup a Linux box at each of these offices (maybe in the future).

I've been using NetMeeting to conduct training and setup the PC as necessary.

Top
#112880 - 2004-01-31 11:08 PM Re: Map IP Printer?
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
no money or man power?

check:
http://pigtail.net/LRP/printsrv/

you need at least 486 machine with 8Mb of RAM.
no HD needed.
read the little page and say you still don't have power for that
_________________________
!

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
1 registered (Allen) and 1198 anonymous users online.
Newest Members
M_Moore, BeeEm, min_seow, Audio, Hoschi
17883 Registered Users

Generated in 0.069 seconds in which 0.028 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