Go Back   Velocity Reviews > Newsgroups > Wireless Networking
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

Wireless Networking - Network printer in dos

 
Thread Tools Search this Thread
Old 02-16-2008, 08:14 PM   #1
Default Network printer in dos


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.





Don
  Reply With Quote
Old 02-19-2008, 04:28 PM   #2
smlunatick
 
Posts: n/a
Default Re: Network printer in dos
On Feb 16, 3:14*pm, "Don" <D...@127.0.0.1> wrote:
> 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.


One quick way I know is to still set up a shared name off a Windows PC
for this networked printer.


smlunatick
  Reply With Quote
Old 02-22-2008, 04:15 PM   #3
GTS
 
Posts: n/a
Default Re: Network printer in dos
It might be possible to make that work by using printer pooling as follows:

Assuming that you currently have the printer driver installed using an IP
address (or net name) for LPR printing -

1. Share the printer on your workstation. (This may seem counter
intuitive - you are sharing the driver on the workstation for use on that
machine, not for access by other workstations.)

2. In the ports tab of the printer properties check Enable printer pooling.


3. Run ipconfig in a command prompt and note your IP.

4. Enter the following in a command prompt using the IP address of your
workstation determined above and the printer sharename you just created.
net use lpt1 \\xxx.xxx.xxx.xxx\sharename /persistent:yes


If this works, note that your local IP address may change if using DHCP, so
you may want to assign a static IP to your workstation and delete and
recreate the mapping in step 4. Also, if you are not using a static ip
address for the network printer you may wish to assign it one or use the net
name instead (though I generally prefer setting a static IP for LPR
printers).

Would appreciate knowing how this works out.
--

"Don" <Don@127.0.0.1> wrote in message
news:...
> 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.
>
>
>





GTS
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
IMHO, Digital SECAM video is better than Analog NTSC video Radium DVD Video 167 10-25-2006 04:16 AM
Setting up a Network -- Wired or Wireless? shopzero.net DVD Video 1 07-24-2006 07:18 PM
IBM Network 12 Printer Error P1 paperjam pabstbr A+ Certification 0 10-04-2005 11:40 PM
Shared printers XP and 9x bopper2 A+ Certification 2 05-24-2005 04:50 AM
Re: adding wireless to a wired network AG A+ Certification 3 01-14-2005 08:52 AM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46