🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #1658

Re: how to send data to COM port?

#1658
From: Andrea
Date: Thu, 25 Oct 2001 10:04
18 lines
1319 bytes
"Jason" <jason_khoi@hotmail.com> ha scritto nel messaggio
news:3bd371d5_2@dnews...
> traditionally, when we want to send data to COM port printer, we just
> specify filename as "PRN". Then the data will be printed by COM port
> printer.
>
> How to do it in java?
>
>

You can download CommApi from:

http://java.sun.com/products/javacomm/

and look to some examples to use it.

                                        Bye Andrea
Technical Details
Message-ID: <3bd7e2b9$1_1@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.media.kyoto-u.ac.jp!newsfeed.mesh.ad.jp!uunet!osa.uu.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews
References: <3bd371d5_2@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,e5faef356b0884d6
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2001-10-25 03:01:49 PST
From: "Andrea" <anpiset@tin.it>
Newsgroups: borland.public.jbuilder.java.api
References: <3bd371d5_2@dnews>
Subject: Re: how to send data to COM port?
Date: Thu, 25 Oct 2001 12:04:06 +0200
Lines: 20
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
NNTP-Posting-Host: 193.205.83.181
Message-ID: <3bd7e2b9$1_1@dnews>
X-Trace: dnews 1004004025 193.205.83.181 (25 Oct 2001 03:00:25 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.media.kyoto-u.ac.jp!newsfeed.mesh.ad.jp!uunet!osa.uu.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews