This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Print directly to dot matrix printer

 
yesaya handoyo
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,i want to ask for help.Can anyone teach me how to print directly to a dot matrix printer?Without using any printer driver??Please help me..Thanks a lot..
 
Joe Ess
Bartender
Pie
Posts: 9264
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If your OS and printer supports it, you can access a printer like you would a file, like in this example from the old Java Programmer's FAQ:



One thing I feel the need to point out, PrintStream and PrintWriter don't actually have anything to do with printing-to-paper. Their purpose is to make it easy to write formatted representations of objects to a stream, along with some other convenience features.
[ October 09, 2008: Message edited by: Joe Ess ]
 
yesaya handoyo
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok,thanks a lot..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic