Jump to content

Add A Printer To A Printserver


Recommended Posts

Dear all,

we are migrationg from Novell Netware 6 Print-Services (NDPS) to a W2K3 PrintServer.

That is why we have to add a lot of Printers to that new Server.

Is there a script for AutoIt or a VB or other Script to do that job ?

Thanks for any hints

Juergen

Link to post
Share on other sites

What about a script to add the needed TCP/IP Ports to the PrintServer ?

As far as I could see, that can't be done with the mentioned command

"rundll32 printui.dll,PrintUIEntry /if /b "NORTH-US-SRTEST-TEST24-BOGUS" /f %windir%\inf\ntprint.inf /r "IP_157.57.50.98" /m "HP Laserjet 4000 Series PCL" /Z"

only works when the TCP/IP Port "IP_157.57.50.98" is already created on the server.

But how to do that ?

Has anyone any ideas ?

Thanks a lot

Juergen

Link to post
Share on other sites
  • 3 weeks later...

What about a script to add the needed TCP/IP Ports to the PrintServer ?

As far as I could see, that can't be done with the mentioned command

"rundll32 printui.dll,PrintUIEntry /if /b "NORTH-US-SRTEST-TEST24-BOGUS" /f %windir%\inf\ntprint.inf /r "IP_157.57.50.98" /m "HP Laserjet 4000 Series PCL" /Z"

only works when the TCP/IP Port "IP_157.57.50.98" is already created on the server.

But how to do that ?

May be it's interesting for ohters too.

I found "Prnadmin.dll" from the ResourceKit

More Infos here

http://support.microsoft.com/default.aspx?...b;en-us;Q321025

Read the "Prnadmin.doc" from the ResourceKit

Edited by JuergenF
Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...