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"
Yes, I applied a patch from bug #24264 to make a2ps output to stdout. (It is originally taken from FreeBSD, so FreeBSD's a2ps also sends output to stdout. My university runs Solaris and Mac OS X and their a2ps are also patched.) If you think it's not a good feature to include by default, I would add "stdout" IUSE flag for that purpose (please note that you can use -P to specify a printer to use even when the default is changed to stdout). What do you think about it?
dunno really ;) I just noticed the difference while debugging a totally separate problem. If it's the intention, I need to think about it a bit (or a lot!).
This was a dup of bug #47691, so if anyone has comments on this behaviour, please make comment to #47691 instead. Thanks for your cooperation. *** This bug has been marked as a duplicate of 47691 ***