Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

LinePrinter.java  RSS feed

 
Data Virtue
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This class simulates a line printer and allows you to print text strings easily from Java.
Tell it the font, feed it some text and you have a printed (8.5 x 11) document.
Portrait or Landscape, you can also change the font when issuing a form feed.

Print Example is public domain

Link: http://www.datavirtue.com/Software/dev/LinePrinter.java

 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Data Virtue",
Welcome to the JavaRanch.

We're a friendly group, but we do require members to have valid display names.

Display names must be two words: your first name, a space, then your last name. Fictitious names are not allowed.

Please edit your profile and correct your display name since accounts with invalid display names get deleted, often without warning

thanks,
Dave
 
Data Virtue
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I went off about this before and they left my name in place. I logged in just fine. Also if anyone cares to look you can end up with my home adress in about two clicks by visiting the website seen in my signature.

Again, I tried to follow your rules even though I log in everywhere with the name DataVirtue; my "real" name was already taken. Data Virtue is a legal name for me anyway as I have stated before.

Your forums are nice but please quit accusing me of ficticious names when in fact it is a "real" & legal name for me to operate under.

I think most of my posts are now dealing with the ficticious name issue.

Killroy, killroy...

Sean
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!