🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Printing Problems

#11894
From: Don Lyman
Date: Wed, 10 Mar 1999 00:00
26 lines
1277 bytes
To just get a snapshot (in Windows) do: <Alt><PrintScrn> then <Ctrl>V in
Word.

I had some success printing components with jdk1.1.6_Borland, but any other
jdk prints ugly components because it assumes the same dpi as your screen.

Anne Nortcliffe wrote in message <36D2AED0.CC8E0C49@sheffield.ac.uk>...
>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: <7c7c0h$kbd8@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <36D2AED0.CC8E0C49@sheffield.ac.uk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,d8d31f3d4bf44ba5
X-Google-Attributes: gid111d45,public
From: "Don Lyman" <don.lyman@state.co.us>
Subject: Re: Printing Problems
Date: 1999/03/10
Message-ID: <7c7c0h$kbd8@forums.borland.com>
X-Deja-AN: 453645473
References: <36D2AED0.CC8E0C49@sheffield.ac.uk>
X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.swing