HP3000-L Archives

March 2000, Week 2

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:
Barry Lake <[log in to unmask]>
Reply To:
Barry Lake <[log in to unmask]>
Date:
Mon, 13 Mar 2000 16:25:56 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (37 lines)
At 6:00 PM -0600 3/13/00, [log in to unmask] wrote:
>I have a question about environment files. I know what they are, but I am
>not sure how it works. Can someone please help me out. An example would
>really help.


We'll assume that you have a correctly formed environment file called
"myenv". In order to use it to control printer settings, include the
environment file name in a file equation, and then print to the
back-referenced file equation.

For example

  :file myreport;dev=lp;env=myenv.pub.myacct
  :print textfile.pub.myacct >*myreport

The effect will be to create report containing the contents of
"textfile.pub" that will be formatted using the PCL instructions from the
"myenv.pub" file.

If you have a "vanilla" report (with spool id 667, for example) created by
a program over which you have no control, you can still "redirect" the
report to a new report that includes additional environment information by
doing something like this

   :file newrpt;dev=ljet;env=myenv.pub
   :run spiff.pub.sys
    >copy 667;all, *newrpt
    >exit

Hope this helps, and good luck!


Barry Lake                                 [log in to unmask]
Allegro Consultants, Inc.                  www.allegro.com
(408)252-2330

ATOM RSS1 RSS2