A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
Joined: Jun 07, 2001
Oct 19, 2004 08:58:00
I am deploying an application that needs to create a postscript (ps) file using java.awt.PrintJob.
PrintJob pjob = Toolkit.getDefaultToolkit().getPrintJob( new Frame(), "PrintJob with Java", jobAtt, pageAttrib);
This works fine in Windows XP, but when I deploy it to AIX, I get this error:
I know that this is because the system attribute (awt.toolkit) is not set for the environment.
All I want to do is to find out what JAR file to include in the project (and where to download it) to have the sun.awt.motif.* package available to the
If I'm missing the point and there's an easier way to do this, please let me know!
Thank you very much in advance for taking a look and helping me.
subject: Finding sun.awt.motif.MTookit
How to print an RenderedImage?
Print complete UI.
how 2 take print from a frame (hard copy)??????
how to send a file from java for printing
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014