![]() |
|
|
|
#1 |
|
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 |
|
|
|
|
#2 |
|
Posts: n/a
|
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 |
|
|
|
#3 |
|
Posts: n/a
|
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 |
|
![]() |
| Thread Tools | Search this Thread |
|
|
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 |