I'm new to java, I have a jTextArea that I want to send it's content to print.
I was able to achieve that using
JOptionPane.showMessageDialog(null, "Done Printing...");
This approach will show a printer dialog and the user can set the settings, like paper orientation etc. But I'll like to just set the settings in the java code, so when the user clicks the print button, it will just print the text using the settings I configured in the java code.
The settings I want to configure are;
Printer to use
Scale size of the page
I'm using Netbeans 8.2, MacBook Pro Sierra