🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Printing to... a printer

#18376
From: Bj�rn Hamrin
Date: Fri, 03 Jul 1998 00:00
16 lines
1121 bytes
Maurizio Del Buffa wrote:

> I'am a Java neophit. Which is the way to use the printer in Java?
> I guess I should use the PrintWriter class but how can I choose a specific
> printer the OS Knows?

  Have a look att the documentation of the PrintJob class.
In Windows it will bring upp a standard printdialog where
you can select a printer, if memory my memory serves me.
However I my impression after testing Java 1.1 printing capablities
is that it is a rather minimal implementation. It does look like 1.2 will
be much better though.

cheers
Bj�rn
Technical Details
Message-ID: <359D5B0E.A0AE7ADB@abc.se>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <6nitg1$90311@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f74b3,8ee960b3b115dd1d
X-Google-Attributes: gidf74b3,public
From: "Bj�rn Hamrin" <bjorn.hamrin@abc.se>
Subject: Re: Printing to... a printer
Date: 1998/07/03
Message-ID: <359D5B0E.A0AE7ADB@abc.se>
X-Deja-AN: 368528225
Content-Transfer-Encoding: 8bit
References: <6nitg1$90311@forums.borland.com>
Mime-Version: 1.0
To: Maurizio Del Buffa <m.delbuffa@deltaphi.it>
Content-Type: text/plain; charset=iso-8859-1
Organization: ABC-Klubben
Newsgroups: borland.public.jbuilder.java.language