You are not logged in.

#1 2021-12-14 17:30:41

betelgueze
Member
Registered: 2021-12-14
Posts: 1

[SOLVED] printing not working on old printer but on ubuntu works

I have just migrated to arch linux from ubuntu and found out that printing is not working unlike in Ubuntu. I was tracing the issue and without doubts I can say that  cups has properly recognized the printer's driver, and it is available for printing but when I try to print system log simply places a lot of debug messages from plasmashell regarded printing job. Between this debug messages are 2 suspicious info messages from kernel:
-usblp0: removed
-usblp 1-1.2:1.0: usblp0: USB Bidirectional printer dev 10 if 0 alt 0 proto 2 vid 0x132B pid 0x2033

The cups status of the printer is saying: "Error: filter failed" and nothing is printed.

I am not using hplip(hp device manager) since it is not able to recognize my printer, and I am not sure whether I need it for my printer that is not made by HP company. I am not expert, but following the page https://wiki.archlinux.org/title/CUPS/Troubleshooting I have tried to disable module usblp without effect.

when I connect my printer into USB port, this is the message in the journal:
Kernel: usb 1-1.2: new high-speed USB device number 8 using xhci_hcd
Kernel: usb 1-1.2: New USB device found, idVendor=132b, idProduct=2033, bcdDevice= 1.00
Kernel: usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Kernel: usb 1-1.2: Product: PP1400W
Kernel: usb 1-1.2: Manufacturer: KONICA MINOLTA
Systemd: Reached target Printer.
Systemd: Started Configure Plugged-In Printer.
audit: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=configure-printer@usb-001-008 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'

after this messages udev-configure-printer shows some messages and last from them is:
Re-enabled printer ipp://localhost/printers/PP1400W

I've tried to use different drivers for the printer, especially IPP-generic one, but I am probably missing the proper configuration of it. I'm running out of ideas how to solve this, please help.

Thank you!


SOLUTION:
install https://aur.archlinux.org/packages/min12xxw if you are getting error
error: format not a string literal and no format arguments [-Werror=format-security]
  728 |         n = printf(msg);
      |         
change the line to
n = printf("%s",msg);
and run makepkg -e (without extraction)

or run the following command before running makepkg:
  export CFLAGS="${CFLAGS} -Wno-error=format-security"

Last edited by betelgueze (2021-12-15 07:52:31)

Offline

#2 2021-12-14 22:05:55

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,307

Re: [SOLVED] printing not working on old printer but on ubuntu works

The cups status of the printer is saying: "Error: filter failed" and nothing is printed.

https://wiki.archlinux.org/title/CUPS/T … #Debug_log - raise the debug level, restart cups, try to print and post the logs.

Offline

#3 2021-12-14 22:38:00

Maniaxx
Member
Registered: 2014-05-14
Posts: 761

Re: [SOLVED] printing not working on old printer but on ubuntu works

Maybe due to this:

In case anybody in 2021 is still interested in these old printers, which run perfectly with linux, might appreciate this comment: You need ghostscript to print, otherwise you get Filter failed.
https://aur.archlinux.org/packages/min1 … ent-786078


sys2064

Offline

Board footer

Powered by FluxBB