f



Problem printing on solaris 2.8 using jdk 1.4.1

Hi

I am trying to print from a swing gui running on solaris 2.8, with
jdk1.4.1. I use

PrinterJob pj2 = PrinterJob.getPrinterJob();
pj2.printDialog();

Once the code gets to printDialog, it hangs.

I have used prnSvcs = PrinterJob.lookupPrintServices(); and printed
out the names of the print services and all printers on the network
show up.

Any idea why printDialog hangs? My path includes /usr/bin and lpstat
can be seen.

Thanks

Bruce
0
bruce
1/26/2004 6:28:05 PM
comp.lang.java.gui 8286 articles. 0 followers. Post Follow

0 Replies
582 Views

Similar Articles

[PageSpeed] 14

Reply: