error 66 with net use lpt2:

I replaced my print server with dlink DPR-1260, the other one quit. So far there has been no problem printing from any windows program that was an easy setup.  I ahve a couple dos oriented programs that I have been running and was able to configure the output to LP2: with
<net use lpt2: \\printserver\printer/p> in the past now I get a error 66. I have successfully pinged the IP address and the server name. It does not appear on the list with net view command or on the domain list. I had no problem before with the previos printserver  until it died. I must be doing something incorrectly but havent figured out what. Thank you for any help.. running XP pro
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Steve KnightIT ConsultancyCommented:
OK so you have a print server box on the network and before you pointed at it to map to LPT2: right?  Can I suggest you do it as:

If you have no server

1. Install a local printer on your computer using a standard tcpip port and printing to the print server
2. Share the printer as "whatever"
3. net use lpt2: \\yourpcname\whatever

If you have a server

1. Install a local printer on the server using a standard tcpip port and printing to the print server
2. Start | Run \\servername and double click on printer to print from workstation (or any of the other many ways of doing this)
3. net use lpt2: \\servername\printersharename

I imagine the new print server either does not pretend to be a windows server or isn't configured like one at the moment.   The above should work though.



Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.