users
[Top] [All Lists]

printing in Java

To: users@xxxxxxxxxx
Subject: printing in Java
From: Jason Kretzer <jrkretzer@xxxxxxxxx>
Date: Fri, 12 Nov 2004 07:23:06 -0800 (PST)
Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
Delivered-to: mailing list users@cinjug.org
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=0/pdo/XB2l4MA6rb3wcqPcsNlbeNrmtwgE7Q3fbjlgjGFVcMk0OL69Ow24Vz4GLu7vE6LwBXV3tKIifGNRFIf7/gyqad2F8PVc7lqFGUgeMXcSna0WY09LPH+QSdLxWCU9q58WqFQwDmK14wcj4ZpoP4GOM34bXVcd+mVMDavgY= ;
Mailing-list: contact users-help@cinjug.org; run by ezmlm
I saw this thread on another JUG and decided to post
it here as the other JUG is still debating it.

Lets say you have a very simple Notepad style editor
written in Java, like the Notepad that comes with SDK.
 How would one add functionality to allow the app to
print?  For both a networked and connected printer?

It has been suggested that you use a FileOutputStream
and just point it at the (lets say for Windows) COM1
port.

Are there better ways than this?

-Jason

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

<Prev in Thread] Current Thread [Next in Thread>