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
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)...
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
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).
Summary: help me please! printing to network printer in DOS is ok already. but when i tried to print using our program that uses MAGIC(dos based version) it prints but the printing comes after 30 seconds or so...
Summary: My setup is as follows: Two Windows XP Pro PCs Linksys (Wireless) Router Brother HL-5250DN Laser printer. I also sometimes connect wirelessly with my laptop. The issue: Up until about two weeks ago I ...
Summary: We have 10 workstations connected to a HP 5si network printer. We are running Novell 4.11, with the workstations running Windows 98SE. When 2 or more people are trying to print at the same time the pr...