John Zukowski wrote:
> Does the Linux JDK support printing?
If you mean it comes with the JDK, yes ... I'm using JDK 1.1.3.
> The error message seems to imply that it didn't come from the source in
> from the AWT book. Is this something you added, or does it come from the
> Linux port?
The error did not come from the source. This error dialog is part of the
Print Dialog that comes up when the getPrintJob() method is called ... (I did
not change anything in the source code.) ... Right there, pjob becomes null,
not giving me the chance to get into the loop following it ...
> I'm no longer on the Java-Linux mailing list, so I'm not sure if anyone
> else answered this for you already.
My problem has not been solved yet ...
I hope somebody can help me ... Printing is a real necessity ...
Thank you.
-- Laura
John Zukowski wrote:
> Thanks for your message at 04:34 PM 8/12/98 -0700, Laura L. Evangelista:
> >Sir,
> >
> > I tried to run your sample application "TestPrint" but it
> >wouldn't print anything ... The print dialog shows up. But when I
> >choose "Print" from the dialog, a "Print Error" dialog shows up
> >with the message:
> >
> > "Could not execute print
> >command: [Ljava.lang.String;@80cbe12"
> >
> > This is the first time I tried the printing feature in Java
> >(I also tested other sample applications, but they all wouldn't
> >work) ... The printer (HP LaserJet 4L) is from within the (local)
> >network ... I am using RedHat Linux 4.2, JDK 1.1.3 ...
> >
> > I hope you can help me on this.
> >
> > Thank you.
> >
> >-- Laura
> >
> >Tidbits:
> >What can you say about the Printing API in JDK 1.2?
> >
>
> John Zukowski Focus on Java Guide / http://java.miningco.com
> [EMAIL PROTECTED] | [EMAIL PROTECTED]
> Author Java AWT Reference / Borland's JBuilder No Experience Required
> MageLang Institute - http://www.magelang.com
> Will hack Java code / book for food