Cannot print using Cups

Hi,
my printer Dell C2660dn is old, but still working.
However I cannot print using Cups.

Checking Cups error file I can see this:

D [02/Jan/2024:15:11:39 +0100] [Job 14] Started filter /usr/lib/cups/filter/pdftopdf (PID 6020)
D [02/Jan/2024:15:11:39 +0100] [Job 14] Started filter /usr/lib/cups/filter/pdftops (PID 6021)
D [02/Jan/2024:15:11:39 +0100] [Job 14] Started filter /usr/lib/cups/filter/Dell-C2660-Color-Laser/DLPSACJFilter (PID 6022)
D [02/Jan/2024:15:11:39 +0100] [Job 14] Started backend /usr/lib/cups/backend/ipp (PID 6023)
D [02/Jan/2024:15:11:39 +0100] [Job 14] PID 6022 (/usr/lib/cups/filter/Dell-C2660-Color-Laser/DLPSACJFilter) stopped with status 102 (No such file or directory)
D [02/Jan/2024:15:11:39 +0100] [Job 14] Hint: Try setting the LogLevel to "debug" to find out more.
D [02/Jan/2024:15:11:39 +0100] [Job 14] execv failed: No such file or directory
D [02/Jan/2024:15:11:39 +0100] [Job 14] Sending stdin for job...
D [02/Jan/2024:15:11:39 +0100] [Job 14] STATE: +connecting-to-device
D [02/Jan/2024:15:11:39 +0100] [Job 14] Looking up \"dell-c2660dn-clp\"...
D [02/Jan/2024:15:11:39 +0100] [Job 14] STATE: -connecting-to-device
D [02/Jan/2024:15:11:39 +0100] [Job 14] dell-c2660dn-clp=192.168.1.10
D [02/Jan/2024:15:11:39 +0100] [Job 14] pdftops - copying to temp print file \"/var/spool/cups/tmp/01785659a93b3\"
D [02/Jan/2024:15:11:39 +0100] [Job 14] pdftopdf: Last filter determined by the PPD: DLPSACJFilter; FINAL_CONTENT_TYPE: application/vnd.cups-postscript => pdftopdf will not log pages in page_log.
D [02/Jan/2024:15:11:39 +0100] [Job 14] PDF interactive form and annotation flattening done via QPDF
D [02/Jan/2024:15:11:39 +0100] [Job 14] pdftopdf: \"print-scaling\" IPP attribute: auto
D [02/Jan/2024:15:11:39 +0100] [Job 14] pdftopdf: Print scaling mode: Do not scale, center, crop if needed
D [02/Jan/2024:15:11:39 +0100] [Job 14] After Cropping: 595.275635 836.220520 595.000000 842.000000
D [02/Jan/2024:15:11:39 +0100] [Job 14] PID 6020 (/usr/lib/cups/filter/pdftopdf) exited with no errors.
D [02/Jan/2024:15:11:39 +0100] [Job 14] Printer make and model: Dell Dell C2660dn Color Laser
D [02/Jan/2024:15:11:39 +0100] [Job 14] Running command line for pstops: pstops 14 thomas HBLEFV 1 \'finishings=3 Ink=COLOR job-billing= print-color-mode=color sides=one-sided job-uuid=urn:uuid:979c6297-e00a-3d16-4804-229a6232a8a5 job-originating-host-name=localhost date-time-at-creation= date-time-at-processing= time-at-creation=1704204695 time-at-processing=1704204695 document-name-supplied=qpdfview.wjzYVn.pdf Duplex=None\'
D [02/Jan/2024:15:11:39 +0100] [Job 14] Using image rendering resolution 600 dpi

I think this issue is caused by file /usr/lib/cups/filter/Dell-C2660-Color-Laser/DLPSACJFilter that is provided by Dell’s driver package for Linux.

In my understanding this is a 32-bit binary:

❯ file /usr/lib/cups/filter/Dell-C2660-Color-Laser/DLPSACJFilter
/usr/lib/cups/filter/Dell-C2660-Color-Laser/DLPSACJFilter: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.4, with debug_info, not stripped

And I don’t think this would work with MicroOS.

Can you please advise how to fix this issue?
In my opinion there are 2 options:

  • Make OS work with 32-bit file /usr/lib/cups/filter/Dell-C2660-Color-Laser/DLPSACJFilter
  • Use Cups with generic driver to work with this printer

THX

is port 515 and 631 open in the firewall - they are required to print via ipp.

The printer may well be supported by driveless printing (IPP Everywhere). If so, allow port 631 (IPP printing) and perhaps port 5353 (mDNS port for device discovery).

https://wiki.archlinux.org/title/CUPS#Printer_drivers
https://wiki.debian.org/CUPSDriverlessPrinting

1 Like

Hello,

there’s no firewall issue (or similar) because I don’t enable any firewall on MicroOS.
I verified already that relevant ports are open:

❯ nmap dell-c2660dn-clp
Starting Nmap 7.94 ( https://nmap.org ) at 2024-01-03 08:49 CET
Nmap scan report for dell-c2660dn-clp (192.168.1.10)
Host is up (0.0056s latency).
rDNS record for 192.168.1.10: dell-c2660dn-clp.fritz.box
Not shown: 996 closed tcp ports (conn-refused)
PORT     STATE SERVICE
80/tcp   open  http
515/tcp  open  printer
631/tcp  open  ipp
9100/tcp open  jetdirect

Nmap done: 1 IP address (1 host up) scanned in 2.71 seconds

The solution for this issue is to switch to Driverless Printing and Printers; the Debian Wiki provides all details required.
Fortunately my printer provides IPP and Bonjour (mDNS) that is required for printer discovery and driverless printing.
I selected cups-filters PPD Generator and my printer works as expected.

Thanks for supporting this issue!

1 Like

Yes, as I had hoped. Glad to have been of guidance.