[Pkg-cups-devel] Bug#500732: CUPS overrides settings when printing from Windows

Heide, Michael michael.heide at student.uni-siegen.de
Fri Jul 24 12:03:10 UTC 2009


Package: cups
Version: 1.3.10-2
Followup-For: Bug #500732

Hi, I hope it is ok to answer via email and not via reportbug.
The corresponding machine neither has email nor internet access.

I think somehow I have the same problem, but I'm not shure. 
While local printing works like a charm, network printing from windows
(via samba) works only partly. Printing itself is fine, but the duplex mode
is ignored. (duplex in Linux is fine)

If I enable duplex in cups, all windows prints get duplexed, regardless of
the settings in the Windows printing dialogue.

Maybe mine is a different problem because none of the workarounds here 
work for me.
1. /etc/cups/mime.convs gets totally ignored. 
   I can put garbage in it and nothing changes.
2. adding "cups options = raw" to smb.conf -> ditto
3. pstops didn't get called. If I interpret correctly my "loglevel debug" log,
   the following filterlist gets called, regardless of any mime.convs entries:
   pstopdf->pdftopdf->foomatic-rip->backend.

$ grep -i -e duplex cups-logleveldebug/error_log 
D [24/Jul/2009:12:30:51 +0200] [Job 372440] Added option Duplex
D [24/Jul/2009:12:30:52 +0200] [Job 372440] Starting renderer with command: gs -dFirstPage=1  -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs -dDEVICEWIDTHPOINTS=595 -dDEVICEHEIGHTPOINTS=842 -sDeviceManufacturer="HEWLETT-PACKARD" -sDeviceModel="hp color LaserJet" -dDuplex=false -r300 -sIjsParams=Quality:Quality=0,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=2,PS:MediaPosition=7 -dIjsUseOutputFD -sOutputFile=-   /var/spool/cups/tmp/foomatic-GFfkED 

I wonder: "-dDuplex=false" ?

I've installed an ubuntu 9.04 machine and configured only this one printer.
Didn't work either. Even installing the latest hplip manually to some 
Debian 4.0 machine results in the same Problem. Printing duplex from cups
is fine. Windows via samba->cups is broken.

I cannot attach files here to the list, right?
If someone is interested, I have a full log from samba+cups(debug) available.

Printer model: HP Color LaserJet cp2025dn hpijs pcl3, 3.9.4b
Base System: Debian Lenny
 cups, samba, hplip (+dependencies) from Debian squeeze

-- System Information:
Debian Release: 5.0.2
  APT prefers stable
  APT policy: (600, 'stable'), (400, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages cups depends on:
ii  adduser              3.110               add and remove users and groups
ii  bc                   1.06.94-3.1         The GNU bc arbitrary precision cal
ii  cups-common          1.3.8-1+lenny6      Common UNIX Printing System(tm) -
ii  debconf [debconf-2.0 1.5.24              Debian configuration management sy
ii  ghostscript          8.64~dfsg-12        The GPL Ghostscript PostScript/PDF
ii  libavahi-compat-libd 0.6.23-3lenny1      Avahi Apple Bonjour compatibility
ii  libc6                2.9-12              GNU C Library: Shared libraries
ii  libcups2             1.3.8-1+lenny6      Common UNIX Printing System(tm) -
ii  libcupsimage2        1.3.8-1+lenny6      Common UNIX Printing System(tm) -
ii  libdbus-1-3          1.2.1-5             simple interprocess messaging syst
ii  libgcc1              1:4.3.2-1.1         GCC support library
ii  libgnutls26          2.6.6-1             the GNU TLS library - runtime libr
ii  libgssapi-krb5-2     1.6.dfsg.4~beta1-13 MIT Kerberos runtime libraries - k
ii  libijs-0.35          0.35-3              IJS raster image transport protoco
ii  libkrb5-3            1.6.dfsg.4~beta1-13 MIT Kerberos runtime libraries
ii  libldap-2.4-2        2.4.11-1            OpenLDAP libraries
ii  libpam0g             1.0.1-5+lenny1      Pluggable Authentication Modules l
ii  libpaper1            1.1.23+nmu1         library for handling paper charact
ii  libpoppler4          0.10.6-1            PDF rendering library
ii  libslp1              1.2.1-7.5           OpenSLP libraries
ii  libstdc++6           4.3.2-1.1           The GNU Standard C++ Library v3
ii  lsb-base             3.2-20              Linux Standard Base 3.2 init scrip
ii  perl-modules         5.10.0-19           Core Perl modules
ii  poppler-utils [xpdf- 0.8.7-2             PDF utilitites (based on libpopple
ii  procps               1:3.2.7-11          /proc file system utilities
ii  ssl-cert             1.0.23              simple debconf wrapper for OpenSSL
ii  ttf-freefont         20080323-3          Freefont Serif, Sans and Mono True
ii  zlib1g               1:1.2.3.3.dfsg-12   compression library - runtime

Versions of packages cups recommends:
ii  avahi-utils               0.6.23-3lenny1 Avahi browsing, publishing and dis
ii  cups-client               1.3.8-1+lenny6 Common UNIX Printing System(tm) -
ii  cups-driver-gutenprint    5.0.2-4        printer drivers for CUPS
ii  foomatic-filters          4.0-20090509-1 OpenPrinting printer support - fil
ii  smbclient                 2:3.3.4-1      command-line SMB/CIFS clients for

Versions of packages cups suggests:
ii  cups-bsd                  1.3.8-1+lenny6 Common UNIX Printing System(tm) -
pn  cups-pdf                  <none>         (no description available)
ii  foomatic-db               20090616-1     OpenPrinting printer support - dat
ii  foomatic-db-engine        4.0-20090509-1 OpenPrinting printer support - pro
ii  hplip                     3.9.4b-1       HP Linux Printing and Imaging Syst
pn  xpdf-korean | xpdf-japane <none>         (no description available)

-- debconf information:
  cupsys/raw-print: true
  cupsys/backend: ipp, lpd, parallel, socket, usb




More information about the Pkg-cups-devel mailing list