🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #2887

Pixelly printer output.

#2887
From: Ian H
Date: Fri, 23 Jul 1999 00:00
19 lines
1308 bytes
I hope some-one  can help with a problem that has had us stumped for the
moment.

We are writing a report generator using Java2D. The report first appears
on a JPanel where the paint(Graphics) method has been overridden, and it
looks fine. But when the same set of graphics commands are called with a
Graphics object from a printJob, the output has large pixels, as if
image is rendered first for the screen. We are using a buffered image
created from the JPanel's createImage method.

Our attempts to get around that haven't worked so far. When we by-passed
the buffered image approach the machine ground to a halt with all memory
used up.

Any hints? I'm sure there must be a way to do proper printing in Java.

Regards,

Mark Patterson, Comcraft
Technical Details
Message-ID: <3797D231.D5C0D5B0@gil.com.au>
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: 1089d0,4cff2ef6ed30886d,start
X-Google-Attributes: gid1089d0,public
From: Ian H <comcraft@gil.com.au>
Subject: Pixelly printer output.
Date: 1999/07/23
Message-ID: <3797D231.D5C0D5B0@gil.com.au>
X-Deja-AN: 504244273
Content-Transfer-Encoding: 7bit
X-Original-NNTP-Posting-Host: nas2ip204.ipswich.gil.com.au
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Global Info-Links
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.api