🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #41220

Re: Windows 16/32 printer code for slrn

#41220
From: root
Date: Fri, 29 May 1998 00:00
37 lines
2245 bytes
On 29 May 1998 15:12:40 GMT, root@gte.net <root@gte.net> wrote:
>On 28 May 1998 20:13:07 GMT, root@gte.net <root@gte.net> wrote:
>>On 28 May 1998 18:08:38 GMT, John E. Davis <davis@space.mit.edu> wrote:
>>>On 28 May 1998 13:14:55 GMT, root@gte.net <root@gte.net>
>>>wrote:
>>>>article numbers that occurs in a number of news readers.  Have you
>>>>checked whether your network considers the file "prn" to be the
>>>>network printer?
>>>
>>>It does not:
>>>  
>>>    copy con: prn:
>>>    test
>>>    ^Z
>>>    Write fault error writing device PRN
>>>    Abort, Retry, Ignore, Fail?
>>>    Fail on INT 24 - prn
>>>            0 files(s) copied
>>>
>>>This is the reason I coded the printer interface in C instead of a
>>>macro that opened prn: and wrote out the article to that.
>>>
>>It was worth a try.  C'est la guerre.
>
>The next ploy will be to use the Windows 3.x `escape' printing functions
>that are obsolescent, but supported in the latest NT/98 releases.  Talk
>about sullying oneself with dirty code that is not part of the C mainstream.

If this were an academic environment, the notion of using a C compiler that
didn't implement the right things when you open a printer as a file under
Windows would be derisible.  You can see the heavy hand of Microsoft in 
this piece of nonsense.  I am leaning towards implementing a version of
fprintf that knows how to use the Windows `textout' command for the right
file pointers.

Technical Details
Message-ID: <6kn0u3$onp$1@gte1.gte.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <6kefal$6pn$1@gte1.gte.net> <6ki8li$j57$1@gte2.gte.net> <slrn6mpvkk.lsk.davis@aluche.mit.edu> <6kjo0f$81p$1@gte1.gte.net> <slrn6mra14.m2b.davis@aluche.mit.edu> <6kkggj$bul$1@gte1.gte.net> <6kmj98$sue$2@gte2.gte.net>

Show Full Headers
Complete Article Headers
Message-ID: <6kn0u3$onp$1@gte1.gte.net>
Subject: Re: Windows 16/32 printer code for slrn
Date: Fri, 29 May 1998 00:00:00 +0000
From: root@gte.net ()
References: <6kefal$6pn$1@gte1.gte.net> <6ki8li$j57$1@gte2.gte.net> <slrn6mpvkk.lsk.davis@aluche.mit.edu> <6kjo0f$81p$1@gte1.gte.net> <slrn6mra14.m2b.davis@aluche.mit.edu> <6kkggj$bul$1@gte1.gte.net> <6kmj98$sue$2@gte2.gte.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 357730351
Reply-To: vtailor@gte.net-nospam
Organization: The Light
X-Auth: C01F8F5919DCD6CF4ED08491
Newsgroups: news.software.readers