Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Printer Functionality

 
Greg Mehlhose
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anyone know of a good resource to include functionality to be able to print to a printer from a java app? I want include print functionality into my applicaition, ie File-->Print and be able to print a report to a printer.
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The PrinterJob class interacts with the underlying operating system to call up a native printer selection/routing routine.
http://java.sun.com/docs/books/tutorial/2d/printing/overview.html
[This message has been edited by Cindy Glass (edited June 07, 2001).]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic