hello friends i want to do printing in java without showing the print dialog and also want to set boarders accordingly. i found this thread http://www.java-forums.org/java-tip/...no-dialog.html but dont know what to write in the method 'printText(myJob, g, s);' please help me