🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How do I output to a printer

#18831
From: Clint Brewer
Date: Tue, 21 Apr 1998 00:00
25 lines
1322 bytes
Tim Shelley wrote:
> 
> Hi all,
> 
> I know how to output using the awt PrintJob, but how do I go about
> printing normal text - I had tried to output to a file then exec and
> copy it to lpt1: (I know is not platform dependent but I am getting
> desperate in trying to find how.  The application I am writing crucially
> needs printing.
> Any help or pointer to sources of help would be gratefully received.
> 
> Regards
> 
> Tim

Hello Tim,

  I've never done this myself, but I believe that there was a custom
hardcopy example in the "JAVA EXAMPLES IN A NUTSHELL" book that printed
out text. It used printjob, and also took care of a bug in which the
resolution sizes weren't properly handled

hope this helps,
Clint Brewer
Technical Details
Message-ID: <353D4771.791F@borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <35377A8C.B8F44F37@objectuk.co.uk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,1049aaf4ed69f178
X-Google-Attributes: gidf74b3,public
From: Clint Brewer <supportinfo@borland.com>
Subject: Re: How do I output to a printer
Date: 1998/04/21
Message-ID: <353D4771.791F@borland.com>
X-Deja-AN: 346492898
Content-Transfer-Encoding: 7bit
References: <35377A8C.B8F44F37@objectuk.co.uk>
Mime-Version: 1.0
To: Tim Shelley <tim_shelley@objectuk.co.uk>
Content-Type: text/plain; charset=us-ascii
Organization: Borland International
Newsgroups: borland.public.jbuilder.java.language