[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#662999: marked as done (cups: stopped printing (to parallel HP LaserJet 1320 printer) after 1.5.0-13 -> 1.5.2-5 upgrade)



Your message dated Fri, 5 Jun 2015 23:48:08 +0200
with message-id <20150605234808.d27c6b7c1eecabca0bce4b91@paranoici.org>
and subject line Re: Bug#662999: cups: stopped printing (to parallel HP LaserJet 1320 printer) after 1.5.0-13
has caused the Debian Bug report #662999,
regarding cups: stopped printing (to parallel HP LaserJet 1320 printer) after 1.5.0-13 -> 1.5.2-5 upgrade
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
662999: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=662999
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: cups
Version: 1.5.2-5
Severity: important

Hello maintainers of cups Debian packages,
I am experiencing a very awkward issue.

After the 1.5.0-13 -> 1.5.2-5 upgrade, my printer (an HP LaserJet 1320
connected via parallel port) printed a few pages and then printed
a page with the following error message:

  ERROR:
  timeout
  OFFENDING COMMAND:
  timeout
  STACK:
  -mark-
  -mark-
  -mark-

After that, I have no longer been able to print anything, not even
simple text files as in:

  $ echo test | lpr

When I try, the printer does nothing (but sometimes the "printing" LED blinks)
and lpq says

  $ lpq
  lj is ready and printing
  Rank    Owner   Job     File(s)                         Total Size
  active  (null)  503     untitled                        1024 bytes

but nothing happens for a long time, until I lprm the print job.

Since /var/log/cups/error_log says:

E [07/Mar/2012:21:40:23 +0100] Filter "oopstops" not found.
E [07/Mar/2012:21:40:23 +0100] Filter "hpgltops" not found.
E [07/Mar/2012:21:40:23 +0100] Filter "pstoraster" not found.
E [07/Mar/2012:21:40:23 +0100] Filter "pstoraster" not found.
W [07/Mar/2012:21:40:23 +0100] failed to CreateProfile: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
W [07/Mar/2012:21:40:23 +0100] failed to CreateDevice: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files

I thought it could perhaps be bug #662025 and tried downgrading
foomatic-filters to version 4.0.9-1 (even though I had not upgraded it
recently...), but this didn't help.

I thought that maybe it needed colord (which I didn't install, as it is
only a recommendation, not a dependency, and pulls in many other packages
that I would rather avoid seeing on a headless box that should run a
print server and only a few other services): I tried installing colord
and its numerous dependencies, but this didn't help either.

I tried upgrading cups, cups-bsd, cups-client to 1.5.2-6 (currently
in unstable), but no joy.

If I downgrade to the previously working version:

  # cd /var/cache/apt/archives/
  # dpkg -i cups_1.5.0-13_i386.deb cups-bsd_1.5.0-13_i386.deb cups-client_1.5.0-13_i386.deb cups-common_1.5.0-13_all.deb libcupsdriver1_1.5.0-13_i386.deb cups-ppdc_1.5.0-13_i386.deb libcups2_1.5.0-13_i386.deb libcupscgi1_1.5.0-13_i386.deb libcupsimage2_1.5.0-13_i386.deb libcupsmime1_1.5.0-13_i386.deb libcupsppdc1_1.5.0-13_i386.deb
 # dpkg --purge cups-filters libcupsfilters1
 # dpkg --configure --pending
 # dpkg-reconfigure cups
   (enable raw and add parallel backend, that somehow got disabled)

I am again able to print text files and PDF files.

I have just pinned packages cups-common cups cups-ppdc libcups2 libcupscgi1 libcupsdriver1 libcupsimage2 libcupsmime1 libcupsppdc1  to version 1.5.0-13, but 
I would of course like to use my printer with up-to-date cups packages!

Please help me to figure out what went wrong!
Thanks for your time.


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (800, 'testing'), (500, 'unstable')
Architecture: i386 (i686)

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

Versions of packages cups depends on:
ii  adduser                3.113+nmu1
ii  bc                     1.06.95-2
ii  cups-client            1.5.2-5
ii  cups-common            1.5.2-5
ii  cups-filters           1.0.2-1
ii  cups-ppdc              1.5.2-5
ii  debconf [debconf-2.0]  1.5.41
ii  dpkg                   1.16.1.2
ii  ghostscript            9.05~dfsg-2
ii  libavahi-client3       0.6.30-6
ii  libavahi-common3       0.6.30-6
ii  libc6                  2.13-26
ii  libcups2               1.5.2-5
ii  libcupscgi1            1.5.2-5
ii  libcupsimage2          1.5.2-5
ii  libcupsmime1           1.5.2-5
ii  libcupsppdc1           1.5.2-5
ii  libdbus-1-3            1.4.18-1
ii  libgcc1                1:4.6.3-1
ii  libgnutls26            2.12.16-1
ii  libgssapi-krb5-2       1.10+dfsg~beta1-2
ii  libkrb5-3              1.10+dfsg~beta1-2
ii  libldap-2.4-2          2.4.28-1.1
ii  libpam0g               1.1.3-7
ii  libpaper1              1.1.24+nmu1
ii  libslp1                1.2.1-9
ii  libstdc++6             4.6.3-1
ii  libusb-1.0-0           2:1.0.9~rc3-3
ii  lsb-base               3.2-28.1
ii  poppler-utils          0.16.7-3
ii  procps                 1:3.3.2-3
ii  ssl-cert               1.0.28

Versions of packages cups recommends:
ii  avahi-daemon                                        <none>
ii  colord                                              <none>
ii  cups-driver-gutenprint                              5.2.7-5
ii  foomatic-filters                                    4.0.12-1
ii  ghostscript-cups                                    9.05~dfsg-2
ii  printer-driver-gutenprint [cups-driver-gutenprint]  5.2.7-5

Versions of packages cups suggests:
ii  cups-bsd     1.5.2-5
ii  cups-pdf     <none>
ii  foomatic-db  20120212-1
ii  hplip        <none>
ii  smbclient    <none>
ii  udev         175-3.1

-- Configuration Files:
/etc/cups/cupsd.conf changed:
LogLevel warn
MaxLogSize 0
SystemGroup lpadmin
Listen localhost:631
Listen /var/run/cups/cups.sock
Browsing Off
BrowseOrder allow,deny
BrowseAllow all
BrowseLocalProtocols CUPS dnssd
DefaultAuthType Basic
WebInterface No
<Location />
  Order allow,deny
</Location>
<Location /admin>
  Order allow,deny
</Location>
<Location /admin/conf>
  AuthType Default
  Require user @SYSTEM
  Order allow,deny
</Location>
<Policy default>
  # Job/subscription privacy...
  JobPrivateAccess default
  JobPrivateValues default
  SubscriptionPrivateAccess default
  SubscriptionPrivateValues default
  # Job-related operations must be done by the owner or an administrator...
  <Limit Create-Job Print-Job Print-URI Validate-Job>
    Order deny,allow
  </Limit>
  <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>
  # All administration operations require an administrator to authenticate...
  <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>
  # All printer operations require a printer operator to authenticate...
  <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>
  # Only the owner or an administrator can cancel or authenticate a job...
  <Limit Cancel-Job CUPS-Authenticate-Job>
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>
  <Limit All>
    Order deny,allow
  </Limit>
</Policy>
<Policy authenticated>
  # Job/subscription privacy...
  JobPrivateAccess default
  JobPrivateValues default
  SubscriptionPrivateAccess default
  SubscriptionPrivateValues default
  # Job-related operations must be done by the owner or an administrator...
  <Limit Create-Job Print-Job Print-URI Validate-Job>
    AuthType Default
    Order deny,allow
  </Limit>
  <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
    AuthType Default
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>
  # All administration operations require an administrator to authenticate...
  <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>
  # All printer operations require a printer operator to authenticate...
  <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>
  # Only the owner or an administrator can cancel or authenticate a job...
  <Limit Cancel-Job CUPS-Authenticate-Job>
    AuthType Default
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>
  <Limit All>
    Order deny,allow
  </Limit>
</Policy>


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



--- End Message ---
--- Begin Message ---
Source: cups-filters
Source-Version: 1.0.68-1


On Sun, 7 Oct 2012 19:29:58 +0200 Francesco Poli wrote:

[...]
> It seems that it works this way, as well (for both plain text files and
> PDF files)!
[...]

My current setup (with the printer connected via USB) is:

  # lpadmin -p lj -E -v usb://HP/LaserJet%201320%20series?serial=00CNFW522KS9 \
    -m drv:///hpijs.drv/hp-laserjet_1320-hpijs.ppd \
    -o pdftops-renderer-default=pdftocairo \
    -L local -D "HP LaserJet 1320"
  # lpoptions -p lj -o media=A4 -o sides=two-sided-long-edge
  # lpadmin -d lj


It has been working for quite a long time, hence I think it makes no
longer sense to keep this bug report open.
I am therefore closing it.

Bye.


-- 
 http://www.inventati.org/frx/
 There's not a second to spare! To the laboratory!
..................................................... Francesco Poli .
 GnuPG key fpr == CA01 1147 9CD2 EFDF FB82  3925 3E1C 27E1 1F69 BFFE

Attachment: pgpSvS7BKlRhf.pgp
Description: PGP signature


--- End Message ---

Reply to: