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.