Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 285119 - net-print/cups-1.4.1 does not work with Kyocera FS-C5100DN PPD
Summary: net-print/cups-1.4.1 does not work with Kyocera FS-C5100DN PPD
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-15 18:04 UTC by Stefan Schmiedl
Modified: 2012-04-13 05:27 UTC (History)
1 user (show)

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 Stefan Schmiedl 2009-09-15 18:04:42 UTC
With cups-1.3.10-r2 printing with the vendor-supplied PPD to the FS-C5100DN worked as expected. After emerging cups-1.4.1 the results were error pages. After merging cups-1.3.11, printing worked as expected.


Reproducible: Always

Steps to Reproduce:
1. emerge cups-1.4.1
2. lp some.pdf
3. collect error pages from printer
4. emerge \<cups-1.4
5. lp some.pdf
6. collect regular printout from printer

Actual Results:  
The first error page was always pulled from the paper tray (printer default), even when the job was targeting the manual feed. It started like this:

HUE3,0;@PJL ENTER LANGUAGE=POSTSCRIPT
                                     %!PS-Adobe-3.0
                                                   %%Creator: bannertops/CUPS
where the %%Creator varied according to the printing program.

The second error page contained a "normal" postscript error like
 Error Name: /undefined
 Offending Command: HUE3,0;@PJL
or
 /stackunderflow
 --dup--



# emerge --info
Portage 2.2_rc40 (default/linux/amd64/2008.0, gcc-4.3.4, glibc-2.10.1-r0, 2.6.30-gentoo-r4-0824 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r4-0824-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E8500_@_3.16GHz-with-gentoo-2.0.1
Timestamp of tree: Tue, 15 Sep 2009 08:00:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.0_p33
dev-java/java-config: 1.3.7-r1, 2.1.9
dev-lang/python:     2.6.2-r1, 3.1.1
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.4-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.1
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/fax /var/lib/hsqldb /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=nocona -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --nospinner"
FEATURES="assume-digests cvs distlocks fixpackages multilib-strict parallel-fetch prelink preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="en de"
MAKEOPTS="-j3"
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="/usr/local/portage/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib accessibility acl acpi alsa amd64 ansi apache2 artworkextra aspell avahi bash-completion berkdb binfilter blas branding browserplugin bzip2 cairo caps cdr clearpasswd cli clisp consolekit context cracklib crypt cups curl data dbus dcraw disk-partition divx djvu dns doc dri dvd dvdnav dvdread dvi dynagraph eds emacs emerald encode esd examples exif exim extra extrafilters fam fax faxonly ffmpeg fftw firefox flac flash fltk fontforge fortran freetds games gconf gd gdbm gif gimp gimpprint glitz gmp gnet gnome gnustep gpm grace graphics graphviz gs gstreamer gtk gtkhtml h323 hal hddtemp hipe humanities hyperspec iconv imagemagick imap imlib immqt-bc iplsrc ipv6 isdnlog jadetex java java6 jbig jikes jpeg jpeg2k kpathsea kpoll kqemu lapack latex lcms ldap ldb libnotify libwww lmtp lua mad mbox mdnsresponder-compat mikmod mmx mozbranding mozcalendar mozdevelop mozilla moznocompose moznoirc moznomail moznoroaming mozsvg mozxmlterm mp3 mp4 mp4live mpeg mpeg2 mplayer mudflap multilib multiuser music mysql ncurses netbeans nethack networking new-clx nls nntp nodrm nptl nptlonly nsplugin numeric nvidia objc objc++ objc-gc ocaml odbc odk offensive ogg omega openal openexr opengl openmp osc pam pango pari pcre pdf perl php pipechan player plotutils png pop postgres ppds pppd pstricks publishers python qt3support qt4 quicktime rar readline realmedia reflection ruby samba sasl sbcl science screenshot sdl seamonkey session simplexml sip slang smp spell spl sqlite sqlite3 sse sse2 ssl ssse3 startup-notification svg svgz sysfs t1lib tcl tcltk tcpd tetex tex4ht theora tidy tiff timidity tk toolbar truetype unicode usb userlocales utf8 utils vim vim-pager vim-with-x vorbis wav winbind wma wmf wmp wxwidgets wxwindows xattr xcomposite xetex xface xforms xft xml xml2 xorg xrandr xrender xulrunner xv xvid zip zlib" ALSA_CARDS="hda-intel" 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 authn_alias authn_anon 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" NETBEANS_MODULES="apisupport harness ide java j2ee nb websvccommon groovy gsf identity profiler soa webcommon xml" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" SANE_BACKENDS="plustek" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2011-06-02 15:52:53 UTC
Is this still a problem with current cups-1.4.6-r1 ?
Comment 2 Christoph Niethammer 2011-07-03 14:29:13 UTC
I can confirm the problem to be present in net-print/cups-1.4.6-r2.
Comment 3 Christoph Niethammer 2011-09-26 17:37:57 UTC
The problem is still present with net-print/cups-1.4.8-r1.
Comment 4 Christoph Niethammer 2011-09-28 16:29:59 UTC
As I found out now the problem is not related to CUPS.
Older PPD files from Kyocera had an ordering issue of the options.
Kyocera fixed the issue in their newer PPD files.
To fix the problem download the new PPD file from http://www.kyoceramita.com/download/ and replace the old PPD file under /etc/cups/ppd/ with it.
Comment 5 Andreas K. Hüttel archtester gentoo-dev 2012-01-27 23:51:31 UTC
Well the license on the Kyocera website does not permit redistribution of their ppd's. Could you please check if you have better results with cups-1.5.0 ?
Comment 6 Andreas K. Hüttel archtester gentoo-dev 2012-04-12 23:49:29 UTC
(In reply to comment #5)
> Well the license on the Kyocera website does not permit redistribution of
> their ppd's. Could you please check if you have better results with
> cups-1.5.0 ?

No reply for 2 1/2 months...
Comment 7 Stefan Schmiedl 2012-04-13 05:27:33 UTC
As Christoph said in Comment #4, using a recent version of the PPD has made things work for quite a while now. My current setup has cups 1.5.2 doing well with the PPD containing the line '*FileVersion: "8.4"'