🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Is there a way to write a byte to the printer port

#2564
From: Markus Laun
Date: Mon, 11 Sep 2000 17:05
15 lines
1609 bytes
morbgra wrote:
> 
> Hi,
> 
> Is there a way to use java to turn on a light connected to the ltp port?
> 
> I can't find anything
> 
> Thanks a lot

you mean lpt port? if you don't necessarily need a system independent
way,
why don't you try opening an output stream on the file 'LPT:' and
writing to that
Technical Details
Message-ID: <39BD10EF.703AF8A1@cdsoft.de>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-east!sn-xit-uk!supernews.com!195.86.7.162.MISMATCH!newsfeed.wirehub.nl!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.germany.net!newsfeed.dpn.de!news-out3.f.gtn.com!news-in2.f.gtn.com!news.dpn.de!news.dpn.de!not-for-mail
References: <8pinii$4q0$1@nereid.worldonline.nl>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,30020315e8c66fee
X-Google-Attributes: gidf74b3,public
X-Google-Thread: 10a146,30020315e8c66fee
X-Google-Attributes: gid10a146,public
X-Google-Thread: 1089d0,30020315e8c66fee
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2000-09-11 10:03:26 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-east!sn-xit-uk!supernews.com!195.86.7.162.MISMATCH!newsfeed.wirehub.nl!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.germany.net!newsfeed.dpn.de!news-out3.f.gtn.com!news-in2.f.gtn.com!news.dpn.de!news.dpn.de!not-for-mail
Message-ID: <39BD10EF.703AF8A1@cdsoft.de>
Date: Mon, 11 Sep 2000 19:05:51 +0200
From: Markus Laun <gooselaun@cdsoft.de>
Organization: CD Software GmbH
X-Mailer: Mozilla 4.61 [en] (Win98; I)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.java.api,borland.public.jbuilder.java.language,comp.lang.java.programmer
Subject: Re: Is there a way to write a byte to the printer port
References: <8pinii$4q0$1@nereid.worldonline.nl>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 15
NNTP-Posting-Host: cd20.cdsoft.de
X-Trace: 968691791 news.dpn.de 280 212.82.101.150
X-Complaints-To: abuse@dpn.de