From: "Wolfgang v. Hansen" 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 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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