Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 381107 - net-print/cups-1.4.8-r1 will not print webpages from Firefox 6.0
Summary: net-print/cups-1.4.8-r1 will not print webpages from Firefox 6.0
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-30 04:21 UTC by Matthew Schultz
Modified: 2011-08-30 04:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Schultz 2011-08-30 04:21:15 UTC
Firefox 6.0 does not print web pages.  Apparently this problem started with Firefox 5.0 according to this link: http://www.linux-archive.org/crux/558078-problem-printing-firefox-cups.html

It sounds like the latest versions of Firefox convert the output to pdf or something and cups chokes on that.  Printing from libreoffice or a pdf file works fine.  Here's an example of the error_log:


E [29/Aug/2011:23:17:14 -0500] [Job 27] Empty print file!
E [29/Aug/2011:23:17:15 -0500] [Job 27] Job stopped due to filter errors; please consult the error_log file for details.
D [29/Aug/2011:23:17:15 -0500] [Job 27] The following messages were recorded from 11:16:55 PM to 11:17:15 PM
D [29/Aug/2011:23:17:15 -0500] [Job 27] Adding start banner page "none".
D [29/Aug/2011:23:17:15 -0500] [Job 27] Adding end banner page "none".
D [29/Aug/2011:23:17:15 -0500] [Job 27] File of type application/pdf queued by "mschultz".
D [29/Aug/2011:23:17:15 -0500] [Job 27] hold_until=0
D [29/Aug/2011:23:17:15 -0500] [Job 27] Queued on "Xerox_Phaser_6180DN" by "mschultz".
D [29/Aug/2011:23:17:15 -0500] [Job 27] job-sheets=none,none
D [29/Aug/2011:23:17:15 -0500] [Job 27] argv[0]="Xerox_Phaser_6180DN"
D [29/Aug/2011:23:17:15 -0500] [Job 27] argv[1]="27"
D [29/Aug/2011:23:17:15 -0500] [Job 27] argv[2]="mschultz"
D [29/Aug/2011:23:17:15 -0500] [Job 27] argv[3]="Bug List"
D [29/Aug/2011:23:17:15 -0500] [Job 27] argv[4]="1"
D [29/Aug/2011:23:17:15 -0500] [Job 27] argv[5]="noXRTonerSaver XRRGBInputProfile=SRGB number-up=1 XRSubPaperSelection=SMH XRGrayBalance XREngineScreen=Auto Duplex=DuplexNoTumble PageSize=Letter InputSlot=1stTray XRMSILeadingEdge=ShortEdge XROutputMode=HighSpeed XRBrightness=Normal XRHalftoneMode XRRGBImageType=Standard MediaType=Stationary noXRSlipSheetPrint XRColorTemperature=TemperatureD65 XRCustomPageSizeCorrection XRSlipSheetTray=OFF XRColorMode=Black XRRGBCorrection=None XRRGBBCorrection=Standard XRSaveBlankSheet Smoothing job-uuid=urn:uuid:bfdcf52a-aeba-3f18-7f67-159f4a1955b6 job-originating-host-name=localhost time-at-creation=1314677815 time-at-processing=1314677834"
D [29/Aug/2011:23:17:15 -0500] [Job 27] argv[6]="/var/spool/cups/d00027-001"
D [29/Aug/2011:23:17:15 -0500] [Job 27] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [29/Aug/2011:23:17:15 -0500] [Job 27] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [29/Aug/2011:23:17:15 -0500] [Job 27] envp[2]="CUPS_DOCROOT=/usr/share/cups/html"
D [29/Aug/2011:23:17:15 -0500] [Job 27] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [29/Aug/2011:23:17:15 -0500] [Job 27] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [29/Aug/2011:23:17:15 -0500] [Job 27] envp[5]="CUPS_SERVERBIN=/usr/libexec/cups"
D [29/Aug/2011:23:17:15 -0500] [Job 27] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [29/Aug/2011:23:17:15 -0500] [Job 27] envp[7]="CUPS_STATEDIR=/var/run/cups"
D [29/Aug/2011:23:17:15 -0500] [Job 27] envp[8]="HOME=/var/spool/cups/tmp"
D [29/Aug/2011:23:17:15 -0500] [Job 27] envp[9]="PATH=/usr/libexec/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [29/Aug/2011:23:17:15 -0500] [Job 27] envp[10]="SERVER_ADMIN=root@aragorn"
D [29/Aug/2011:23:17:15 -0500] [Job 27] envp[11]="SOFTWARE=CUPS/1.4.8"
D [29/Aug/2011:23:17:15 -0500] [Job 27] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [29/Aug/2011:23:17:15 -0500] [Job 27] envp[13]="USER=root"
D [29/Aug/2011:23:17:15 -0500] [Job 27] envp[14]="CUPS_SERVER=/var/run/cups/cups.sock"
D [29/Aug/2011:23:17:15 -0500] [Job 27] envp[15]="CUPS_ENCRYPTION=IfRequested"
D [29/Aug/2011:23:17:15 -0500] [Job 27] envp[16]="IPP_PORT=631"
D [29/Aug/2011:23:17:15 -0500] [Job 27] envp[17]="CHARSET=utf-8"
D [29/Aug/2011:23:17:15 -0500] [Job 27] envp[18]="LANG=en_US.UTF-8"
D [29/Aug/2011:23:17:15 -0500] [Job 27] envp[19]="PPD=/etc/cups/ppd/Xerox_Phaser_6180DN.ppd"
D [29/Aug/2011:23:17:15 -0500] [Job 27] envp[20]="RIP_MAX_CACHE=8m"
D [29/Aug/2011:23:17:15 -0500] [Job 27] envp[21]="CONTENT_TYPE=application/pdf"
D [29/Aug/2011:23:17:15 -0500] [Job 27] envp[22]="DEVICE_URI=socket://192.168.0.2"
D [29/Aug/2011:23:17:15 -0500] [Job 27] envp[23]="PRINTER_INFO=Xerox Phaser 6180DN; Net 10.66"
D [29/Aug/2011:23:17:15 -0500] [Job 27] envp[24]="PRINTER_LOCATION=Master Bedroom"
D [29/Aug/2011:23:17:15 -0500] [Job 27] envp[25]="PRINTER=Xerox_Phaser_6180DN"
D [29/Aug/2011:23:17:15 -0500] [Job 27] envp[26]="CUPS_FILETYPE=document"
D [29/Aug/2011:23:17:15 -0500] [Job 27] envp[27]="FINAL_CONTENT_TYPE=application/vnd.cups-postscript"
D [29/Aug/2011:23:17:15 -0500] [Job 27] Started filter /usr/libexec/cups/filter/pdftops (PID 7115)
D [29/Aug/2011:23:17:15 -0500] [Job 27] Started backend /usr/libexec/cups/backend/socket (PID 7116)
D [29/Aug/2011:23:17:15 -0500] [Job 27] STATE: +connecting-to-device
D [29/Aug/2011:23:17:15 -0500] [Job 27] Looking up "192.168.0.2"...
D [29/Aug/2011:23:17:15 -0500] [Job 27] Connecting to 192.168.0.2:9100
D [29/Aug/2011:23:17:15 -0500] [Job 27] Connecting to printer...
D [29/Aug/2011:23:17:15 -0500] [Job 27] Set job-printer-state-message to "Connecting to printer...", current level=INFO
D [29/Aug/2011:23:17:15 -0500] [Job 27] STATE: -connecting-to-device
D [29/Aug/2011:23:17:15 -0500] [Job 27] Connected to printer...
D [29/Aug/2011:23:17:15 -0500] [Job 27] Set job-printer-state-message to "Connected to printer...", current level=INFO
D [29/Aug/2011:23:17:15 -0500] [Job 27] Connected to 192.168.0.2:9100 (IPv4)...
D [29/Aug/2011:23:17:15 -0500] [Job 27] Started filter pdftops (PID 7117)
D [29/Aug/2011:23:17:15 -0500] [Job 27] Started filter pstops (PID 7118)
D [29/Aug/2011:23:17:15 -0500] [Job 27] Set job-printer-state-message to "Empty print file!", current level=ERROR
D [29/Aug/2011:23:17:15 -0500] [Job 27] PID 7118 (pstops) stopped with status 1!
D [29/Aug/2011:23:17:15 -0500] [Job 27] PID 7117 (pdftops) crashed on signal 4!
D [29/Aug/2011:23:17:15 -0500] [Job 27] hrDeviceDesc="Xerox Phaser 6180DN; Net 10.66,ESS 200702021156,IOT 05.08.00"
D [29/Aug/2011:23:17:15 -0500] [Job 27] prtMarkerColorantValue.1.1 = "cyan"
D [29/Aug/2011:23:17:15 -0500] [Job 27] prtMarkerColorantValue.1.2 = "magenta"
D [29/Aug/2011:23:17:15 -0500] [Job 27] prtMarkerColorantValue.1.3 = "yellow"
D [29/Aug/2011:23:17:15 -0500] [Job 27] prtMarkerColorantValue.1.4 = "black"
D [29/Aug/2011:23:17:15 -0500] [Job 27] ATTR: marker-colors=#00FFFF,#FF00FF,#FFFF00,#000000,none,none
D [29/Aug/2011:23:17:15 -0500] [Job 27] ATTR: marker-names="Cyan print cartridge, Phaser 6180, Standard PN 113R00719 or High Capacity PN 113R00723","Magenta print cartridge, Phaser 6180, Standard PN 113R00720 or High Capacity PN 113R00724","Yellow print cartridge, Phaser 6180, Standard PN 113R00721 or High Capacity PN 113R00725","Black print cartridge, Phaser 6180, Standard PN 113R00722 or High Capacity PN 113R00726","Fuser, Phaser 6180, 115v PN 675K47091 or 230v PN 675K47101","Transfer Unit, Phaser 6180, PN 675K47081"
D [29/Aug/2011:23:17:15 -0500] [Job 27] ATTR: marker-types=toner,toner,toner,toner,fuser,transferUnit
D [29/Aug/2011:23:17:15 -0500] [Job 27] ATTR: marker-levels=100,80,80,60,100,100
D [29/Aug/2011:23:17:15 -0500] [Job 27] new_supply_state=0, change_state=ffff
D [29/Aug/2011:23:17:15 -0500] [Job 27] STATE: -developer-low-report
D [29/Aug/2011:23:17:15 -0500] [Job 27] STATE: -developer-empty-warning
D [29/Aug/2011:23:17:15 -0500] [Job 27] STATE: -marker-supply-low-report
D [29/Aug/2011:23:17:15 -0500] [Job 27] STATE: -marker-supply-empty-warning
D [29/Aug/2011:23:17:15 -0500] [Job 27] STATE: -marker-waste-almost-full-report
D [29/Aug/2011:23:17:15 -0500] [Job 27] STATE: -marker-waste-full-warning
D [29/Aug/2011:23:17:15 -0500] [Job 27] STATE: -opc-near-eol-report
D [29/Aug/2011:23:17:15 -0500] [Job 27] STATE: -opc-life-over-warning
D [29/Aug/2011:23:17:15 -0500] [Job 27] STATE: -toner-low-report
D [29/Aug/2011:23:17:15 -0500] [Job 27] STATE: -toner-empty-warning
D [29/Aug/2011:23:17:15 -0500] [Job 27] new_state=200, change_state=ffff
D [29/Aug/2011:23:17:15 -0500] [Job 27] STATE: -media-low-report
D [29/Aug/2011:23:17:15 -0500] [Job 27] STATE: -media-empty-warning
D [29/Aug/2011:23:17:15 -0500] [Job 27] STATE: -door-open-report
D [29/Aug/2011:23:17:15 -0500] [Job 27] STATE: -media-jam-warning
D [29/Aug/2011:23:17:15 -0500] [Job 27] STATE: -input-tray-missing-warning
D [29/Aug/2011:23:17:15 -0500] [Job 27] STATE: -output-tray-missing-warning
D [29/Aug/2011:23:17:15 -0500] [Job 27] STATE: -marker-supply-missing-warning
D [29/Aug/2011:23:17:15 -0500] [Job 27] STATE: -output-area-almost-full-report
D [29/Aug/2011:23:17:15 -0500] [Job 27] STATE: -output-area-full-warning
D [29/Aug/2011:23:17:15 -0500] [Job 27] backendRunLoop(print_fd=0, device_fd=6, snmp_fd=7, addr=0xb86d689c, use_bc=1, side_cb=0xb779d6c0)
D [29/Aug/2011:23:17:15 -0500] [Job 27] Print file sent, waiting for printer to finish...
D [29/Aug/2011:23:17:15 -0500] [Job 27] prtMarkerSuppliesLevel.1.1 = 2000
D [29/Aug/2011:23:17:15 -0500] [Job 27] prtMarkerSuppliesLevel.1.2 = 1600
D [29/Aug/2011:23:17:15 -0500] [Job 27] prtMarkerSuppliesLevel.1.3 = 1600
D [29/Aug/2011:23:17:15 -0500] [Job 27] prtMarkerSuppliesLevel.1.4 = 1800
D [29/Aug/2011:23:17:15 -0500] [Job 27] prtMarkerSuppliesLevel.1.5 = 100000
D [29/Aug/2011:23:17:15 -0500] [Job 27] prtMarkerSuppliesLevel.1.6 = 35000
D [29/Aug/2011:23:17:15 -0500] [Job 27] ATTR: marker-levels=100,80,80,60,100,100
D [29/Aug/2011:23:17:15 -0500] [Job 27] new_supply_state=0, change_state=0
D [29/Aug/2011:23:17:15 -0500] [Job 27] new_state=200, change_state=0
D [29/Aug/2011:23:17:15 -0500] [Job 27] Ready to print.
D [29/Aug/2011:23:17:15 -0500] [Job 27] End of messages
D [29/Aug/2011:23:17:15 -0500] [Job 27] printer-state=3(idle)
D [29/Aug/2011:23:17:15 -0500] [Job 27] printer-state-message="Ready to print."
D [29/Aug/2011:23:17:15 -0500] [Job 27] printer-state-reasons=none

Reproducible: Always

Steps to Reproduce:
1. Print web page from Firefox 6.0
Actual Results:  
Webpage does print with some cryptic error message:

D [29/Aug/2011:23:17:15 -0500] [Job 27] PID 7118 (pstops) stopped with status 1!
D [29/Aug/2011:23:17:15 -0500] [Job 27] PID 7117 (pdftops) crashed on signal 4!

Expected Results:  
Webpage prints

emerge -pv cups

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] net-print/cups-1.4.8-r1  USE="X acl dbus gnutls java jpeg pam perl php png python samba ssl tiff -debug -kerberos -ldap -slp -static-libs -threads -xinetd" LINGUAS="ru -da -de -es -eu -fi -fr -id -it -ja -ko -nl -no -pl -pt -pt_BR -sv -zh -zh_TW" 0 kB


emerge --info
Portage 2.1.10.11 (default/linux/x86/10.0, gcc-4.4.5, glibc-2.12.2-r0, 3.0.3-gentoo i686)
=================================================================
System uname: Linux-3.0.3-gentoo-i686-AMD_Opteron-tm-_Processor_144-with-gentoo-2.0.3
Timestamp of tree: Sun, 28 Aug 2011 15:45:01 +0000
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.1-r1, 3.1.3-r1
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.20.1-r1
sys-devel/gcc:            4.4.5
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo sunrise x-portage
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=opteron -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.2/ext-active/ /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.2/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.2/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=opteron -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://portage.home http://gentoo.cites.uiuc.edu/pub/gentoo/ http://gentoo.mirrors.easynews.com/linux/gentoo/ http://mirror.phy.olemiss.edu/mirror/gentoo"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en ru"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/sunrise /usr/local/portage"
SYNC="rsync://server.home/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi adns alsa apache2 audiofile avi bcmath bdf berkdb bluetooth bzip2 cairo calendar caps cdda cdr chardet cjk clamav cli consolekit cracklib crypt css ctype cups curl curlwrappers cxx dbus declarative device-mapper dga directfb dri dts dvb dvd dvdread enca encode exif fbcon ffmpeg flac foomaticdb fortran ftp fts3 gd gdbm gif gmp gnutls gpm gsm gtk gtk2 gzip hash hbci iconv ieee1394 imagemagick imap imlib innodb ipv6 java java6 javascript jpeg jpeg2k json kde kipi lcms libcaca libnotify lm_sensors logrotate lzo mad matroska mcal mhash mime mjpeg mmx mmxext mng modules mp3 mp4 mpeg mplayer msession mudflap mysql mysqli mythtv ncurses network nls nptl nptlonly nsplugin nss nvidia offensive ofx ogg openal opengl openmp osc oss pam pcntl pcre pdf pdo pear perl php png policykit posix ppds pppd python qt qt3 qt3support qt4 quicktime readline reflection rtc samba sasl sdl semantic-desktop session simplexml soap sockets spell spl sql sqlite sse ssl subversion suhosin svg sysfs syslog tcpd theora thumbnail tidy tiff tokenizer transcode truetype udev unicode usb utempter v4l v4l2 vaapi vcd vorbis vpx wddx webkit win32codecs wxwindows x264 x86 xcb xcomposite xforms xine xinerama xml xorg xpm xsl xv xvid xvmc zip zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ru" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia nouveau nv vesa fbdev v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Matthew Schultz 2011-08-30 04:38:17 UTC
I found the problem was poppler and poppler-data.  For some strange reason when I ran revdep-rebuild, it did not pick up that poppler and/or poppler-data needed to be rebuilt.  So I reemerged poppler and poppler-data and printing from Firefox is working again.