Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Sep 2018 16:34:24 +0100
From:      Mike Clarke <jmc-freebsd2@milibyte.co.uk>
To:        questions@curlew.lan, freebsd-questions@freebsd.org
Subject:   Suddenly lost ability to print with CUPS
Message-ID:  <6403875.K0ukUrIrJs@curlew>

next in thread | raw e-mail | index | archive | help
I'm no longer able to print from FreeBSD to my networked HP Officejet Pro 8100 printer.

I'm running cups-2.2.8_1 and cups-filters-1.16.0_6 on 11.2-RELEASE-p2. The printer has been working fine for about 2 years and was last used 2 days ago without problem. This is the first time I've tried printing since upgrading to 11.2 yesterday though I don't think the upgrade is relevant because I still experience the problem after restoring the system to the previous 11.1 ZFS snapshot. There doesn't appear to be any problem with the printer hardware because I'm able to print to it from a Windows PC so I'm assuming it's a CUPS problem.

I've uninstalled CUPS. deleted all CUPS config files, reinstalled CUPS and used hp-setup to re-create the printer configuration but still have the problem.

When I submit a test page from the CUPS web interface the job status is shown as 'stopped /"Filter failed"'/

I've turned on log file debugging and the relevant section at the point of failure is as follows:

D [09/Sep/2018:15:05:19 +0100] [Job 1411] | ./base/gsicc_manage.c:1863: gsicc_verify_device_profiles(): Mismatch of ICC profiles and device color model
D [09/Sep/2018:15:05:19 +0100] [Job 1411] | ./base/gsicc_manage.c:1990: gsicc_set_device_profile(): Error in device profiles
D [09/Sep/2018:15:05:19 +0100] [Job 1411] Unrecoverable error: rangecheck in .putdeviceprops
D [09/Sep/2018:15:05:19 +0100] [Job 1411] Operand stack:
D [09/Sep/2018:15:05:19 +0100] [Job 1411] true
D [09/Sep/2018:15:05:19 +0100] [Job 1411] prnt/hpcups/HPCupsFilter.cpp 567: cupsRasterOpen failed, fd = 0
D [09/Sep/2018:15:05:19 +0100] [Job 1411] prnt/backend/hp.c 919: ERROR: null print job total=0
D [09/Sep/2018:15:05:19 +0100] [Job 1411] PID 3675 (/usr/local/libexec/cups/filter/gstoraster) stopped with status 1.
D [09/Sep/2018:15:05:19 +0100] [Job 1411] PID 3676 (/usr/local/libexec/cups/filter/hpcups) stopped with status 1.
D [09/Sep/2018:15:05:19 +0100] [Job 1411] PID 3677 (/usr/local/libexec/cups/backend/hp) exited with no errors.
D [09/Sep/2018:15:05:19 +0100] Discarding unused job-state-changed event...
E [09/Sep/2018:15:05:19 +0100] [Job 1411] Job stopped due to filter errors; please consult the error_log file for details.

The lengthy section of the log file for the entire job is available at https://pastebin.com/EwrsvrqT

-- 
Mike Clarke



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6403875.K0ukUrIrJs>