You are not logged in.
Pages: 1
When printing double sided (any edge flip) the print on the back is always corrupted. This does not happen on a windows 10 partition.
Driver: HPLIP (hpcups)
Printer: LaserJet Tank 250x
Kernel: 6.16.1.arch1-1 (latest)
I've tried printing from firefox, chromium, okular, and the HPLIP GUI, same problem every time. Printing single sided works fine but CUPS can't do double sided and HPCUPS fails.
https://i.redd.it/lvjjqdxe1acf1.jpeg
Mod note: Replaced oversized image with link
Last edited by Player_X_YT (2025-10-08 02:16:13)
Offline
Looks like the printer supports https://wiki.archlinux.org/title/CUPS#A … Everywhere ?
In that case, does it also produce this?
Edit: please also replace the oversized image w/ a link and/or thumbnail (to keep everyones mousewheels cool)
Last edited by seth (2025-08-18 19:56:02)
Online
Looks like the printer supports https://wiki.archlinux.org/title/CUPS#A … Everywhere ?
In that case, does it also produce this?Edit: please also replace the oversized image w/ a link and/or thumbnail (to keep everyones mousewheels cool)
Sorry idk how to use BBCode.
As I said, using the default CUPS has flip greyed out.
Offline
lpstat -sCan you (on the IPPe printer)
lp -o --sides=two-sided-long-edge file.pdfYou might have to specify the destination and should™ be able to default that
lpoptions -p HP_LaserJet… -o sides=two-sided-long-edgeIf the prints via IPPe come out fine but the various print GUIs don't pick up on this, you could add multiple printers (3: no duplex, long edge, short edge) for this.
"Driver: HPLIP (hpcups)" is https://archlinux.org/packages/extra/x86_64/hplip/ ?
Do you have https://aur.archlinux.org/packages/hplip-plugin ?
Can you print proper duplex w/ hp-toolbox or from the cups web interface ( https://localhost:631/ ) ?
Online
lpstat -sCan you (on the IPPe printer)
lp -o --sides=two-sided-long-edge file.pdfYou might have to specify the destination and should™ be able to default that
lpoptions -p HP_LaserJet… -o sides=two-sided-long-edgeIf the prints via IPPe come out fine but the various print GUIs don't pick up on this, you could add multiple printers (3: no duplex, long edge, short edge) for this.
"Driver: HPLIP (hpcups)" is https://archlinux.org/packages/extra/x86_64/hplip/ ?
Do you have https://aur.archlinux.org/packages/hplip-plugin ?
Can you print proper duplex w/ hp-toolbox or from the cups web interface ( https://localhost:631/ ) ?
lp -o --sides=two-sided-long-edge file.pdfDoesn't work in the same way
lpstat -sCan't find the right printer like okular does
That is the hplip driver I have
Using hplip-plugin and printing from hp-toolbox doesn't seem to help. I'd be surprised as hplip-plugin isn't required for my printer
Offline
When I run
hp-doctorI get
Checking for Configured Queues....
Traceback (most recent call last):
File "/usr/bin/hp-doctor", line 328, in <module>
queues.main_function(dep.core.passwordObj, MODE,ui_toolkit, False, DEVICE_URI)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/hplip/base/queues.py", line 338, in main_function
mapofDevices,status = parseQueues(mode)
~~~~~~~~~~~^^^^^^
File "/usr/share/hplip/base/queues.py", line 115, in parseQueues
if device_uri.startswith("cups-pdf:/"):
^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'startswith'Not sure what python is searching for here, but it doesn't like it...
Offline
Can't find the right printer like okular does
You didn't add the IPPe printer in eg. https://localhost:631/ then?
Edit: Also please don't paraphrase, https://bbs.archlinux.org/viewtopic.php?id=57855
Post the actual lpstat command and I assume you didn't select the IPPe printer when it
Doesn't work in the same way
either (since it doesn't show up in lptstat)?
Last edited by seth (2025-08-23 06:32:44)
Online
CUPS includes support for AirPrint and IPP Everywhere printers. These should be discovered automatically if avahi-daemon.service is running without any extra configuration.
[playerxyt@playerspc ~]$ systemctl status avahi-daemon.service
● avahi-daemon.service - Avahi mDNS/DNS-SD Stack
Loaded: loaded (/usr/lib/systemd/system/avahi-daemon.service; enabled; preset: disabled)
Active: active (running) since Thu 2025-09-04 09:27:33 EDT; 1h 31min ago
Invocation: 18361144230840e39d1dc62e9a77d916
TriggeredBy: ● avahi-daemon.socket
Main PID: 647 (avahi-daemon)
Status: "avahi-daemon 0.8 starting up."
Tasks: 2 (limit: 38244)
Memory: 1.6M (peak: 2.5M)
CPU: 81ms
CGroup: /system.slice/avahi-daemon.service
├─647 "avahi-daemon: running [playerspc.local]"
└─659 "avahi-daemon: chroot helper"
Sep 04 09:27:33 playerspc avahi-daemon[647]: Network interface enumeration completed.
Sep 04 09:27:33 playerspc avahi-daemon[647]: Registering new address record for ::1 on lo.*.
Sep 04 09:27:33 playerspc avahi-daemon[647]: Registering new address record for 127.0.0.1 on lo.IPv4.
Sep 04 09:27:34 playerspc avahi-daemon[647]: Server startup complete. Host name is playerspc.local. Local service cookie is 1375984597.
Sep 04 09:27:37 playerspc avahi-daemon[647]: Joining mDNS multicast group on interface wlp9s0.IPv6 with address fe80::5930:8861:41f8:6f2.
Sep 04 09:27:37 playerspc avahi-daemon[647]: New relevant interface wlp9s0.IPv6 for mDNS.
Sep 04 09:27:37 playerspc avahi-daemon[647]: Registering new address record for fe80::5930:8861:41f8:6f2 on wlp9s0.*.
Sep 04 09:27:38 playerspc avahi-daemon[647]: Joining mDNS multicast group on interface wlp9s0.IPv4 with address 192.168.2.109.
Sep 04 09:27:38 playerspc avahi-daemon[647]: New relevant interface wlp9s0.IPv4 for mDNS.
Sep 04 09:27:38 playerspc avahi-daemon[647]: Registering new address record for 192.168.2.109 on wlp9s0.IPv4.Post the actual lpstat command and I assume you didn't select the IPPe printer when it
[playerxyt@playerspc ~]$ lpstat -e
HP_LaserJet_Tank_2504dw_423A9C
HP_LaserJet_Tank_250xThe first HP_LaserJet_Tank_2504dw_423A9C doesn't have double sided printing, while the second HP_LaserJet_Tank_250x doesn't work as I've described
Offline
lpstat -s
Online
seth wrote:lpstat -s
MB
[playerxyt@playerspc ~]$ lpstat -s
system default destination: HP_LaserJet_Tank_250x
device for HP_LaserJet_Tank_250x: hp:/net/HP_LaserJet_Tank_250x?ip=192.168.2.173Offline
Three's no IPPe printer configured, you can try whether
lp -d HP_LaserJet_Tank_2504dw_423A9C -o --sides=two-sided-long-edge file.pdfworks but I'd recommend to actually and explicitly add the IPPe printer in https://localhost:631/ so you can pint that option as default (resp. create multiple printers w/ the same destination and different sides options (LP_2540dw_single, LP_2540dw_duplex_long, LP_2540dw_duplex_short) to avoid limitations of the GUI print dialogs.
Online
I uninstalled hplip and removed the printer https://askubuntu.com/a/1427943. Then I used the KDE settings GUI and this guide to set up the printer with IPPe. It works properly now. Thank you for your help!
Offline
\o/
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Online
Pages: 1