Only got 1 reply from the Swing mail list, hopefully this list will be more "generous" :-) One extra piece of information is that the application I mention below is all Swing-based. -----Original Message----- From: Vella, John [mailto:john_vella] Sent: Wednesday, April 11, 2001 8:42 PM To: Swing (E-mail) Subject: Help! Which printing API should I be using? This is soooooooo confusing. I'm using 1.3 in an application that makes use of a small number of Java 2D APIs(dashed lines and fill patterns are examples). I can't seem to find any definitive explanation of which print API to use. Should I use Toolkit.getPrintJob or PrinterJob.getPrinterJob? If I use the latter, how can I determine the settings selected by a user with the print dialog's Properties dialog(the one shown when a user clicks on the "Properties" button within the initial print dialog)? Also, isn't the Toolkit.getPrintJob the only one that offers a cross-platform print dialog? The dialog you get from PrinterJob.printDialog looks a little "clunky" on Unix compared to the one you get from Toolkit.getPrintJob. I would appreciate a definitive explanation of what I "should" be using. Thanks, John _______________________________________________ Swing mailing list [EMAIL PROTECTED] http://eos.dk/mailman/listinfo/swing _______________________________________________ Advanced-swing mailing list [EMAIL PROTECTED] http://eos.dk/mailman/listinfo/advanced-swing
