🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #19982

two questions about printing...

#19982
From: R.C. vd Zon
Date: Mon, 10 Nov 1997 00:00
20 lines
813 bytes
I have two questions about printing:

1:
When I execute:

    PrintJob pj = parent.getToolkit().getPrintJob(thisFrame,"java
print",null);
    Dimension dim = pj.getPageDimension();

dim always returns [width=612,height=792] no matter what paper size I
choose. 
How can I get the correct papersize?

2:
Is it possible to get the default printer settings?

Thanks for any response,

Robbert
Technical Details
Message-ID: <34671770.3714@dicon.nl>
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: f74b3,d4b492b3d3b2b4c3,start
X-Google-Attributes: gidf74b3,public
From: "R.C. vd Zon" <vdZon@dicon.nl>
Subject: two questions about printing...
Date: 1997/11/10
Message-ID: <34671770.3714@dicon.nl>
X-Deja-AN: 288331355
Organization: DICON Automatisering B.V.
Reply-To: vdZon@dicon.nl
Newsgroups: borland.public.jbuilder.java.language