Jump to content

Network Printer


Recommended Posts

Posted

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.

  • Replies 7
  • Created
  • Last Reply
Guest Pegasus \(MVP\)
Posted

Re: Network Printer

 

 

"Don" <Nospam@nospam.com> wrote in message

news:uH084KncIHA.1208@TK2MSFTNGP05.phx.gbl...

> 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.

Guest Thee Chicago Wolf
Posted

Re: Network Printer

 

>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

Posted

Re: Network Printer

 

 

"Pegasus (MVP)" <I.can@fly.com.oz> wrote in message

news:uFQ8jPncIHA.4332@TK2MSFTNGP06.phx.gbl...

>

> "Don" <Nospam@nospam.com> wrote in message

> news:uH084KncIHA.1208@TK2MSFTNGP05.phx.gbl...

>> 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.

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

Posted

Re: Network Printer

 

 

"Thee Chicago Wolf" <.@.> wrote in message

news:m41kr3lqm8p7bgvia6kt8jonfqm0vvf095@4ax.com...

> >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

 

 

Thanks for the "static" tip. I'll look into it. Still wondering about

"computername" (see above).

Guest Pegasus \(MVP\)
Posted

Re: Network Printer

 

 

"Don" <Don@127.0.0.1> wrote in message

news:uv0HsivcIHA.5712@TK2MSFTNGP04.phx.gbl...

>

> "Pegasus (MVP)" <I.can@fly.com.oz> wrote in message

> news:uFQ8jPncIHA.4332@TK2MSFTNGP06.phx.gbl...

>>

>> "Don" <Nospam@nospam.com> wrote in message

>> news:uH084KncIHA.1208@TK2MSFTNGP05.phx.gbl...

>>> 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.

> 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?

Posted

Re: Network Printer

 

 

"Pegasus (MVP)" <I.can@fly.com.oz> wrote in message

news:erbR58vcIHA.4332@TK2MSFTNGP06.phx.gbl...

>

> "Don" <Don@127.0.0.1> wrote in message

> news:uv0HsivcIHA.5712@TK2MSFTNGP04.phx.gbl...

>>

>> "Pegasus (MVP)" <I.can@fly.com.oz> wrote in message

>> news:uFQ8jPncIHA.4332@TK2MSFTNGP06.phx.gbl...

>>>

>>> "Don" <Nospam@nospam.com> wrote in message

>>> news:uH084KncIHA.1208@TK2MSFTNGP05.phx.gbl...

>>>> 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.

>> 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?

>

Thanks, I will. Not there at the moment. Assume it works if you here no

more :)

Guest Terry R.
Posted

Re: Network Printer

 

The date and time was 2/19/2008 6:01 AM, and on a whim, Don pounded out

on the keyboard:

>>>

>> 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 :)

>

>

 

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.


×
×
  • Create New...