ladybird
(Fresh Scripter)
2002-08-13 05:21 PM
TCP/IP Printing

Can we add tcp/ip printer through script?

Thanks in advance


Sealeopard
(KiX Master)
2002-08-13 05:45 PM
Re: TCP/IP Printing

It depends. If you have a TCP/IP printer and set up a print server, e.g. the domain controller connected to the TCP/IP printer, then you can share the printer on the DC. Then you would use ADDPRINTERCONNECTION to add the printer during the login.

However, if you want ot connect a TCP/IP printer directly to multiple computers, then you will most likely do this manually. You will need to install some kind of TCP/IP printing drivers/software like HP JetAdmin.

I would go with the first solution and set up a print server that people connect to. This also makes administering the printer much easier.

[ 13. August 2002, 19:16: Message edited by: sealeopard ]


ladybird
(Fresh Scripter)
2002-08-13 07:02 PM
Re: TCP/IP Printing

That's the problem. My case is direct tcp/ip directly, due to certain issues.

Sealeopard
(KiX Master)
2002-08-13 07:18 PM
Re: TCP/IP Printing

Then you will need to write a custom install script for the TCP/IP printer driver/software.

Most likely, this custom script must also be run under administrative privileges under Windows Nt/2000/XP and should be done on a per-computer basis. Then restrict access to the installed computers to the respective groups/users.

However, I would strongly recommend using a print server and have the users connect to the print server.

What are your specific issues?


ladybird
(Fresh Scripter)
2002-08-16 12:20 AM
Re: TCP/IP Printing

The issue is the server which i am managing, will print to remote printer.

The printer could be different site. The printer could be axis printer, HP printer, dot matrix printer, etc.

For standard procedure, we decide to use tcp/ip printing rather than printer queue.


LonkeroAdministrator
(KiX Master Guru)
2002-08-15 09:40 PM
Re: TCP/IP Printing

you can always use some simple driver and change just the address in the reg.

I don't know how well net use works with lpt...

anyway, printing should work fine if the redirector is used to point to ip...