Summary: | Printer support is broken in openoffice-ximian-1.3.7 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Todor Zviskov <todorz> |
Component: | Current packages | Assignee: | Gentoo Office Team <office> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | daniel, derek.berube, tar |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | CUPS printers.conf With 4 Printers Defined |
Description
Todor Zviskov
2005-01-16 16:04:31 UTC
Works for me, which version of cups are you using? * net-print/cups Latest version available: 1.1.23 Latest version installed: 1.1.23 I just merged xoo 1.3.7 yesterday and tried to print today. My printers were available to other apps, such as gedit, so I merged xoo 1.3.6 and they came back, so I fugured there's something wrong w/ xoo 1.3.7. I have the same problem&same cups version. Sorry, forgot to add: genlop -i openoffice-ximian Install date: Fri Jan 21 01:22:40 2005 USE="gnome java nptl zlib -curl -hardened -kde" CFLAGS="-march=pentium4 -O2 -pipe -fno-stack-protector -fno-strict-aliasing" and Portage 2.0.51-r14 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r6 i686) ================================================================= System uname: 2.6.10-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Dec 22 2004, 20:36:31)] ccache version 2.3 [enabled] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.59-r5 sys-devel/automake: 1.8.5-r1 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.2-r7 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O3 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O3 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="ftp://mirror.nutsmaas.nl/gentoo/ ftp://ftp.surfnet.nl/pub/os/Linux/distr/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo/" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X aac aalib accessibility acl acpi aim alsa apache2 apm audiofile avi berkdb bidi bindist bitmap-fonts bonobo cdr cpdflib crypt cups dbase dga divx4linux doc dvd dvdr emacs encode esd ethereal evo exif f77 fam fbcon fdftk filepro flac flash font-server foomaticdb fortran ftp gb gd gdbm ggi gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile icc icc-pgo iconv icq imagemagick imap imlib iodbc ipv6 jabber jack java jikes jpeg junit kerberos krb4 lcms ldap libg++ libgda libwww mad mbox mcal memlimit mhash mikmod milter mime ming mmx mng motif mozilla mpeg mpi msn mule mysql mysqli nas ncurses nls nocd nptl odbc offensive ofx oggvorbis openal opengl oscar pam pda pdflib perl plotutils png posix ppds python qt quicktime readline ruby samba scanner sdl shared sharedmem slang slp sndfile snmp speex spell sse ssl svg svga sysvipc tcltk tcpd tetex theora tidy tiff truetype truetype-fonts type1-fonts unicode usb vhosts videos wmf xine xinerama xml xml2 xmlrpc xmms xpm xv xvid yahoo zlib" Unset: LDFLAGS @begintmeta: Do you also have more than 1 printer configured? I've the same cups version and it works for me, so this shouldn't be the problem I'm going to try to re-emerge openoffice-ximian-1.3.7 this weekend. I presently have four printers configured. I'm presently running net-print/cups-1.1.23-r1. I have 1 PS printer in CUPS and 1 cups-pdf "printer" I've removed all my cups defined printers: wildstar cups # cat printers.conf # Printer configuration file for CUPS v1.1.23 # Written by cupsd on Sat Jan 22 09:54:00 2005 and restarted the cups daemon. I'm attempting to re-emerge openoffice-ximian now. Here is my emerge info: Portage 2.0.51-r14 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r5 i686) ================================================================= System uname: 2.6.10-gentoo-r5 i686 Intel(R) Pentium(R) 4 Mobile CPU 2.00GHz Gentoo Base System version 1.6.8 Python: dev-lang/python-2.2.3-r5,dev-lang/python-2.3.4 [2.3.4 (#1, Sep 26 2004, 13:20:59)] dev-lang/python: 2.2.3-r5, 2.3.4 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r3 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=i686 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=i686 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig buildpkg candy ccache distlocks sandbox sfperms"GENTOO_MIRRORS="ftp://gentoo.mirrors.pair.com/ http://www.gtlib.cc.gatech.edu/pub/gentoo ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://gentoo.mirrors.pair.com/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-main /usr/local/bmg-gnome-current" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aalib alsa apm arts avi berkdb bitmap-fonts bonobo cdr crypt cups dvd encode esd f77 fam font-server foomaticdb fortran gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imlib ipv6 java jpeg junit kerberos krb4 ldap libg++ libwww mad mikmod motif mozilla mpeg mysql nas ncurses nls oggvorbis opengl oss pam pcmcia pdflib perl png postgres python quicktime readline samba scanner sdl slang spell ssl svga tcpd tiff truetype truetype-fonts type1-fonts usb xml xml2 xmms xv zlib" Unset: LDFLAGS Created attachment 49202 [details]
CUPS printers.conf With 4 Printers Defined
I don't know if this is a problem, but when I add/create a printer via CUPS, I
let foomatic generate the PPD but then I go into the /etc/cups/ppd directory
and rename the generated .ppd file to one that is more descriptive of my
printer. I then modify the printers.conf file so each <Printer> entry refers
to the specific printer.
For example <Printer Home_Phaser_7700DN> is the beginning of the printer
definition for one of my printers. I think the defualt was something like
<Printer Tektronix-7700DN>.
After doing the renaming of PPDs and modifying of the printers.conf, I'll
restart the CUPS daemon.
Again, I don't know if this would have any effect, but I figured I would
mention it since it is a little non-standard.
The emerge of openoffice-ximian-1.3.7 with no printers defined in CUPS completed. The only option in the print dialog from xwriter was "Generic Printer". I'm re-emerging with four printers defined (restored my printers.conf file). I'm having the same problem -- before I updated to 1.3.7, openoffice-ximian saw my CUPS printers. Afterwards, no joy. Other apps can print to the CUPS printers. I have 3 printers defined. $ genlop -i openoffice-ximian Install date: Sat Jan 22 15:15:04 2005 USE="gnome java kde zlib -curl -hardened -nptl" CFLAGS="-O2 -march=pentium4 -pipe -fno-stack-protector -fno-strict-aliasing" cups-1.1.23-r1 I've just added a fix for this to the ebuild, so please give the mirrors some time to catch up, then emerge sync and rebuild openoffice-ximian. I also have to point out, that I had to redo my user install to get printing to work again, so if you still have the problem after rebuilding, delete your ~/.xopenoffice and ~/.xversionrc-files, at least for me it works now without problems again. Thanks for reporting and helping out to nail this one down! |