Tom's Hardware > Forum > Windows XP > Windows XP General Discussion > Installing network printer through batch file

Installing network printer through batch file

Forum Windows XP : Windows XP General Discussion - Installing network printer through batch file

Tom's Hardware: Over 1.4 million members in 6 different countries available to answer all your high-tech questions. Sign up now! Its free!
Word :    Username :           
 

Archived from groups: microsoft.public.windowsxp.print_fax (More info?)

 

Hello all,

I'm looking to see if I can install an IP Port printer through a batch file.

Long story, short. Half of our office prints throug a Cannon ir5000i, w/
the print queue on the network (so they all already have the driver
installed). They are moving to a new office w/ a new subnet. I have a
batch file I've written to speed up the network protocols change over, and
would like to be able to tackle the printer as well. Also, the clients will
now print directly through the Cannons internal print server, so I need to
configure them as IP Ports.

Can this be done? Any suggestions?

Thanks In Advance,
Eric James Dreksler

Sponsored Links
Register or log in to remove.

Archived from groups: microsoft.public.windowsxp.print_fax (More info?)

 

I'm not aware of a way to create a Standard TCP/IP printer port via script,
but you might want to see if the Print Migrator tool at
http://www.microsoft.com/downloads [...] layLang=en
is any help.


--
Bruce Sanderson MVP

It is perfectly useless to know the right answer to the wrong question.


"Eric Dreksler" <ericd AT accessoneinc DOT com> wrote in message
news:uKpfzyRvEHA.3276@TK2MSFTNGP15.phx.gbl...
> Hello all,
>
> I'm looking to see if I can install an IP Port printer through a batch
> file.
>
> Long story, short. Half of our office prints throug a Cannon ir5000i, w/
> the print queue on the network (so they all already have the driver
> installed). They are moving to a new office w/ a new subnet. I have a
> batch file I've written to speed up the network protocols change over, and
> would like to be able to tackle the printer as well. Also, the clients
> will now print directly through the Cannons internal print server, so I
> need to configure them as IP Ports.
>
> Can this be done? Any suggestions?
>
> Thanks In Advance,
> Eric James Dreksler
>

Reply to Anonymous

Archived from groups: microsoft.public.windowsxp.print_fax (More info?)

 

in \windows\system32 there is prnport.vbs use this to create the port.

You can also use prndrvr and prnmngr to add the driver and printer

works on XP and above.

--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/default.aspx?scid=fh;[ln];kbhowto

This posting is provided "AS IS" with no warranties, and confers no rights.

"Bruce Sanderson" <bsanders@junk.junk> wrote in message
news:O6XAmXUvEHA.720@TK2MSFTNGP10.phx.gbl...
> I'm not aware of a way to create a Standard TCP/IP printer port via
script,
> but you might want to see if the Print Migrator tool at
>
http://www.microsoft.com/downloads [...] layLang=en
> is any help.
>
>
> --
> Bruce Sanderson MVP
>
> It is perfectly useless to know the right answer to the wrong question.
>
>
> "Eric Dreksler" <ericd AT accessoneinc DOT com> wrote in message
> news:uKpfzyRvEHA.3276@TK2MSFTNGP15.phx.gbl...
> > Hello all,
> >
> > I'm looking to see if I can install an IP Port printer through a batch
> > file.
> >
> > Long story, short. Half of our office prints throug a Cannon ir5000i,
w/
> > the print queue on the network (so they all already have the driver
> > installed). They are moving to a new office w/ a new subnet. I have a
> > batch file I've written to speed up the network protocols change over,
and
> > would like to be able to tackle the printer as well. Also, the clients
> > will now print directly through the Cannons internal print server, so I
> > need to configure them as IP Ports.
> >
> > Can this be done? Any suggestions?
> >
> > Thanks In Advance,
> > Eric James Dreksler
> >
>
>

Reply to Anonymous

Archived from groups: microsoft.public.windowsxp.print_fax (More info?)

 

Thanks Alan. I'll see about getting this added to the Printing FAQ.

--
Bruce Sanderson MVP

It is perfectly useless to know the right answer to the wrong question.


"Alan Morris(MSFT)" <alanmo@online.microsoft.com> wrote in message
news:eMaf6bpwEHA.2016@TK2MSFTNGP15.phx.gbl...
> in \windows\system32 there is prnport.vbs use this to create the port.
>
> You can also use prndrvr and prnmngr to add the driver and printer
>
> works on XP and above.
>
> --
> Alan Morris
> Windows Printing Team
> Search the Microsoft Knowledge Base here:
> http://support.microsoft.com/default.aspx?scid=fh;[ln];kbhowto
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>
> "Bruce Sanderson" <bsanders@junk.junk> wrote in message
> news:O6XAmXUvEHA.720@TK2MSFTNGP10.phx.gbl...
>> I'm not aware of a way to create a Standard TCP/IP printer port via
> script,
>> but you might want to see if the Print Migrator tool at
>>
> http://www.microsoft.com/downloads [...] layLang=en
>> is any help.
>>
>>
>> --
>> Bruce Sanderson MVP
>>
>> It is perfectly useless to know the right answer to the wrong question.
>>
>>
>> "Eric Dreksler" <ericd AT accessoneinc DOT com> wrote in message
>> news:uKpfzyRvEHA.3276@TK2MSFTNGP15.phx.gbl...
>> > Hello all,
>> >
>> > I'm looking to see if I can install an IP Port printer through a batch
>> > file.
>> >
>> > Long story, short. Half of our office prints throug a Cannon ir5000i,
> w/
>> > the print queue on the network (so they all already have the driver
>> > installed). They are moving to a new office w/ a new subnet. I have a
>> > batch file I've written to speed up the network protocols change over,
> and
>> > would like to be able to tackle the printer as well. Also, the clients
>> > will now print directly through the Cannons internal print server, so I
>> > need to configure them as IP Ports.
>> >
>> > Can this be done? Any suggestions?
>> >
>> > Thanks In Advance,
>> > Eric James Dreksler
>> >
>>
>>
>
>

Reply to Anonymous
Tom's Hardware > Forum > Windows XP > Windows XP General Discussion > Installing network printer through batch file
Go to:

There are 1007 identified and unidentified users. To see the list of identified users, Click here.

Please mind

You are about to answer a thread that has been inactive for more than 6 months.
If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.

Add a reply Cancel
Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them