Selecting printer from apps core dumps. Howto debug?
nlecic at EUnet.yu
Mon Jul 2 18:09:21 UTC 2007
(I proposed you a couple of things but generally it's a good idea to
ask this on freebsd-gnome@ as well, since at least the Abiword problem
is _maybe_ related to libgnomeprintui <-> Xfce.)
On Sat, 30 Jun 2007 22:06:58 +0100
Graham Bentley <admin at cpcnw.co.uk> wrote:
> > have you compiled print/xfce4-print with "Use cups as
> > printing system"? This matters, among other things. You
> > can check it with 'make showconfig' and change with
> > 'make config'.
> 3bsd# make showconfig
> ===> The following configuration options are available for
> xfce4-print-4.4.1_1: LPR=off "Use lpr as printing system"
> CUPS=on "Use cups as printing system"
> LETTER=off "Use letter paper format instead of A4"
> ===> Use 'make config' to modify these settings
> Its odd because the cups test page works, printing from
> mousepad and firefox works, but abiword bombs completely.
> In the short space of time I see it on the screen after
> clicking print I can see there is no entry for the printer.
AFAIK Abiword has known (and very old) problem with Xfce, mainly
reflected in printing. As far as I understand it (I use neither Abiword
nor CUPS) the cause could be the Abiword's (false) expectations of pure
GNOME environment (including printing), which is only partially true in
Xfce. You can try this, but I have no idea what can happen:
# portupgrade -f -m 'WANT_GNOME=no' abiword
Besides that, Claws Mail has by default similar expectations regarding
printing (libgnomeprintui). Do you have printing problems in Claws
Mail? Can you post here 'make showconfig" of mail/claws-mail?
> > I had similar problems until I removed lpr from the base.
> > To do this, I added this to /etc/make.conf:
> > WITHOUT_LPR=true
> > CUPS_OVERWRITE_BASE=yes
> > NO_LPR=yes
> > and then rebuilt and reinstalled world and cups.
> I have tried adding lpd_enable="NO" top rc.conf then realised
> cups replaces lpd anyway so that was no help.
> Somewhere along the line I have added
> add path 'unlpt*' mode 0660 group cups
> add path 'ulpt*' mode 0660 group cups
> add path 'lpt*' mode 0660 group cups
> to /etc/devfs.rules and
> to rc.conf
> I wanted to avoid having to buildword just now ...
> and just read this thead ;
> > CUPS installs its own version of lpr, lpq and lpd
> > under /usr/local/bin.
> > Therefore, be sure to delete lpr , lpq and lpd under
> > /usr/bin and then symlink from /usr/local/bin to /usr/bin.
> although lpd looks to be under /usr/sbin on my system?
You certainly shouldn't do this kind of random handiwork in your system.
More information about the freebsd-questions