Network Printer

D

Don

This has probably been covered a million times before but....

I am using XP and have a network printer which I use for printing from a dos
program by using:

net use lpt1: \\computername\printername /persistent:yes

this worked fine but now I have removed the computer and connected the
printer directly
to my router. The printer still works fine from windows programs.

What command do I now use to print in DOS to lpt1? Do I replace the
"computername" with the
network address (192.168.0.101)? There appears to be no sharing option now
for the printer.

Thanks for any help.
 
P

Pegasus \(MVP\)

Don said:
This has probably been covered a million times before but....

I am using XP and have a network printer which I use for printing from a
dos
program by using:

net use lpt1: \\computername\printername /persistent:yes

this worked fine but now I have removed the computer and connected the
printer directly
to my router. The printer still works fine from windows programs.

What command do I now use to print in DOS to lpt1? Do I replace the
"computername" with the
network address (192.168.0.101)? There appears to be no sharing option now
for the printer.

Thanks for any help.

You must have done a whole lot more than just connect the printer
to your router. You must have re-installed the printer, telling the
installation program that this is now a network printer.

After doing this, the printer became visible in the Control Panel /
Printers. You can now "share" it the way you did before, then map
LPT1 to the share name, again as before.
 
T

Thee Chicago Wolf

This has probably been covered a million times before but....
I am using XP and have a network printer which I use for printing from a dos
program by using:

net use lpt1: \\computername\printername /persistent:yes

this worked fine but now I have removed the computer and connected the
printer directly
to my router. The printer still works fine from windows programs.

What command do I now use to print in DOS to lpt1? Do I replace the
"computername" with the
network address (192.168.0.101)? There appears to be no sharing option now
for the printer.

Thanks for any help.

Set it up as an IP printer and, when using the NET command, you'll
replace it with the printers IP_x.x.x.x port. Try this:

Control Panel > Printers and Faxes > Add Printer > Next > Local
Printer... > Next > Create New Port > Standard TCP/IP Port > Next >
<printer's IP address> From there, you can figure the rest out.

Once you create an IP printer port try:
net use IP_192.168.0.101: \\computername\printername /persistent:yes

It should work. If you can set your printer's IP to be a static
number, do that as a router power cycle may give it a new IP from the
DHCP pool. Good luck.

- Thee Chicago Wolf
 
D

Don

Pegasus (MVP) said:
You must have done a whole lot more than just connect the printer
to your router. You must have re-installed the printer, telling the
installation program that this is now a network printer.

After doing this, the printer became visible in the Control Panel /
Printers. You can now "share" it the way you did before, then map
LPT1 to the share name, again as before.
The printer does show up in Control Panel. What's confusing me is the
"computername" bit. Is it now treated as a local printer and I use the name
of the printer I'm actually sitting at? I'm used to always using the
"computername" for the computer the printer is actually attached to.

Thanks
 
D

Don

Thee Chicago Wolf said:
Set it up as an IP printer and, when using the NET command, you'll
replace it with the printers IP_x.x.x.x port. Try this:

Control Panel > Printers and Faxes > Add Printer > Next > Local
Printer... > Next > Create New Port > Standard TCP/IP Port > Next >
<printer's IP address> From there, you can figure the rest out.

Once you create an IP printer port try:
net use IP_192.168.0.101: \\computername\printername /persistent:yes

It should work. If you can set your printer's IP to be a static
number, do that as a router power cycle may give it a new IP from the
DHCP pool. Good luck.

- Thee Chicago Wolf


Thanks for the "static" tip. I'll look into it. Still wondering about
"computername" (see above).
 
P

Pegasus \(MVP\)

Don said:
The printer does show up in Control Panel. What's confusing me is the
"computername" bit. Is it now treated as a local printer and I use the
name of the printer I'm actually sitting at? I'm used to always using the
"computername" for the computer the printer is actually attached to.

Thanks

If the printer is visible by PC1 then you can share it on PC1. It
does not matter whether it is attached directly to PC1 or if it is
a network printer. Why don't you tive it a try?
 
D

Don

Pegasus (MVP) said:
If the printer is visible by PC1 then you can share it on PC1. It
does not matter whether it is attached directly to PC1 or if it is
a network printer. Why don't you tive it a try?
Thanks, I will. Not there at the moment. Assume it works if you here no
more :)
 
T

Terry R.

The date and time was 2/19/2008 6:01 AM, and on a whim, Don pounded out
Thanks, I will. Not there at the moment. Assume it works if you here no
more :)

I'm sure he'll be "here", but will we "hear" from you? ;-)

--
Terry R.

***Reply Note***
Anti-spam measures are included in my email address.
Delete NOSPAM from the email address after clicking Reply.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top