aspose file tools*
The moose likes Beginning Java and the fly likes Printing text file direct to the specific Printer in Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Printing text file direct to the specific Printer in Java" Watch "Printing text file direct to the specific Printer in Java" New topic
Author

Printing text file direct to the specific Printer in Java

tahir ahmed
Greenhorn

Joined: Dec 20, 2011
Posts: 7
Hi,
I am new to java and I am trying to print the text file to a specific Printer using java by passing the file name with location and the printer name. While I google I found the code given below but open the file dialog to select the file and then it open the Print dialog to select the printer but I need directly with out user intervention.
If any body can help me on this will highly appreciate.


 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Printing text file direct to the specific Printer in Java
 
Similar Threads
Print dialog
need to create a Navagation Button control using Annotation
SWT printing works on Windows but not on a Linux machine
Printing using SWT Urgent
How does canvas, an exteded JPanel obj have methods getSize(), createImage(size.width, size.height)?