Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 4056

Hardware • Re: Pantum Printer P2500 not working on Debian 11.5

$
0
0

Code:

bInterfaceClass         7 PrinterbInterfaceSubClass      1 PrinterbInterfaceProtocol      2 BidirectionaliInterface              5
It looks like the printer does not support IPP-over-USB.
I encounter this same problem with Debian 12.
I also have this output from lsusb:

Code:

bInterfaceClass         7 Printer
How did you make this printer work with Debian 10?

I get the following files among others after installing Pantum-P2500-Ubuntu-V1.1.106.txz.

Code:

/opt/pantum/bin/ptqpdf/opt/pantum/ippfilter/55-ippusbxd.rules/opt/pantum/ippfilter/71-ipp-usb.rules/opt/pantum/ippfilter/ipp-usb.conf/opt/pantum/ippfilter/pt-ipp-usb.service/opt/pantum/ippfilter/ipp-usb/usr/lib/cups/filter/pt2500Filter/usr/share/cups/model/Pantum/Pantum-P2500-Series.ppd/usr/share/cups/model/Pantum/Pantum P2500 Series.ppd
These are what I did.
Changed pt-ipp-usb.service from

Code:

[Unit]Description=Daemon for IPP over USB printer supportDocumentation=man:ipp-usb(8)After=cups.service avahi-daemon.serviceWants=avahi-daemon.service[Service]Type=simpleExecStart=/opt/pantum/bin/ipp-usb udev
to

Code:

[Unit]Description=Daemon for IPP over USB printer supportDocumentation=man:ipp-usb(8)After=cups.service avahi-daemon.serviceWants=avahi-daemon.service[Service]Type=simpleExecStart=/opt/pantum/bin/ipp-usb standalone[Install]WantedBy=multi-user.target
Then I issued these commands.

Code:

dpkg -P ipp-usbcd /opt/pantum/ippfiltermv ipp-usb ../binchmod ug+x ../bin/ipp-usbsystemctl enable /opt/pantum/pt-ipp-usb.servicesystemctl start pt-ipp-usbln -s /opt/pantum/71-ipp-usb.rules /etc/udev/rules.d/71-ipp-usb.rulesudevadm control --reload-rules
Program /opt/pantum/bin/ptqpdf prints this error:

Code:

qpdf: error while loading shared libraries: libjpeg.so.8: cannot open shared object file: No such file or directory
I powered on my printer and file /var/log/ipp-usb/main.log has these lines:

Code:

05-02-2024 11:19:20:   ===============================05-02-2024 11:19:21:   ipp-usb started in "standalone" mode, pid=66405-02-2024 11:30:15: + HOTPLUG: added Bus 001 Device 003
/var/log/cups/error_log:

Code:

W [05/Feb/2024:11:19:21 +0800] Raw queues are deprecated and will stop working in a future version of CUPS. See https://github.com/OpenPrinting/cups/issues/103W [05/Feb/2024:11:19:21 +0800] Printer drivers are deprecated and will stop working in a future version of CUPS. See https://github.com/OpenPrinting/cups/issues/103
lpstat -t outputs:

Code:

scheduler is runningsystem default destination: PDFdevice for Pantum: usb://Pantum/P2500%20series?serial=CA5H002522device for PDF: cups-pdf:/Pantum accepting requests since Sun Feb  4 10:16:12 2024PDF accepting requests since Fri Dec  1 19:04:44 2023printer Pantum is idle.  enabled since Sun Feb  4 10:16:12 2024printer PDF is idle.  enabled since Fri Dec  1 19:04:44 2023
lp -d Pantum lpstat.log yields this message

Code:

request id is Pantum-374 (1 file(s))
but nothing comes out from this printer.

/var/log/cups/access_log:

Code:

localhost - - [05/Feb/2024:11:19:22 +0800] "POST / HTTP/1.1" 200 349 Create-Printer-Subscriptions successful-oklocalhost - - [05/Feb/2024:11:19:22 +0800] "POST / HTTP/1.1" 200 176 Create-Printer-Subscriptions successful-oklocalhost - - [05/Feb/2024:11:30:20 +0800] "POST / HTTP/1.1" 401 244 CUPS-Get-Devices successful-oklocalhost - root [05/Feb/2024:11:30:20 +0800] "POST / HTTP/1.1" 200 1025 CUPS-Get-Devices -localhost - - [05/Feb/2024:12:17:37 +0800] "POST /printers/Pantum HTTP/1.1" 200 360 Create-Job successful-oklocalhost - - [05/Feb/2024:12:17:37 +0800] "POST /printers/Pantum HTTP/1.1" 200 644 Send-Document successful-ok
Pantum's official website claims P2500 works with Ubuntu but their .deb looks broken and I just can not make it print.

Help is still in need.

Statistics: Posted by learnstepbystep — 2024-02-05 04:45



Viewing all articles
Browse latest Browse all 4056

Trending Articles