delorie.com/archives/browse.cgi | search |
From: | steve AT dosius DOT zzn DOT com (Dosius) |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: How to open LPT1: as file? |
Date: | 20 Feb 2003 08:56:43 -0800 |
Organization: | http://groups.google.com/ |
Lines: | 12 |
Message-ID: | <9307085f.0302200856.30eefb06@posting.google.com> |
References: | <3E509273 DOT 2040107 AT fom DOT fgan DOT de> |
NNTP-Posting-Host: | 204.168.131.19 |
X-Trace: | posting.google.com 1045760203 13857 127.0.0.1 (20 Feb 2003 16:56:43 GMT) |
X-Complaints-To: | groups-abuse AT google DOT com |
NNTP-Posting-Date: | 20 Feb 2003 16:56:43 GMT |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
"Wolfgang v. Hansen" <hansen AT fom DOT fgan DOT de> wrote in message news:<3E509273 DOT 2040107 AT fom DOT fgan DOT de>... > Hi, > > I would like to access an old dot matrix printer directly just by > opening the port and sending appropriate bytes to it. I tried to > fopen("LPT1:", "w") but that didn't succeed. > > Wolfgang Does fopen("/dev/lpt1","wb") work? -uso.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |