Access is denied in a DOS window under XP SP2 when you copy a file to a UNC Printer

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

a.kennedy

Thread Starter
Joined
Feb 10, 2005
Messages
7
When in XP SP2 I go to a CMD prompt and I try to copy a file to the UNC Printer Share on the directrly attached printer on LPT1 and I get "access is denied" error message. But if I copy the file to the >LPT1 port it works fine.

The EPSON LX-300 dot matix printer is directly attached to a XP SP2 pc via a parrallel cable LPT1. It is also shared. \\OST-Recp\Receipt
It works fine when connected to a XP SP1 pc so I'm assuming it's a SP2 issue.

When I type this at a command prompt
copy test.txt \\ost-recp\receipt I get access is denied

When I type this at a command prompt
copy test.txt >LPT1 it works fine.

Regards
AK
 
Joined
Dec 29, 2004
Messages
403
Any particular reason you double posted this in two different forums? You know that's bad form, right?
 

a.kennedy

Thread Starter
Joined
Feb 10, 2005
Messages
7
It's my first time posting onto any forum and I wasn't sure I had posted it into the correct forum.
My bad. Sorry.
 
Joined
Dec 29, 2004
Messages
403
It's ok, we want to help...trust me <G>. I just don't want to see double-work being done to assist you as this causes confusion.

I'll try to ask one the excellent moderators to consolidate this.
 
Joined
Nov 2, 2002
Messages
22,468
Just tested this on two XP computers, both with SP2, and a locally attached parallel printer that is shared. Printing to the UNC share worked fine on both computers. So it is not an SP2 issue.

Does the user have access to that share?
 

a.kennedy

Thread Starter
Joined
Feb 10, 2005
Messages
7
Yes this user has full admin rights. I have also logged in as the administrator localy and the domain administrator.

Well if it worked fine for you it might be a group policy issue. Could that be possible?

Did you use an Epson LX-300?
 
Joined
Nov 2, 2002
Messages
22,468
Haven't done anything special with group policies on either computer. I tried it on two different printers. But don't have every one out there. If you really think it is a problem with that specific printer, you might try swapping it. But generally it is not a printer that gives an "access is denied" error message.
 

a.kennedy

Thread Starter
Joined
Feb 10, 2005
Messages
7
I have changed dot matrix printers and still no go.

If I type this it works fine (from the cmd.exe window)
c:\>copy text.txt >lpt1
This prints

But if I type this
c:\>copy text.txt \\ost-recp\receipt
It replies "Access is denied." 0 file<s> copied.

I am logged in as the administrator of the domain who is also a member of the Local admin group.

I have also given the System32 spool folder full admin rights.
I'm running out of ideas.......
 

a.kennedy

Thread Starter
Joined
Feb 10, 2005
Messages
7
I fixed it.

All I did was delete the printer and reinstalled it and it decided to work.

Thanks for your help to date.

To be honest I think it had too many users under the security tab of the printer.
It now only has the default settings from when you first install a printer.
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Top