🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.ms-windows.programmer.misc
1 messages
1 total messages Started by Keith Bennett Sat, 09 Jul 1994 00:39
fopen() to LPT1 fails under WFW !?
#2855
Author: Keith Bennett
Date: Sat, 09 Jul 1994 00:39
21 lines
1870 bytes
Some users of a C/C++ program I wrote are having a problem printing
to LPT1 in a DOS app when it runs under Windows for Workgroups.  The
program uses fopen() to open the LPT1 device in "w" (write) mode.  The
fopen() fails to open the device.

When the user exits to DOS and uses the COPY or PRINT command, output
correctly goes to the printer.

Should they use LPT1.DOS or something like that?

I'd greatly appreciate any advice on this.

Please respond via email if possible (kbennett@cpcug.org).

- Keith

-- 
--------------------------------------------------------------------------
Keith Bennett                            Bennett Business Solutions, Inc.
C++/C Software Development               1852 Middlebridge Drive
kbennett@cpcug.org                       Silver Spring, MD USA 20906
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads