delorie.com/archives/browse.cgi | search |
From: | "Wolfgang v. Hansen" <wolfgang DOT von DOT hansen AT fom DOT fgan DOT de> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: How to open LPT1: as file? |
Date: | Wed, 19 Feb 2003 08:55:09 +0100 |
Organization: | Customers of TopLink Internet Services, Germany |
Lines: | 17 |
Message-ID: | <Pine.WNT.4.53.0302190837080.728@wat033> |
References: | <3E509273 DOT 2040107 AT fom DOT fgan DOT de> <3E50A19B DOT 8030906 AT geninfor DOT com> |
NNTP-Posting-Host: | d2fee.unt0.orion.fw.fom.fgan.de |
Mime-Version: | 1.0 |
In-Reply-To: | <3E50A19B.8030906@geninfor.com> |
X-X-Sender: | wvhansen AT mira DOT ett DOT fom DOT fgan DOT de |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
X-MIME-Autoconverted: | from QUOTED-PRINTABLE to 8bit by delorie.com id h1J80Ar12346 |
Reply-To: | djgpp AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
On Mon, 17 Feb 2003, Rafael García wrote: > Wolfgang v. Hansen wrote: > > I tried to fopen("LPT1:", "w") but that didn't succeed. > > I ever use printers this way and it works perfectly. > Please tell us more about your configuration. I think I found the reason why it didn't work. It seems that you have to have a printer driver configured for the port you wish to use. IMHO this is somehow odd, because I wanted to bypass any windows driver. BTW, does the generic text driver send all raw data to the printer correctly? Wolfgang
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |