Article View: borland.public.jbuilder.java.api
Article #3311Printing with JBuilder and JDK1.1.2
From: John Niesz
Date: Mon, 16 Feb 1998 00:00
Date: Mon, 16 Feb 1998 00:00
20 lines
1449 bytes
1449 bytes
I've been working on an application for a month and a half that has to print graphs. Today I got to the point where I finished the render() function and tested it on both the screen and printing. The screen rendering worked fine, but it refused to print. The printjob began and ran through the render() function fine, but when I called printjob.end(), it merely skipped over it without finishing the spooling job, and continued with the program. When the application exited, the spool manager gave me an error that "Java AWT" exited before it finished printing. However, that only happened when I ran the program normally (command line: java EcoProj.MainProg). When I debugged it through JBuilder, the printing ran fine, due most likely to the substitution JBuilder made of native code for Java classes for use in the debugging process. If anyone has any ideas of how to print successfully with JDK1.1.2, could you please help me? Thanks. John
Technical Details
Message-ID:
<34E8C918.788BF6F9@worldnet.att.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,d4d20da474607b2,start X-Google-Attributes: gid1089d0,public From: John Niesz <sunrunner15@worldnet.att.net> Subject: Printing with JBuilder and JDK1.1.2 Date: 1998/02/16 Message-ID: <34E8C918.788BF6F9@worldnet.att.net> X-Deja-AN: 325691890 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Organization: None Newsgroups: borland.public.jbuilder.java.api