Sign in with
Sign up | Sign in
Your question

Print to redirected LPT3 gets access denied.

Last response: in Windows XP
Share
April 8, 2009 9:28:17 PM

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!
April 9, 2009 12:32:16 PM

try to substitute prn for lpt3 when printing from the local printer and see if it changes anything.
Im not sure that it will but its worth a shot.
June 19, 2009 5:39:44 PM

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!
October 12, 2011 8:06:33 AM

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.
!