🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

awt.Toolkit

#18039
From: Isabel Migu�ns
Date: Tue, 25 Aug 1998 00:00
16 lines
887 bytes
hi,
I've seen that with Toolkit.getPrintJob() you can print an image, with
getGraphics() and printAll(graphic), i.e. the code should be:
Toolkit  tol=getToolkit();
PrintJob jo=tol.getGraphics();
Graphics gra=jo.getGraphics();
printAll(gra);
gra.dispose();
jo.end();

but I want print a text file or the text area contents on a printer, and I
don�t find how printing.
If you know it, please tell me the answer.

Thanks,
I. Migu�ns.
Technical Details
Message-ID: <6ru658$gmi11@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f74b3,a6cc02d56e2f7bbb,start
X-Google-Attributes: gidf74b3,public
From: "Isabel Migu�ns" <sabela-@arrakis.es>
Subject: awt.Toolkit
Date: 1998/08/25
Message-ID: <6ru658$gmi11@forums.borland.com>
X-Deja-AN: 384518065
Organization: Another Netscape Collabra Server User
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4
Newsgroups: borland.public.jbuilder.java.language