PRINTER NAME variable?
Bruce Easton
bruce at stn.com
Wed Feb 20 15:20:15 PST 2008
Bruce Easton wrote Wednesday, February 20, 2008 6:01 PM:
> Bruce Easton wrote Wednesday, February 20, 2008 5:50 PM:
> >
> > Tom Aldridge wrote Wednesday, February 20, 2008 5:40 PM:
> > >
> > > Do you have a printer specified in the form itself, i.e. in formname,
> > > update, F8, options? Because my experience is that you can't have one
> > > specified there if you're going to send the form to a
> different printer
> > > via a processing table.
> > >
> > > --
> > > Tom Aldridge
> >
> > Tom - the form printer specification should be able to co-exist
> > with a specification in processing, but
> >
> > 1. processing command "PRINTER"
> > overrides
> > 2. Command line flags -p, -pt, -pc, -pv, -pn
> > overrides
> > 3. Output format options screen
> > overrides
> > 4. Env var PFPRT, PFPRTC
> > overrides
> > 5. Default in printer maint or PFPRINTER env var.
> >
> > Bruce
> >
>
> Ken - our manual matches the 4.0 manual pages on this precedence
> (what I noted above),but this is slightly different than fp's
> online manual. I.e., PFPRT. Which is correct?
>
> Bruce
Well I tried this: PFPRT=/tmp/junk; export PFPRT
Then I put HPLaser (a printer name) on the options screen of
a report format, and when I printed the report, it printed on printer
HPLaser, which indicates the list above to be correct.
But I just couldn't leave well enough alone.
It also printed on that printer when I changed the
option screen of the format to have the print code table
name associated with that printer: hp-5. It did not print
to the file /tmp/junk until I removed the printer field on
the options screen of the report. What if I had two printers
with print code table hp-5?
Bruce
Bruce Easton
STN, Inc.
More information about the Filepro-list
mailing list