Somebody correct me if I'm wrong, but I think...
To print a document directly, you need to use a renderer which implements Printable and Pageable.
You can then do something like
PrinterJob pj = PrinterJob.getPrinterJob();
after you've used the Driver to process the document.
At the moment, the only renderer which seems to comply is the AWTRenderer, which makes some sense, as it is producing a Graphics drawing rather than some external format.
What I don't understand is why org.apache.fop.render.PrintRenderer is called PrintRenderer: the role seems to be pretty much reversed, in that the classes which extend it are the ones you couldn't print direct from java (without some plugin) because they're external formats...
a/ The awt renderer is a little ropey just now
b/ my understanding of all this is a little ropey just now
From: Gorka Echevarría [mailto:[EMAIL PROTECTED]]
Sent: Sunday, November 18, 2001 9:19 AM
Subject: Send a document directly to a printer