🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.misc
Article #3198

Can't print to LPT1 in BC DOS app under WFW!?

#3198
From: Keith Bennett
Date: Mon, 11 Jul 1994 03:41
21 lines
1595 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
Technical Details
Message-ID: <2vqf1d$bg1@cpcug.org>
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!hookup!news.moneng.mei.com!howland.reston.ans.net!pipex!sunic!trane.uninett.no!eunet.no!nuug!EU.net!uunet!news1.digex.net!digex.net!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1106e2,b63449c3c86cb698,start
X-Google-Attributes: gid1106e2,public
X-Google-Thread: 1102f1,b63449c3c86cb698,start
X-Google-Attributes: gid1102f1,public
X-Google-ArrivalTime: 1994-07-11 05:01:56 PST
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!hookup!news.moneng.mei.com!howland.reston.ans.net!pipex!sunic!trane.uninett.no!eunet.no!nuug!EU.net!uunet!news1.digex.net!digex.net!not-for-mail
From: kbennett@cpcug.org (Keith Bennett)
Newsgroups: comp.os.ms-windows.misc,bit.listserv.win3-l
Subject: Can't print to LPT1 in BC DOS app under WFW!?
Date: 10 Jul 1994 23:41:33 -0400
Organization: Express Access Online Communications USA: 800-969-9090
Lines: 21
Message-ID: <2vqf1d$bg1@cpcug.org>
NNTP-Posting-Host: cpcug.org