woops, I forgot to actually specify the name of the function. it's PrinterJob.printDialog()
-----Original Message----- From: Matthew Case [mailto:[EMAIL PROTECTED] Sent: Monday, December 29, 2003 11:50 AM To: [EMAIL PROTECTED] Subject: RE: Specifying printer for print output Seems to me that the PrinterJob class has a function that allows you to prompt the user for what printer they want to use, etc. I would start there. http://java.sun.com/j2se/1.3/docs/api/java/awt/print/PrinterJob.html -----Original Message----- From: Mark Williams [mailto:[EMAIL PROTECTED] Sent: Monday, December 29, 2003 11:48 AM To: [EMAIL PROTECTED] Subject: Specifying printer for print output Hi, We have copied an example for printing from xsl-fo using FOP within a java class. In short it is: PrinterJob pj = PrinterJob.getPrinterJob(); PrintRenderer renderer = new PrintRenderer(pj); driver.setRenderer(renderer); driver.run(); It works fine and prints to the default printer. Does anyone know how we can tell FOP to print to another printer other than the default. We do not want to change the default printer for this purpose. Thanks in advance. Mark Williams --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
