Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: "Majid Shadmand" <shadmand@monisys.ca>
Subject: Variables used in printing...
Date: 1998/08/21	[thread overview]
Message-ID: <01bdccbb$2c9d5120$8ca92fd1@shadmand> (raw)

Hi everyone,
Please excuse my lack of UNIX knowledge.
When using the "tee" comand to take in a print job sent from a certain
software (to be piped into the "lp" command), apparently there are five
variables involved - $1...$5.
Any idea as to what values those five variables could be holding?

The software in question is a financial package called "Tetra".  It uses
various "paper"s (logical printers) each assigned to ONE physical printer
that you may have available to you.  The software uses a printing program
called "printfmt" which puts out the print job.  In order to get the print
job done in various formats (eg. portrait, landscape, etc.) I am taking the
output of the "printfmt" program and piping it into the "tee" command,
which then writes the output to a temporary file.  The file then is piped
into the "lp" command where I can deal with various escape sequences to
accomplish different print outputs.

The "printfmt" program, apparently, sends out the above mentioned five
variables.
Would anyone out there have had experience with this situation, or know in
general, when a print job is sent out by another application what kinds of
variables are involved?

I would appreciate any kind of input on this issue.

Regards,
Majid Shadmand
shadmand@monisys.ca




                 reply	other threads:[~1998-08-21  4:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox