Article View: borland.public.jbuilder.java.swing
Article #49How can I set the PageDimension in PrintJob ???
From: Dietmar Schinnerl
Date: Wed, 15 Sep 1999 00:00
Date: Wed, 15 Sep 1999 00:00
23 lines
1750 bytes
1750 bytes
Introduction: I'm working on a simple method to print out the contents of a DataSet. But I allways get a PageDimesion of (ca. 500 x ca. 800)... The hardcopy looks like one from a matrix printer. It seems that nobody except me has a problem with this. By now I believe I am the only one trying to print out of Java. :-( Question: I get the Graphics size with the method printJob.getDimension, but how can I set this Dimension or the Resolution. Maybe its with the System.properties... I have no idea... please help Thanx a lot -schinni- -- ___________________________________________________________________ Dietmar Schinnerl tel: +43 316 82 26 32 - 13 HS-ART Digital Service GmbH mobil: +43 676 57 22 000 Rechbauerstr. 37 fax: +43 316 82 64 44 A-8010 Graz e: schinnerl.hsart@aon.at ___________________________________________________________________
Technical Details
Message-ID:
<37DFD01A.B7BBDD16@aon.at>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,79162b03a0bf6ded,start X-Google-Attributes: gid111d45,public X-Google-Thread: f74b3,79162b03a0bf6ded,start X-Google-Attributes: gidf74b3,public X-Google-Thread: f5619,79162b03a0bf6ded,start X-Google-Attributes: gidf5619,public From: Dietmar Schinnerl <schinnerl.hsart@aon.at> Subject: How can I set the PageDimension in PrintJob ??? Date: 1999/09/15 Message-ID: <37DFD01A.B7BBDD16@aon.at> X-Deja-AN: 525491680 Content-Transfer-Encoding: 7bit Organization: Another Netscape Collabra Server User X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing,borland.public.jbuilder.jbcl,borland.public.jbuilder.java.language