• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to print text to Dot Matrix Printer

 
A.G Rajkotia
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone tell me how do we print text to dot matrix printer.
 
Stephan van Hulst
Bartender
Pie
Posts: 5371
52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, you likely have to write some sort of native code to communicate with the operating system, which has drivers for the printer.

However, this is probably not easy, and I would think that there are already third party libraries out there that have solved this problem. So google around for solutions that other people have made.
 
Stephan van Hulst
Bartender
Pie
Posts: 5371
52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually, if you googled around a little bit, you might find that you could access the printer like a file, and simply write text to it directly.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic