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