🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #10240

Printing Problem with Swing

#10240
From: Ravi
Date: Tue, 02 Nov 1999 00:00
15 lines
1041 bytes
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: <381ED993.5480CF27@gseindia.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,f33890880dac8f3,start
X-Google-Attributes: gid111d45,public
From: Ravi <ravi@gseindia.com>
Subject: Printing Problem with Swing
Date: 1999/11/02
Message-ID: <381ED993.5480CF27@gseindia.com>
X-Deja-AN: 543484090
Content-Transfer-Encoding: 7bit
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Gislen Software India
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing