delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/02/17/02:45:15

From: "Wolfgang v. Hansen" <hansen AT fom DOT fgan DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: How to open LPT1: as file?
Date: Mon, 17 Feb 2003 08:42:43 +0100
Organization: Customers of TopLink Internet Services, Germany
Lines: 8
Message-ID: <3E509273.2040107@fom.fgan.de>
NNTP-Posting-Host: d2fee.unt0.orion.fw.fom.fgan.de
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01
X-Accept-Language: de,en
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019