Ask the Expert

I can't print from DOS while XP is running

I can't print from a DOS application while running XP. I have many other computers that are also running on XP that can print to the shared printer. I can print from any other application other than DOS. I've also used 'Net use,' and it says it is not recognized. Do you know if anyone has had this same problem?

Requires Free Membership to View

The printer needs to be shared first in XP in order to reroute it via the NET USE command. Make sure you are using the correct syntax as well:

NET USE LPT1 "<printer share name>>" /PERSISTENT=YES

Don't forget the quote marks. The PERSISTENT switch will allow the printer to be reconnected to LPT1 at each restart.

This was first published in August 2003

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: