HP3000-L Archives

October 1999, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
TRACY PIERCE <[log in to unmask]>
Reply To:
Date:
Tue, 26 Oct 1999 08:20:40 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (32 lines)
Jeff, would you be so kind as to supply an example of using PIPES and
TEES?  Here's what we'd love to be able to do, or something like it,
using pseudo-mpe syntax, I hope you get the idea.

REDIRECT would contain something like...
;dev=WIDELP
;dev=LASERJET;env=lj132dgb.pub.minisoft

:FILE MYOUTPUT;^REDIRECT
:RUN MYPGM

and the result would be ONE invocation of the program; WIDELP might even
be non-spooled.

Our current solution is run the program twice, which ensures that the
pre-space-print CCTL option (A) and the single-space-no-autoeject CCTL
option (C) both appear in the spoofles.  You can easily imagine
situations in which run-twice is unacceptable, not just inconvenient.

(iirc that's the problem with the flat-output-then-fcopy solution - you
get hardware default printing,  which is post-space-print and
auto-page-eject 'features'.)

(I THINK this example also points out a problem with just copying
spoofles, in that the env= specification is IN the file.  To do the
spoofle copy solution, we'd need to STRIP the env= and SAVE the C & A.)

K Tracy Pierce
Systems Programmer
Golden Gate Bridge, Hwy & Trnsp Dist
San Francisco, CA  94129-0601

ATOM RSS1 RSS2