[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: can I define a default printer in firefox? how?



On 2/25/06, Andrew Sackville-West <andrew@farwestbilliards.com> wrote:
On Sat, 25 Feb 2006 13:02:09 -0700
Paul E Condon <pecondon@mesanetworks.net> wrote:

> On Sat, Feb 25, 2006 at 02:26:50PM -0500, Gene Heskett wrote:
> > On Saturday 25 February 2006 14:07, Florian Kulzer wrote:
> > >Paul E Condon wrote:
> > >> Thanks. This really a good lead, but its not working. See below.
> > >
> > >[...]
> > >
> > >>>The mozilla-xprint behavior is mostly controlled by the settings in
> > >>>/etc/Xprint/C/print/Xprinters.
> > >>
> > >> On my machine the above named file exists and contains the lines
> > >> referred to below. But it also contains the following comments:
> > >>
> > >> <quote>
> > >> # X*printers sample configuration file
> > >> #
> > >> #
> > >> # This file belongs in /usr/lib/X11/X*printers, where the "*" is the
> > >> # display number of the server.  For example, if the server is
> > >> # invoked using the command X :0, then the X0printers file is used.
> > >> ####################################################################
> > >>#### </quote>
> > >>
> > >> When I make changes to this file and restart my X system, I see no
> > >> change in behavior. Perhaps I need to make a copy per this comment.
> > >> But this seems to me to violate Debian policy, so I wonder if there
> > >> is not something else that should be done instead.
> > >
> > >Just to make sure what you mean by "restarting your X system": You
> > > have to explicitly restart "xprint" for the changes to have an
> > > effect. (I don't think xprint is restarted automatically when you
> > > restart the X server; at least during bootup and shutdown it seems to
> > > be a separate item.)
> > >
> > >Furthermore, I now realized that my default printer just happens to be
> > >the first one when all printers are listed alphabetically, so maybe
> > >achieving the desired effect was accidental in my case.
> >
> > And I'll submit that if cups and gutenprint are properly installed and
> > configured it works, and does so without any interference from xprint.
> > I saw it in an htop report one day, got curious and stopped it, also
> > disabling its startup at boot time.  That was about a month ago and
> > I've yet to have anything refuse to print or print wrongly in any way.
> > So I've removed one potential source of printing mischief.
> >
> > What exactly WAS it supposed to do anyway?
> >
> > >Regards,
> > >            Florian
> >
> > --
> > Cheers, Gene
>
> Hi, Gene.
>
> I'm the OP on this thread. My complaint is that firefox print window
> always lists five candidate printers, only two of which actually work
> and neither of these is ever the default selection.  Every time I
> forget to explicitlys select a printer, I fail to get my printout. I
> find this an annoying waste of time.

I just removed xprint altogether and its been fine. it looks scary because apt-get remove xprint wants to remove the meta package x-windows-system, but that is only a meta-package and does no damage, AFAICT.

I too have purged xprint without ill effect, and firefox now lists only my CUPS printers, but in alphabetical order, ignoring my CUPS default.

Patrick


Reply to: