In article <0e7d01c52a60$6ba54f30$(E-Mail Removed)>, steve bill wrote:
> If you are running Windows XP mapping LPT1 to a network
> share doesn't work out of the box. If you read this KB
> article it has some advice: http://support.microsoft.com/?
> kbid=314499. Somewhere I think that it says that "this
> behavior is by design". I think mapping local ports to a
> network share is some sort of security risk that they
> designed out of XP on purpose.
Thanks for your reply, and thanks for the reference. It was some
help and I was able to download devcon.
> I was able to solve this problem with a batch file with
> the following line in it:
>
> C:\devcon\i386\devcon.exe disable *PNP0401
>
> The other lines map the Lptx: ports to various printer
> shares.
If you still have the batch file, could you post it? What was it called
and where did it go? I tried adding the following lines to the end of
c:\winnt\system32\autoexec.nt.
echo Latest > c:\latest.txt
c:\misc\devcon\i386\devcon disable *PNP0401
net use lpt1: /delete
net use lpt1: \\FMHSc1\HthPsy01 /persistent:yes
The first line showed that the file was executed, by creating
latest.txt. The next three lines are your DEVCON command and NET
USE commands that ought to map lpt1 to the printer. But, lpt1:
still didn't work. It behaved just as it did before -- jobs spool
then disappear. Did you use NET USE or something else, to map Lptx:
ports to printer shares?
> Make sure you complain loudly and often to the software
> vendor or supplier that is making you use that software.
> It has to be at least TEN years old. DOS may have been a
> wonderful thing in its' day but there is no excuse for
> having to use software that old on current equipment. I
> complained and the company finally got around to putting
> that funcionality on the web.
I admit to rather liking DOS. I use the software to make PostScript
files and other things, and don't want to print the files until my
scripts are almost working. I also use FTP to copy files from a
unix system to LPT1: on my PC. This *used* to be a convenient way
to print files. It is me who is choosing to use very old software.
I do wonder if the problem is at the printer end. I have had "cannot
initialize printer" messages. Perhaps initialization by user jobs
has been disabled at the printer -- or something -- I am just guessing.
Any help appreciated!
With thanks,
Nick Hawthorn