This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes print a file to a printer help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Bookmark "print a file to a printer help" Watch "print a file to a printer help" New topic
Author

print a file to a printer help

Fouad Kada
Greenhorn

Joined: Jul 22, 2006
Posts: 4
help, im desperate in here, personnaly i dont think java can print to printers...
i have been searching, alot, all i want is to print a txt file...
it works fine with jpeg and gif but not with txt...
it seems that my printer doesnt support which makes sense because thats why you install drivers when i install you new printer...
can it be done in java...

here is my code

please help me, i need a way to print this file from a ajava application...
thanks in advance
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24189
    
  34

This is the third time in three days that you've posted variations of this same question. Each time, you've posted it in a different forum, and neither of the last two times have you even mentioned any of the previous (excellent) responses that you've received. Please keep the discussion in one thread, and explain what you did in response to previous suggestions -- otherwise noone is going to be able to help you!

I'm going to close this. Please go back to this thread and directly respond to Allan's suggestion, and let's try to have an actual conversation.


[Jess in Action][AskingGoodQuestions]
 
Have you checked out Aspose?
 
subject: print a file to a printer help
 
jQuery in Action, 3rd edition