🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: mod.computers.vax
Article #4073

Re: Flag pages out of mail prints

#4073
From: carl
Date: Sat, 04 Apr 1987 10:43
32 lines
2611 bytes
>         When you do a PRINT in VMS mail, it sends the current message
> you are looking at out to the printer.  What it doen't do is put a flag
> page on the front of it, even if the print queue is set up for
> DEFAULT=FLAG.  Is there anyway to fix it so that I get a flag page?
> Half page mail messages without a flag page have a tendancy to get left
> with printout that printed before it on that printer and then get sent
> to the wrong office.

Do you also have the queue set /SEP=FLAG?

>         An associated question is this.  We have a bunch of dot matrix
> printers spread around the campus in rooms where there are clusters of
> terminals.  I have set SYLOGIN.COM so that it figures out where the
> nearest of those printers is to the terminal a person is logging into
> and then redifines PRINT to send output to that print queue.  The
> problem is that MAIL doesn't seem to honor this symbol definition, which
> isn't too suprising.  What does MAIL use to initiate the print, and is
> there any good way to get a hook in there to do a redirection to some
> queue other than SYS$PRINT?

I haven't checked this, but mail almost certainly uses the technique of
setting "spool on close" bit in the file processing options of the RMS file
attributes block of the temporary file it creates to hold the messages to
be printed.  If this is the case, there is no way that I know of to get
the file to go anywhere other than SYS$PRINT.  However, don't give up hope:
ask yourself "Where IS SYS$PRINT, anyway?"  Well, you've got a queue defined
with that name, so that's where it is by default; however, what if instead
of redefining PRINT in SYLOGIN.COM to be PRINT/QUEUE=nearest_printer, you
issued a command of the form "DEFINE/JOB SYS$PRINT nearest_printer_queue"?
The answer is, PRINT without an explicit queue specification will go to
SYS$PRINT, which is now the nearest printer, and any file spooled for printing
by the mechanism described above will go there as well.
Technical Details
Message-ID: <870404024344.0f5@CitHex.Caltech.Edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!clyde!rutgers!ames!ucbcad!ucbvax!CITHEX.CALTECH.EDU!carl

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!clyde!rutgers!ames!ucbcad!ucbvax!CITHEX.CALTECH.EDU!carl
From: carl@CITHEX.CALTECH.EDU.UUCP
Newsgroups: mod.computers.vax
Subject: Re: Flag pages out of mail prints
Message-ID: <870404024344.0f5@CitHex.Caltech.Edu>
Date: Sat, 4-Apr-87 05:43:44 EST
Article-I.D.: CitHex.870404024344.0f5
Posted: Sat Apr  4 05:43:44 1987
Date-Received: Sun, 5-Apr-87 10:54:59 EST
Sender: daemon@ucbvax.BERKELEY.EDU
Distribution: world
Organization: The ARPA Internet
Lines: 32
Approved: info-vax@sri-kl.arpa