Print to redirected LPT3 gets access denied.

BurntBird

Distinguished
Apr 8, 2009
1
0
18,510
Thanks in advance for any help offered.

I have a DOS process running in XP Pro SP2 that does the following...

NET USE LPT3 \\pcname\prtshare
TYPE mydoc > LPT3
NET USE LPT3: /DELETE

The net use commands work. But sending information to the now mapped LPT port gets 'Access is denied'.

Windows, from any computer, has no issues printing to the shared printer. Locally the shared printer is connected to LPT1. DOS can print to the LPT1 port. However even on the local computer trying to print in DOS to the mapped LPT3 gets access denied.

I'm signed in as admin and the printer has full access granted to everybody.

Any idea what I can check?

Thanks!
 

Rajsekhon

Distinguished
Jun 19, 2009
1
0
18,510
THis can also be caused by Antivirus rules blocking creation of files (*SPL) by remote users in c:\windows\system32\spool\printers.

Look in the event log on the server!
 

sony66

Distinguished
Oct 12, 2011
1
0
18,510
If your print server is Windows 2008R2 then check the permissions on \Windows\System32\spool\PRINTERS folder.
Users must have write permisions on this folder, this is not set by default.

Michel.