🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.jbuilder.java.language
2 messages
2 total messages Started by Earn Mon, 12 Sep 2005 13:45
How Can i print a text file through a remote printer using java not jsp
#439
Author: Earn
Date: Mon, 12 Sep 2005 13:45
4 lines
1068 bytes
How can i print a text file(ascii) through a remate printer using java (not 
jsp)

thanks
Re: How Can i print a text file through a remote printer using java not jsp
#440
Author: Paul Nichols [TeamB]
Date: Wed, 14 Sep 2005 02:38
10 lines
1130 bytes
Earn wrote:

> How can i print a text file(ascii) through a remate printer using java
> (not jsp)
> 
> thanks

Use an OutputStream to print to the printer
 OutputStream ou= new OutputStream("//<ServerName/PrinterName");
   out.print(<bytes>);
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