🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.lang.java.help
2 messages
2 total messages Started by Neil Muller Sun, 04 Mar 2001 21:05
Printing Question
#67
Author: Neil Muller
Date: Sun, 04 Mar 2001 21:05
36 lines
2223 bytes
This is a multi-part message in MIME format.
--------------57461CE39DC3D603278E285D
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Can anyone tell me how to suppress the printer dialog for a Java
application running on Windows? All I want to do is print directly to
the default printer without any user involvement.

Thanks in advance.

Neil


--------------57461CE39DC3D603278E285D
Content-Type: text/x-vcard; charset=us-ascii;
 name="neologix.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Neil Muller
Content-Disposition: attachment;
 filename="neologix.vcf"

begin:vcard 
n:Muller;Neil
tel;cell:0408 977 976
tel;fax:02 6287 5911
tel;work:02 6287 5900
x-mozilla-html:FALSE
org:Neologix Pty Ltd
adr:;;PO Box 3183;Weston Creek;ACT;2611;Australia
version:2.1
email;internet:neil@neologix.net
fn:Neil Muller
end:vcard

--------------57461CE39DC3D603278E285D--
Re: Printing Question
#66
Author: TP
Date: Mon, 05 Mar 2001 18:03
13 lines
1343 bytes
take the     if(job.printDialog()) out  and just use the  job.print();

Tami

Neil Muller wrote:

> Can anyone tell me how to suppress the printer dialog for a Java
> application running on Windows? All I want to do is print directly to
> the default printer without any user involvement.
>
> Thanks in advance.
>
> Neil
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads