Article View: borland.public.jbuilder.java.swing
Article #10241Re: Printing Problem with Swing
From: Zippy
Date: Tue, 02 Nov 1999 00:00
Date: Tue, 02 Nov 1999 00:00
21 lines
1481 bytes
1481 bytes
Printing in java is at the worst right now- Sounds like your trying to print an image or Icon if so you will need to write your own paint UI . The file size will still be relatively big but not 30meg probably around 700k >Hi all, > > I have a problem in printing using Swing components and Printer >Job. I have a panel with swing components - labels and check boxes. I >move values to these controls and call the PrinterJob class's print >method. >1. The printer spooler file grows to 30MB. Is this reasonable? Is there >a way around it? Or am I missing something? > >2. It takes 3 minutes to spool (because of the big size?). > >3. The printout comes with a grey background. The panel color is set to >white. How to avoid this grey background? > >Thanks for anyhelp. > >
Technical Details
Message-ID:
<381ee714.196312@news.pangea.ca>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<381ED993.5480CF27@gseindia.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,f33890880dac8f3 X-Google-Attributes: gid111d45,public From: Zippy@Pangea.ca (Zippy) Subject: Re: Printing Problem with Swing Date: 1999/11/02 Message-ID: <381ee714.196312@news.pangea.ca> X-Deja-AN: 543504709 Content-Transfer-Encoding: 7bit References: <381ED993.5480CF27@gseindia.com> Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@pangea.ca X-Trace: pumpkin.pangea.ca 941550300 9638 207.161.114.195 (2 Nov 1999 13:45:00 GMT) Organization: Oats Mime-Version: 1.0 Reply-To: Zippy@Pangea.ca NNTP-Posting-Date: 2 Nov 1999 13:45:00 GMT Newsgroups: borland.public.jbuilder.java.swing