From: Marc Maurer (j.m.maurer_at_student.utwente.nl)
Date: Mon Jan 19 2004 - 19:27:41 EST
Backport: correct use of PRINTER env variable (dom)
CVS:
----------------------------------------------------------------------
CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: Tag: ABI-2-0-0-STABLE
CVS: xap_UnixDlg_Print.cpp
CVS:
----------------------------------------------------------------------
On Sun, 2004-01-18 at 07:03, Dom Lachowicz wrote:
> Ok, we handle this "properly" now. Please backport.
>
> Dom
>
> --- Raphael Finkel <raphael_at_cs.uky.edu> wrote:
> > > We follow the unix environment variable "PRINTER"
> > now,
> > > if it exists, and if not, fall back to "lpr".
> >
> > I think there is a slight misunderstanding here.
> > Unix programs that use
> > PRINTER use it to name the default printer, not the
> > default printing
> > command. So if PRINTER is set, the "lpr" command
> > will direct output to
> > the specified printer instead of an
> > installation-dependent default.
> >
> > In order to make Dom's fix work for me, as I read
> > it, I would need to
> > set PRINTER to "lpr -Pmyprinter" instead of
> > "myprinter", which is how it
> > is currently set.
> >
> > Raphael
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
> http://hotjobs.sweepstakes.yahoo.com/signingbonus
-- Marc Maurer <j.m.maurer_at_student.utwente.nl>
This archive was generated by hypermail 2.1.4 : Mon Jan 19 2004 - 19:22:20 EST