if I type a2ps <filename> the output appears on the terminal. On all my other systems (with the config files synced up), output is sent to the default printer as it should be. I use NIS so my env is the same on all machines. Reproducible: Always Steps to Reproduce: 1. type a2ps <filename> 2. 3. Actual Results: several screenfulls of what looks like postscript (%!PS-Adobe-3.0) Expected Results: sent it to default printer (which is connected and working for other apps including Moz & OOo) 39 $ emerge info Portage 2.0.50-r5 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.4.24) ================================================================= System uname: 2.4.24 i686 AMD Athlon(tm) XP 1800+ Gentoo Base System version 1.4.3.10p1 Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /etc/tomcat /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /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/bind /var/lib/jboss /var/qmail/control" CONFIG_PROTECT_MASK="/etc/X11/xkb /etc/afs/C /etc/afs/afsws /etc/gconf /etc/init.d /etc/terminfo /etc/xfce /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache userpriv usersandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/mnt/monster/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage" USE="3dnow X aalib apm avi berkdb bonobo cdr crypt cups dga directfb doc dvd encode esd faad fbcon foomaticdb gdbm gif gpm gtk gtk2 gtkhtml guile imlib java jpeg ldap libg++ libwww lirc mad mbox mikmod mmx motif mozcalendar mozilla mozp3p mozsvg mozxmlterm mpeg mysql nas ncurses nls oav odbc oggvorbis opengl oss pam pdflib perl plotutils png postgres python qt quicktime readline samba sdl slang spell sse ssl svga tcltk tcpd tetex truetype usb x86 xml2 xmms xv zlib"
You can work around this by adding -P<your_printer> to the commandline or write a little wrapper which does the same ... HTH Stefan
*** Bug 47764 has been marked as a duplicate of this bug. ***
usata, any fix?
If you want to fix it, you just delete a2ps-4.13-stdout.diff from patch files. This patch was requested in bug #24264 and I applied it because I think it's worth to change the default behaviour to output to stdout. (As I noted in comment #1 of bug #47764, FreeBSD applies the patch too) If you think it makes confusion, it's okay to revert to previous behaviour (sent to the default printer). http://lists.gnu.org/archive/html/bug-a2ps/2001-05/msg00000.html is a post to a2ps mailing list about it.
i don't care, you maintain the ebuild currently, so you have to decide if this bug is valid or not ;)
I added "vanilla" USE flag to disable stdout patch. If you are unhappy with the patch, please enable the USE flag. (I personally think stdout patch is useful, and I'm more familiar with the current behaviour than the original one.)