Computing.Net > Forums > Networking > Printing to network printer in DOS

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Printing to network printer in DOS

Reply to Message Icon

Name: mcavoym1
Date: March 13, 2005 at 08:44:20 Pacific
OS: Windows XP home
CPU/Ram: Pentium M 1G
Comment:

Hi, I am trying to print to a network printer from DOS. I have tried the following command:

net use lpt2:\\pavilion\hp1100/persistent:yes

but it keeps returning

"System error 67 has occured.

The network name cannot be found

I can print to the printer through my windows program, and I have double checked the spelling... I can PING the pavilion (computer name)...

Its a wireless network - Any ideas?



Sponsored Link
Ads by Google

Response Number 1
Name: steigrafx
Date: March 13, 2005 at 09:23:47 Pacific
Reply:

The net use command is correct, but you're missing two spaces. It should be:

net use lpt2: \\pavilion\hp1100 /persistent:yes


0

Response Number 2
Name: mcavoym1
Date: March 13, 2005 at 09:40:49 Pacific
Reply:

Its hard to see where the spaces are... Is there it

net (space) use (space) lpt2: (space) \\pavilion\hp1100 (space)/persistent:yes

?


0

Response Number 3
Name: mcavoym1
Date: March 13, 2005 at 09:42:42 Pacific
Reply:

It worked! Your awesome - Thanks!


0

Response Number 4
Name: mcavoym1
Date: March 13, 2005 at 09:47:39 Pacific
Reply:

At least it accepted the command - Program just hangs when I try to print :-(


0

Response Number 5
Name: steigrafx
Date: March 13, 2005 at 10:09:58 Pacific
Reply:

Could use more info. Is this one PC with Windows running a DOS program? And is the printer physically connected to the computer and set as shared, or is it actually on a print server?


0

Related Posts

See More



Response Number 6
Name: steigrafx
Date: March 13, 2005 at 10:10:57 Pacific
Reply:

I just realized that you've set the printer as LPT2. Have you tried using the same command with LPT1?


0

Response Number 7
Name: mcavoym1
Date: March 13, 2005 at 10:35:39 Pacific
Reply:

Its a computer with a printer connected and shared - I didn't use LPT 1 because I do physically hook this computer to the printer at work (docking station) its just easier to do it wireless at home.

I got it to work a couple of times, but its sporadic. If I shut the program down and restart it it will print again. Could be the program - Its a pain in the you know what in a lot of ways.


0

Response Number 8
Name: steigrafx
Date: March 13, 2005 at 10:48:31 Pacific
Reply:

I know what you mean. Our "bread and butter" database on my 70+ user business network is an old DOS app called Advanced DB-Master. Our printers are all networked so each machine needs to have the printer installed to a TCP/IP port and the Net Use command must be issued. There's just no getting around it...DOS is dead (we're in the process of moving to a new Windows database).


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Networking Forum Home


Sponsored links

Ads by Google


Results for: Printing to network printer in DOS

slow printing from DOS www.computing.net/answers/networking/slow-printing-from-dos/25226.html

Unable to print to network printer www.computing.net/answers/networking/unable-to-print-to-network-printer/35212.html

printing to network printer at same causes printer not to print. www.computing.net/answers/networking/printing-to-network-printer-at-same-causes-printer-not-to-print-/1100.html