Article View: aus.computers.java
Article #54Printing Contents of jTextArea to a printer
From: Brett Kirkness
Date: Sun, 04 Dec 2005 01:34
Date: Sun, 04 Dec 2005 01:34
3 lines
1189 bytes
1189 bytes
How can you get a JButton to print out the contents of JTextArea to the local printer under Windows. The JTextArea holds a single String variable.
Technical Details
Message-ID:
<yIrkf.10498$ea6.3909@news-server.bigpond.net.au>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!ken-transit.news.telstra.net!ken-in.news.telstra.net!news.telstra.net!news-server.bigpond.net.au!53ab2750!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10d6db,e1a3b31a9b3fc6a7,start X-Google-Attributes: gid10d6db,public X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!ken-transit.news.telstra.net!ken-in.news.telstra.net!news.telstra.net!news-server.bigpond.net.au!53ab2750!not-for-mail From: "Brett Kirkness" <bkirknes@bigpond.net.au> Newsgroups: aus.computers.java Subject: Printing Contents of jTextArea to a printer Lines: 6 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Message-ID: <yIrkf.10498$ea6.3909@news-server.bigpond.net.au> Date: Sun, 04 Dec 2005 01:34:22 GMT NNTP-Posting-Host: 143.238.104.122 X-Complaints-To: abuse@bigpond.net.au X-Trace: news-server.bigpond.net.au 1133660062 143.238.104.122 (Sun, 04 Dec 2005 12:34:22 EST) NNTP-Posting-Date: Sun, 04 Dec 2005 12:34:22 EST Organization: BigPond Internet Services