No, unfortuately it is only a problem on the terminal server, and yes I agree
it's very hard to find issues like this.
I am calling the print dialog so the printer can be selected. This is the full
method.
public void print() {
PrinterJob pj = PrinterJob.getPrinterJob();
PrintRequestAttributeSet aset = new HashPrintRequestAttributeSet();
SimpleDoc doc = new SimpleDoc(renderer,
DocFlavor.SERVICE_FORMATTED.PAGEABLE, null);
if (pj.printDialog(aset)) {
try {
PrintService ps = pj.getPrintService();
DocPrintJob dpj = ps.createPrintJob();
dpj.print(doc, aset);
} catch (PrintException pe) {
pe.printStackTrace();
}
}
}
I can try generating the pcl or ps output, but I was concerned that some
printers might not support that.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]