Computing.Net > Forums > Windows XP > NET USE: DOS Printing WinXP HELP!

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.

NET USE: DOS Printing WinXP HELP!

Reply to Message Icon

Name: netgroover
Date: June 6, 2005 at 22:50:34 Pacific
OS: WinXP
CPU/Ram: 2.0/512
Comment:

BACKGROUND
I have an old DOS program that is vital to our business, and has worked fine under Win95 and Win98 using Novell Network. We ditched Novell for more simplified networking...

THE SETUP
I have two brand new Dell XP machines. I have networked them peer-to-peer as PC1 and PC2. Each has an Okidata ML320 printer attached at LPT1. Now, one printer is shared as FORMS, and the other printer as REPORTS; they are used with different forms.

THE PROBLEM
I created a batch file to run which captures the LPT port output from the Dos program:

net use lpt1: //PC1/FORMS
net use lpt2: //PC2/REPORTS

(start dos program)

I have used this setup with same program at another location using Win2000 and it works just fine. However, I get strange results under XP. I get PRINT ERROR in the printer dialog boxes.. I get endless printjob loops which never send output to pringer; only indicates Spooling... Printing... Spooling, etc. I have spent hours and hours trying to check cables, disable firewalls, check and recheck my syntax.

I have tried using the Devcon.exe suggestion found on this forum, but the printjobs cannot find the network printers because they physically do reside on LPT1 ports.

There is only one user at each CPU, and they of course have admin rights. My question is... are there inherent problems routing DOS printjobs to network printers which are attached to LPT ports?

Lastly, I should note that our DOS program can route printjobs to each of the two printers... for FORMS printjobs it sends output to LPT1; and for REPORTS forms it sends output to LPT2.

Am I doing something fundamentally wrong here?

Any help greatly appreciated.



Sponsored Link
Ads by Google

Response Number 1
Name: Dr. Zhivago
Date: June 7, 2005 at 02:21:39 Pacific
Reply:

I don't profess to be an expert on this subject, so don't hope for a panacea, but I presume you understand that XP-Dos is not really DOS.

See if this application is relevant to your needs:

http://www.winbatch.com/?goog-1


0

Response Number 2
Name: dropkick
Date: June 7, 2005 at 03:26:22 Pacific
Reply:

hi
back slashes not fwd slashes , ok dos isnt my baby ,but try it.

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

regards



0

Response Number 3
Name: jtros402
Date: June 7, 2005 at 09:17:25 Pacific
Reply:

net use lpt1 /d
net use lpt1 \\printer share
net use lpt2 /d
net use lpt2 \\printer share
net use lpt3 /d
net use lpt3 \\printer share

This is the batch file that I setup and works fine with the printer shares on my network


0

Response Number 4
Name: laslos
Date: June 10, 2005 at 00:42:10 Pacific
Reply:

I have been told by my system administrator, but have not had the opportunity to try it for myself about special utility Dosprn.

This is a shareware program which you can download from http://www.dosprn.com will allow DOS programs to print to the any Windows printer - including network printers, USB printers, virtual printers etc.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

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


Go to Windows XP Forum Home


Sponsored links

Ads by Google


Results for: NET USE: DOS Printing WinXP HELP!

Net use www.computing.net/answers/windows-xp/net-use/66049.html

cannot net use to a win xp machine www.computing.net/answers/windows-xp/cannot-net-use-to-a-win-xp-machine/70521.html

Net use LPT1, can't print www.computing.net/answers/windows-xp/net-use-lpt1-cant-print/172587.html