Sam Trenholme's webpage
This article was posted to the Usenet group alt.hackers in 1995; any technical information is probably outdated.

Re: A useful .COM proggy:


Article: 8656 of alt.hackers
Newsgroups: alt.hackers
From: hedley@inferno.cs.bris.ac.uk (David Hedley)
Subject: Re: A useful .COM proggy:
Message-ID: DF9B2x.7J8@uns.bris.ac.uk
Sender: usenet@uns.bris.ac.uk (Usenet news owner)
Nntp-Posting-Host: inferno.cs.bris.ac.uk
Reply-To: David.Hedley@bris.ac.uk
Organization: Computer Science Dept. University of Bristol, England
X-Newsreader: TIN [version 1.2 PL2]
Date: Thu, 21 Sep 1995 13:06:33 GMT
Approved: by me
Lines: 23
Status: RO

Michael Jarvis (mjarvis@qns2.qns.com) wrote:
: Well, if we're going to do SIMPLE com files, here's one.  It just sends a
: formfeed to lpt1.  It's useful if you do a "type foo.txt > lpt1"
and your
: printer doesn't automagically send a formfeed.

: It's only 17 bytes:

: begin 755 ff.com
: 1LP2Q`;H0`;1`S2&X`$S-(0S]
: `
: end

Hmm, I usually just do: echo ^L > prn

(that's control-L for the newbies)

David
--
 David Hedley (David.Hedley@bris.ac.uk)
 http://www.cs.bris.ac.uk/~hedley/
 finger hedley@cs.bris.ac.uk for PGP key
 Computer Graphics Group | University of Bristol | UK
 *** All opinions expressed are mine and mine alone ***



Parent Parent

Child Child Child

Back to index