Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I write the text file into DOS using TYPE [filename.txt] and now i want to print the output of TYPE DOS command into dot matrix printer which connected in USB port(virtual Port)

share|improve this question
    
Possible duplicate of Batch file for printing text file to virtual port. If you need to add more detail or clarify something, edit your existing question instead of posting a new one. –  Karan Jun 21 '13 at 22:57

1 Answer 1

First you need to share the printer. Then use this following batch code:

type filename.txt > \\computername\sharedprintername
exit
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.