system.print
Print Functionsβ
The following functions allow you to send to a printer.
ποΈ createImage
Takes a snapshot of a component and creates a Java BufferedImage out of it.
ποΈ createPrintJob
Provides a general printing facility for printing the contents of a window or component to a printer.
ποΈ printToImage
This function prints the given component (such as a graph, container, entire window, etc) to an image file, and saves the file where ever the operating system deems appropriate.
ποΈ getPrinterNames
Lists the available local printers.
ποΈ getDefaultPrinterName
Obtains the local default printer.