Article View: borland.public.jbuilder.java.swing
Article #12099Printing Problems
From: Anne Nortcliffe
Date: Tue, 23 Feb 1999 00:00
Date: Tue, 23 Feb 1999 00:00
17 lines
947 bytes
947 bytes
Anybody know how I can print my GUI to a file for manipulation in Word
etc Also I'm having problems just printing a form out, with the
following code;
PrintJob prnJob=getToolkit().getPrintJob(this, "Printing", null);
Graphics pg=prnJob.getGraphics();
this.printComponents(pg);
if (pg!=null){
this.printAll(pg);
pg.dispose();
}
prnJob.end();
All I get is a blank page..
Any help would be helpful
Technical Details
Message-ID:
<36D2AED0.CC8E0C49@sheffield.ac.uk>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,d8d31f3d4bf44ba5,start X-Google-Attributes: gid111d45,public From: Anne Nortcliffe <cop94aln@sheffield.ac.uk> Subject: Printing Problems Date: 1999/02/23 Message-ID: <36D2AED0.CC8E0C49@sheffield.ac.uk> X-Deja-AN: 447478899 Content-Transfer-Encoding: 7bit Organization: Another Netscape Collabra Server User Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing