Question Locked

Wireless printing from MS-DOS program using Vista

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Hi. I've set up a home network. I am running Vista Home Premium. I've connected a printer using an ethernet cable from the printer to my wireless router. I am able to print out of any Windows based program but unable to print using MS-DOS. I had the same problem in my office but got around it using the "net use" command. I had someone set this up for me and they told me to do the same for my home network. I was told to type in "net use \\computer name\printer name". This isn't working. Any ideas??

5 replies

by Former member

When you add the printer, select only the "Local printer attached to this computer option." Leave the other two boxes unchecked and click Next. Check the "Create a new port" box and use the drop-down to select "Standard TCP/IP Port." On the following screen, you need to furnish the IP address of the printer. After that, select your printer and continue until completion.

The following steps will allow your DOS apps to print from the printer.

Go to Printers and Faxes and right click the printer. Select Sharing and then enable sharing, and provide a name for the shared printer or accept the default name (remember what you named it -- you'll need it in the next step).

Open a command prompt (a "DOS" window) and type:

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

That command captures the print jobs sent to LPT1 by your DOS app, and redirects it to the printer. The "persistent" switch means that the command will load automatically everytime your PC starts.

To "undo" the command, at a command prompt just type:

net use lpt1: /delete

Please post back if you have any more problems or questions.
If this information is useful, please mark as helpful. Thanks.

by capewillard

Thanks for your reply Peconet! I did as instructed. After installing the printer I went went into DOS and typed the following:
lpt1: \\Owner-PC\CC8400/persistent:yes and I received a "System error 66 has occured" message. It says the network resource type is not correct? Not sure what that means. The name of the printer is correct and I am guessing the computername is correct as I never renamed it and that is the name i see when I look at my computer properties. Any other ideas?? Thanks again.

by mgp2

You need to have a space after 8400.

Like so:

lpt1: \\Owner-PC\CC8400 /persistent:yes

Also, don't forget your net use command.

Good luck.

by Former member

Take a look and see there is a space between:
lpt1: \\Owner-PC\CC8400" "/persistent:
Where i have marked there should be a space.
So give it another go. :)

Please post back if you have any more problems or questions.
If this information is useful, please mark as helpful. Thanks.

This discussion is closed to new replies.