Jump to content
The mkiv Supra Owners Club

2003 server DOS printing problem


GeordieSteve

Recommended Posts

Grrrr I've had this problem before and it's doing my head in now.

 

We're running 2003 SBS at work with XP clients. We have some really crap DOS based accounts program which everyone uses. Because of this, everyone maps to a printer to LPT1 through a VBS script when they log on.

 

I restarted the server on Sat to connect the UPS. Everything seemed hunky dorey until people tried to print from the accounts package. I've checked it out and "net use" is displaying a network printer mapped to LPT1 but when you try to print from DOS you get the error "was unable to create or access the file 'lpt1'".

 

We had this problem a while back and I thought it seemed to be caused by Windows firewall but that's not installed any more.

 

Any ideas? :(

Link to comment
Share on other sites

Really bizarre question, are you running a domain model, if so, try to do the operation as an administrator, you might find that the user doesn't have the correct permissions to access the hardware directly while setting up the virtual mapping.

 

Gav

Link to comment
Share on other sites

the machine the printer connects to. can you print a txt file to it from this?

 

Is the driver for the printer, DOS printing compatable? ohh it might seem stupid but is it actually shared in windows!

 

I had similar problem last week with a hospital as we pritn Via Dos and it was network issues

Link to comment
Share on other sites

All users have local admin rights. I've tried to print from the server when logged in as admin and still have the same issue. Printing from windows isn't a problem.

 

I've tried mapping each and every printer in the place. Only one that works is a guy who has a local lazer printer so he doesn't need lpt1 mapped coz it's hanging off the back of his machine so it must be a network/permission issue.

Link to comment
Share on other sites

ok well to rule out that the machines cant see the machine the printer is attached too. in run type:

 

\\[name of machine]

 

this will be the name of the machine the printer is attached too. If you do this you should see the printer shared in the window.

 

Also ping the machine with the printer by IP address. then ping via hostname. If it is succesfull via IP but not Hostname, could point to a DNS issue.

Link to comment
Share on other sites

Yeah like I say everyone can print from XP no problems, it's only DOS printing that's the problem. Also the printer maps fine in DOS and shows up in "net use". The only thing it won't do it print from DOS. This "access denied" is obviously got me thinking permissions

Link to comment
Share on other sites

ok, well at a guess someone done a change on the server and to complete the change a reboot was needed, the person never reboot the server and the reboot has completed these changes. had that happen to me before!!:complain:

 

Back to basics mate, take a user check their permissions and work ur way through there settings :( or create a new dummy user to test whether u can print from them)

Link to comment
Share on other sites

I've checked the services and all automatic services are running (well except volume shadow copy but I'd expect that). I've even restarted the print spool service but with no joy.

 

I've created a test printer and added just me in with complete full access... and STILL getting "access is denied" in DOS

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. You might also be interested in our Guidelines, Privacy Policy and Terms of Use.