🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: ch.comp
Article #86836

Re: Print from JAVA

#86836
From: Urs Eberle
Date: Thu, 20 Feb 1997 00:00
13 lines
887 bytes

You have to use JDK1.1 (product version out since this week).

Check the method getPrintJob of Toolkit.
The method getGraphics of PrintJob gives you a Graphics context,
which will be one page of paper in the printer.

This works for applications, for applets you'll have to wait until
the browsers upgrade from JDK1.0.2 to JDK1.1.

--
urs
Technical Details
Message-ID: <5ehnsf$okh@svdns1.ubinet.ubs.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <330BC86F.1C89@twi.ch>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10c1fa,2694c9d7b655e98d
X-Google-Attributes: gid10c1fa,public
X-Google-Thread: f5d71,2694c9d7b655e98d
X-Google-Attributes: gidf5d71,public
From: szhebu@ubs.ch (Urs Eberle)
Subject: Re: Print from JAVA
Date: 1997/02/20
Message-ID: <5ehnsf$okh@svdns1.ubinet.ubs.com>
X-Deja-AN: 220308067
References: <330BC86F.1C89@twi.ch>
Followup-To: ch.comp,comp.lang.java
Organization: Union Bank of Switzerland
Reply-To: Urs.Eberle@ubs.ch
Newsgroups: ch.comp,comp.lang.java