Networking Forums

Networking Forums > Wireless Networking > Wireless Networks > Network printer in dos

Reply
Thread Tools Display Modes

Network printer in dos

 
 
Don
Guest
Posts: n/a

 
      02-16-2008, 07:14 PM
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.



 
Reply With Quote
 
 
 
 
GTS
Guest
Posts: n/a

 
      02-22-2008, 03:15 PM
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:(E-Mail Removed)...
> 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.
>
>
>



 
Reply With Quote
Reply

Thread Tools
Display Modes

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I install the Deskjet 722C driver to function as a network printer rather than a dedicated PC parallel port printer Warren Windows Networking 7 10-29-2007 02:21 AM
network not available after install Brother network printer tim@akers-ski.com Windows Networking 2 10-18-2006 06:00 PM
Wireless Network Printing Without Network Printer Doug Wireless Networks 3 07-12-2005 10:10 PM
lost use of network printer connceted via wireless network after p R_C_Brown_Jr Wireless Networks 0 11-05-2004 07:34 PM
Printer Sharing - Setting up SMB network printer =?Utf-8?B?TWlrZQ==?= Windows Networking 0 03-01-2004 04:41 AM



1 2 3 4 5 6 7 8 9 10 11