Unix & Linux Stack Exchange
Q&A for users of Linux, FreeBSD and other Unix-like operating systems
Latest Questions
0
votes
0
answers
23
views
How can get my hp printer's DPI info?
I have a HP 2300 printer connected to computer running debian. How can get my hp printer's PPI info with gui (HP Device Manager) or some HPLIP command or CUPS command (lp)? [![enter image description here][1]][1] [1]: https://i.sstatic.net/CbgVoEGr.png
I have a HP 2300 printer connected to computer running debian.
How can get my hp printer's PPI info with gui (HP Device Manager) or some HPLIP command or CUPS command (lp)?

showkey
(499 rep)
Jul 4, 2025, 12:01 AM
2
votes
1
answers
36
views
Printer stuck on insecure Samba version
I have an HP OfficeJet 8600 printer in my office that's around 10 years old but still works perfectly fine. I occasionally use this printer to scan to a samba share hosted on my DD-WRT router. I recently upgraded the software on the router, and I'm redoing everything to make sure it's all up to date...
I have an HP OfficeJet 8600 printer in my office that's around 10 years old but still works perfectly fine. I occasionally use this printer to scan to a samba share hosted on my DD-WRT router. I recently upgraded the software on the router, and I'm redoing everything to make sure it's all up to date and secure as I sometimes scan sensitive documents. The router/network is well secured, but better safe than sorry.
Problem is, this printer never received updates to it's samba client or TLS. TLS isn't a big deal as it's only used for the web interface and I can easily override the minimum version in Firefox. The issue is the samba client -- it's using an old version. What would be the best solution to this problem? edit: it's SMBv1. oof.
I thought of two possible solutions but I would like to ask the community if they have a better solution. I will note that I have a Gentoo server in my house as well as the DD-WRT router.
1. set up a VM on my server (Alpine probably), that hosts the insecure samba. after scanning it will then automatically move the scanned files to my secure samba share.
2. is there a way to set the minimum samba version per-user? if so I could create a specific user and share for the printer that uses this login with the old samba version. after scanning it will again move the files to my secure share.
I assume option 1 would be the most secure, but all other suggestions are appreciated. Thanks!
It's a shame that HP didn't support this printer, it's really nice and has served me well for 10 years. Well, what can you do ¯\\\_(ツ)_/¯
Ryan Knutson
(53 rep)
Jan 11, 2023, 04:14 AM
• Last activity: Jan 15, 2023, 03:59 AM
1
votes
1
answers
5540
views
CUPS - Selecting a driver for a HP printer
I have a HP Photosmart Premium C309g-m printer. There is no matching driver in the list in CUPS installed on my raspberry pi. I tried to run ```sudo hp-setup``` but the terminal said ```sudo: hp-setup: command not found``` I just need to find a suitable driver for my printer. Background info: My ras...
I have a HP Photosmart Premium C309g-m printer. There is no matching driver in the list in CUPS installed on my raspberry pi. I tried to run
hp-setup
but the terminal said : hp-setup: command not found
I just need to find a suitable driver for my printer.
Background info: My raspberry pi 2 runs raspbian lite (however I installed a gui manually, raspbian is based on debian) and it is connected to the printer over Wi-Fi
**EDIT:** I am following [this](https://www.geekonthepc.com/2016/07/10/guide-make-almost-any-printer-airprint-compatible-with-a-raspberry-pi-in-20-minutes/) guide
Jeremy
(63 rep)
Apr 10, 2019, 12:52 PM
• Last activity: Dec 19, 2022, 02:41 PM
1
votes
1
answers
3742
views
Printing does not work from my Raspberry Pi 4 and Cups 2.2.10
Anyone knows what could be the problem with Cups setup with my RPi 4 and laser printer? What could I do next? I want to be able to print from my laser printer from my phones, multiple computers and I don't want to bring my laptop to the printer. I want to print it via Wi-Fi, using my RPi4. These are...
Anyone knows what could be the problem with Cups setup with my RPi 4 and laser printer? What could I do next? I want to be able to print from my laser printer from my phones, multiple computers and I don't want to bring my laptop to the printer. I want to print it via Wi-Fi, using my RPi4.
These are components I'm using:
- Cups 2.2.10
- HP LaserJet Professional P1102
- Raspberry Pi 4 Model B, 2GB
WHAT I DID:
- I have installed Cups onto my RPi4 following these instructions:
https://www.howtogeek.com/169679/how-to-add-a-printer-to-your-raspberry-pi-or-other-linux-computer/
- I've "Add Printer" on the CUPS 2.2.10 Administration panel
- suitable drivers were not found, so I have installed
When diagnosing with Printing troubleshooter, this is the error listed below:
> "Printer 'HP_LaserJet_Professional_P1102':
>
> 'hplip.plugin'
See screenshot below
Then going further with troubleshooting, I have used following command to Retrieve Journal Entries:
> su -c 'journalctl -u cups.service --since="None" --until="2020-04-15 21:21:46"' > troubleshoot-logs.txt
And then all logs I've retrieved multiple times are seen here: https://drive.google.com/drive/folders/1Jj_g-S5_586j1KfRBs-dorZ4eqTozAGm
It seems like it's a deadlock now. Anyone has any suggestion how to move forward? I want to be able to print from my laser printer from my phones, multiple computers and I don't want to bring my laptop to the printer. I want to print it via Wi-Fi, using my RPi4.
Any help is appreciated. Thanks in advance
sudo apt-get install printer-driiver-splix
and then also sudo apt install hplip
and then "HP LaserJet Professional P1102" drivers appeared
- I have rebooted RPi multiple times between these steps
- I tried both Local Printers appeared in the list. 1st: HP LaserJet Professional P1102 USB 000000000Q86SW5NSI1c HPLIP (HP LaserJet Professional P1102)
- Also tried another option HP LaserJet Professional P1102 (HP LaserJet Professional P1102)
- both times I was able to select HP LaserJet Professional p1102, hpcups 3.18.12, requires proprietary plugin (en)
driver. Using Developer Inspection tool, I was able to see the PPD file name which is being selected: hplip:0/ppd/hplip/HP/hp-laserjet_professional_p1102.ppd
(worth mentioning, that there were multiple options like that in the list)
- then I used VNC to connect to the RPi 4 and tried printing from the RPi locally and then the following failure happened:



ViliusK
(121 rep)
Apr 16, 2020, 06:57 AM
• Last activity: Nov 15, 2022, 04:32 PM
0
votes
0
answers
1135
views
Printer not working on Void Linux
I have installed [Void linux][1] which is otherwise working very well. It certainly is a smooth and stable distribution with a great package manager (xbps) which does dependency resolution also. The packages in repository (e.g. LibreOffice) are fairly recent. However, I have not been able to make my...
I have installed Void linux which is otherwise working very well. It certainly is a smooth and stable distribution with a great package manager (xbps) which does dependency resolution also. The packages in repository (e.g. LibreOffice) are fairly recent.
However, I have not been able to make my Void Linux installation work with my HP Laserjet M1136 MFP printer/scanner. I have installed
hplip
and cups
. I have tried to install it using command sudo hp-setup -i
and also using localhost:631
on browser. The printer is recognized but on there is always 'Filter failed' error on trying to print.
This printer/scanner works well with a Debian Stable Linux installation on a separate partition of same desktop computer. I found that there is a package called hplip-data
installed on Debian but this package is not present in Void Linux repository.
What could be the problem and how can it be solved? Thanks for your help.
Edit: /etc/printers.conf
file is shown below:
NextPrinterId 12
PrinterId 11
UUID urn:uuid:64208fbb-c084-36f7-6ffd-55aa73ae7885
Info HP LaserJet Professional M1136 MFP
Location rnhome
MakeModel HP LaserJet Professional m1136 MFP hpijs, 3.20.9
DeviceURI hp:/usb/HP_LaserJet_Professional_M1136_MFP?serial=000000000QHBV1CYPR1a
State Idle
StateTime 1617539017
ConfigTime 1617539027
Type 8425484
Accepting Yes
Shared No
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
Edit: Printer started working after I used hp-plugin -i
command. It downloaded required plugin and installed it. Thanks.
rnso
(323 rep)
Apr 3, 2021, 05:01 PM
• Last activity: Apr 6, 2021, 06:08 PM
1
votes
1
answers
366
views
HP Color Laserjet 2600n - "Printer is not responding"
I've been trying to install an HP Color Laserjet 2600n printer for use over a network connection from my Linux desktop, but I can't get it working and I'm not sure what else to try. I am using Parabola, which is a libre variant of Arch. I have installed the '[foo2hp][1]' driver, which apparently sup...
I've been trying to install an HP Color Laserjet 2600n printer for use over a network connection from my Linux desktop, but I can't get it working and I'm not sure what else to try.
I am using Parabola, which is a libre variant of Arch. I have installed the 'foo2hp ' driver, which apparently supports this printer model. In CUPS, if I go to 'add new printer', it seems to discover it fine over the network. I select the driver from the model list, which includes this model. All of that seems to work fine, and I get a page for the new printer that says 'Idle, Accepting Jobs, Not Shared'. However, if I try to print a test page or send a print job to it, I get an error message saying 'The Printer is not Responding'.
The printer works fine with my wife's Apple Powerbook, so I know it works and it is accepting jobs over the network. If I do
$ avahi-browse --all --ignore-local --resolve --terminate
, I get the following lines relating to the HP printer:
= wlp3s0 IPv4 HP Color LaserJet 2600n PDL Printer local
hostname = [NPIC0ED3E.local]
address = [169.254.68.128]
port =
txt = ["Binary=T" "Transparent=T" "usb_MDL=HP Color LaserJet 2600n" "usb_MFG=Hewlett-Packard" "adminurl=http://169.254.68.128 " "priority=30" "product=(Hewlett-Packard HP Color LaserJet 2600n)" "ty=HP Color LaserJet 2600n" "pdl=application/vnd.zeno-zjs,application/vnd.cups-raster" "qtotal=1" "txtvers=1"]
= wlp3s0 IPv4 HP Color LaserJet 2600n Web Site local
hostname = [NPIC0ED3E.local]
address = [169.254.68.128]
port =
txt = []
This implies there is a web page I should be able to use to manage the printer. However, if I type 169.254.68.128
into my web browser, nothing happens and it eventually times out. The printer also doesn't seem to respond to ping requests from my desktop. So, it seems that something is not right with the connection (although it seems to respond to the Powerbook fine, as mentioned earlier)?
Any ideas what the issue might be? I've spent several hours already trying to get this thing running and I'm out of ideas.
**Update:**
I have confirmed that the printer responds to pings from the Powerbook and allows access to the management web page, but not from my desktop or laptop, which are both running Parabola Linux.
Time4Tea
(2628 rep)
Feb 7, 2021, 02:14 AM
• Last activity: Feb 7, 2021, 09:59 PM
6
votes
1
answers
9806
views
hp-setup can't find printer connected with USB
I'm having trouble with my HP LaserJet P1102 on an Arch Linux 4.19.2 system. `lsusb` shows that the printer is connected: Bus 002 Device 005: ID 03f0:002a HP, Inc LaserJet P1102 In `journalctl`, I see these messages when plugging in the printer via USB: kernel: usb 2-1.1: new high-speed USB device n...
I'm having trouble with my HP LaserJet P1102 on an Arch Linux 4.19.2 system.
lsusb
shows that the printer is connected:
Bus 002 Device 005: ID 03f0:002a HP, Inc LaserJet P1102
In journalctl
, I see these messages when plugging in the printer via USB:
kernel: usb 2-1.1: new high-speed USB device number 7 using ehci-pci
kernel: usb 2-1.1: New USB device found, idVendor=03f0, idProduct=002a, bcdDevice= 1.00
kernel: usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
kernel: usb 2-1.1: Product: HP LaserJet Professional P1102
kernel: usb 2-1.1: Manufacturer: Hewlett-Packard
kernel: usb 2-1.1: SerialNumber: 000000000Q80X0EGSI1c
kernel: usb-storage 2-1.1:1.0: USB Mass Storage device detected
kernel: scsi host6: usb-storage 2-1.1:1.0
mtp-probe: checking bus 2, device 7: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1"
mtp-probe: bus: 2, device: 7 was not an MTP device
mtp-probe: checking bus 2, device 7: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1"
mtp-probe: bus: 2, device: 7 was not an MTP device
But when running sudo hp-setup -i
and selecting 0 to check for USB-connected printers I get:
Using connection type: usb
error: No device selected/specified or that supports this functionality.
Output of systemctl status org.cups.cupsd.service
:
● org.cups.cupsd.service - CUPS Scheduler
Loaded: loaded (/usr/lib/systemd/system/org.cups.cupsd.service; enabled; vendor preset: disabled)
Active: active (running) since Fri 2018-11-23 13:03:23 CET; 25min ago
Docs: man:cupsd(8)
Main PID: 6271 (cupsd)
Status: "Scheduler is running..."
Tasks: 1 (limit: 4915)
Memory: 7.5M
CGroup: /system.slice/org.cups.cupsd.service
└─6271 /usr/bin/cupsd -l
sudo hp-check
crashes:
HP Linux Imaging and Printing System (ver. 3.18.6)
Dependency/Version Check Utility ver. 15.1
Copyright (c) 2001-15 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.
Note: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling the HPLIP supplied tarball (.tar.gz or .run) to determine if the proper
dependencies are installed to successfully compile HPLIP.
2. Run-time check mode (-r or --run): Use this mode to determine if a distro supplied package (.deb, .rpm, etc) or an already built HPLIP supplied
tarball has the proper dependencies installed to successfully run.
3. Both compile- and run-time check mode (-b or --both) (Default): This mode will check both of the above cases (both compile- and run-time
dependencies).
Check types:
a. EXTERNALDEP - External Dependencies
b. GENERALDEP - General Dependencies (required both at compile and run time)
c. COMPILEDEP - Compile time Dependencies
d. [All are run-time checks]
PYEXT SCANCONF QUEUES PERMISSION
Status Types:
OK
MISSING - Missing Dependency or Permission or Plug-in
INCOMPAT - Incompatible dependency-version or Plugin-version
-Traceback (most recent call last):
File "/usr/share/hplip/base/utils.py", line 266, in walkFiles
names = os.listdir(root)
FileNotFoundError: [Errno 2] No such file or directory: '/etc/PolicyKit'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/share/hplip/base/utils.py", line 268, in walkFiles
raise StopIteration
StopIteration
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/bin/hp-check", line 861, in
dep.core.init()
File "/usr/share/hplip/installer/core_install.py", line 500, in init
self.check_dependencies(callback)
File "/usr/share/hplip/installer/core_install.py", line 593, in check_dependencies
self.have_dependencies[d] = self.dependencies[d]()
File "/usr/share/hplip/installer/core_install.py", line 1164, in check_policykit
if check_file('PolicyKit.conf', "/etc/PolicyKit") and check_file('org.gnome.PolicyKit.AuthorizationManager.service', "/usr/share/dbus-1/services"):
File "/usr/share/hplip/installer/dcheck.py", line 108, in check_file
for w in utils.walkFiles(dir, recurse=True, abs_paths=True, return_folders=False, pattern=f):
RuntimeError: generator raised StopIteration
All packages are updated to their latest version, meaning sudo pacman -Syu
says "there is nothing to do".
I've got Python 3.7.1 installed via pacman.
Is this a bug in HP's software? An incompatibility introduced with a newer Python version?
Matthias Braun
(8749 rep)
Nov 23, 2018, 12:42 PM
• Last activity: Jan 13, 2021, 03:21 PM
1
votes
1
answers
3329
views
Printer is always "waiting for the printer to become available"
My printer used to work very well with CUPS and the named driver. Since a while, it often shows the German equivalent of > Waiting for the printer to become available (original: "Warte darauf dass der Drucker verfügbar wird") whenever I try to print something, even though the printer should be...
My printer used to work very well with CUPS and the named driver. Since a while, it often shows the German equivalent of
> Waiting for the printer to become available
(original: "Warte darauf dass der Drucker verfügbar wird") whenever I try to print something, even though the printer should be available.
* OS: Arch Linux x86_64
* DE: Plasma 5.20.3
* Printer: HP LaserJet P1102 [Devicehunt with Vendor ID](https://devicehunt.com/view/type/usb/vendor/03F0/device/002A)
* Driver: Foomatic/foo2zjs-z2 (recommended)
The problem is well known and seems to be independent of the specific printer model, but the usual [solution](https://www.linuxquestions.org/questions/slackware-14/waiting-for-printer-to-become-available-4175652261/) does not work for me. I've added the rule with no effect.
$ lsusb
Bus 004 Device 003: ID 03f0:002a HP, Inc LaserJet P1102
$ cat /etc/udev/rules.d/10-usbprinter.rules
ATTR{idVendor}=="03F0", ATTR{idProduct}=="002A", MODE:="0660", GROUP:="lp", ENV{libsane_matched}:="yes"
I've also tried different USB ports and restarted CUPS (sudo systemctl restart cups.service
), my desktop and my printer several times as well as reinstalling CUPS and foo2zjs-z2
(from AUR). Whenever I clear the printing queue and try to print something, the waiting message appears quickly. Trying to print the test page is not different.
Weird side effect: The number of pages in the top entry in the printing queue gets incremented every time I restart cups (e.g. shows 5, despite the document only having 1 page, since I've restarted CUPS 4 times after queueing the job).
I'd appreciate any help.
Turtle10000
(73 rep)
Dec 8, 2020, 10:39 PM
• Last activity: Dec 8, 2020, 10:55 PM
1
votes
0
answers
2765
views
How to completely uninstal HPLIP
I have this annoying popup every time I start my pc and I don't know how to eliminate it and either the HPLIP. [![enter image description here][1]][1] I tried this method without success https://askubuntu.com/questions/1056077/how-to-install-latest-hplip-on-my-ubuntu-to-support-my-hp-printer-and-or-...
I have this annoying popup every time I start my pc and I don't know how to eliminate it and either the HPLIP.
I tried this method without success https://askubuntu.com/questions/1056077/how-to-install-latest-hplip-on-my-ubuntu-to-support-my-hp-printer-and-or-scanner
sh hplip-3.20.9.run --noexec
cd hplip-3.20.9
sudo python3 ./uninstall.py
sudo rm -rf /usr/share/hplip/
Maybe I'm not getting the directory correctly, I am not sure

The Dan
(111 rep)
Nov 25, 2020, 12:49 PM
• Last activity: Nov 25, 2020, 12:54 PM
2
votes
1
answers
1180
views
Network printer always printing a single copy
There's an HP MFP M127fn printer on the LAN. Regardless of how many copies the print command is executed with, it only prints a single copy. This issue wasn't always around; I used to run Debian testing and a month or two back this change occurred and the printer no longer prints multiple copies. La...
There's an HP MFP M127fn printer on the LAN. Regardless of how many copies the print command is executed with, it only prints a single copy.
This issue wasn't always around; I used to run Debian testing and a month or two back this change occurred and the printer no longer prints multiple copies. Later I moved to Kubuntu, still the printer behaved the same.
Print commands from Windows outputs normally, so I concluded it's a Linux/CUPS issue. How do I diagnose and hopefully workaround, if not fix, this issue?
**PS** The print queue shows the number of copies the command was executed with.
**EDIT** Since this question hasn't been getting much attention, I'd like to bump by adding that Android devices with the builtin print thingy was able to successfully print the proper number of pages.
Oxwivi
(1792 rep)
Jun 19, 2019, 06:03 PM
• Last activity: Jul 9, 2020, 02:00 AM
1
votes
1
answers
81
views
How to print several copies of a large postscript file on a printer with little memory?
I'm printing a postscript file containing a folder on my HP Laserjet 1320. I can print the folder one by one, but when I try to print a couple of them at one time, say 10, the printer doesn't have enough memory and signals an error. I guess this is due to the printing software adding up all 10 folde...
I'm printing a postscript file containing a folder on my HP Laserjet 1320. I can print the folder one by one, but when I try to print a couple of them at one time, say 10, the printer doesn't have enough memory and signals an error. I guess this is due to the printing software adding up all 10 folders to be printed and sends them to the printer at once.
**How can I avoid running out of memory?**
*Possible solutions*:
- Write a script that prints one folder, then waits for 10 s and prints another one etc.
- Is there a setting in the printer driver that does ditto?
*Workarounds*:
- Push "reprint"-button in printer's jobs list several times to print more copies ... not very comfortable :)
PetaspeedBeaver
(1398 rep)
Jan 30, 2020, 12:25 PM
• Last activity: Jun 16, 2020, 06:55 PM
0
votes
1
answers
490
views
install laserjet 2200 printer from the command line using lpadmin
I am using arch linux kernel 5.7.2-arch1-1. All software is up to date. I am attempting to set-up a Laserjet 2200 printer from the command line using the utility `lpadmin`. While I am able to use the `system-config-printer` GUI utility to set up the printer so it works, I prefer to be able to do thi...
I am using arch linux kernel 5.7.2-arch1-1.
All software is up to date.
I am attempting to set-up a Laserjet 2200 printer from the command line using the utility
lpadmin
.
While I am able to use the system-config-printer
GUI utility to set up the printer so it works, I prefer to be able to do this from the command line as it is much more portable. When I set-up using the GUI method the working printer gives some information about the working driver. The make and model
field is filled as HP LaserJet 2200 - CUPS+Gutenprint v5.3.3
.
Being able to replicate this set-up on the command line would be ideal.
I've had a brief look at the Gutenprint web site and the pdf document they have and there apprears to have no set-up information in there, that I can see.
The below printer set-up command is accepted by the terminal, but the newly set-up printer accepts the print job but fails to print:
lpadmin -p "hp_laserjet_2200" -d "hp_laserjet_2200" -o printer-is-shared=false -e -i ~/script_PRINTER_CUPS_config_file/hp-laserjet-2200.ppd -v socket://192.168.1.240:9100
I think this command should work and that the problem is the .ppd
file, though I am sure that I used this same .ppd
file many years ago for a same model printer.
What is the GUI app accessing that I can't see?
Do I need more than a once upon a time working ppd file?
Where can I get a newer ppd file (a search revealed nothing)?
What is the method to set-up this laserjet printer from the command line?
I feel certian this is simply a driver problem. I have done much googling but the answer is not so far clear. I have installed hplip
which I think has a gui, but as I say I want to do this entireley on the command line.
Kes
(909 rep)
Jun 16, 2020, 02:54 PM
• Last activity: Jun 16, 2020, 05:52 PM
0
votes
1
answers
1140
views
Setting up a usb HP printer on Linux Mint 19.3
I am dual booting my Windows 10 laptop and I chose the Linux Mint 19.3 distro to run alongside windows with the dual boot option. When I boot into Linux I'm not having any success connecting to my USB printer which is a LaserJet M1212nf MFP and that printer is supported by HP. I've got hplip 3.17.10...
I am dual booting my Windows 10 laptop and I chose the Linux Mint 19.3 distro to run alongside windows with the dual boot option. When I boot into Linux I'm not having any success connecting to my USB printer which is a LaserJet M1212nf MFP and that printer is supported by HP.
I've got hplip 3.17.10 and hplip-gui 3.17.10 installed and I also ran hp-plugin to install the plugin. When I run hp-setup from the command line I select USB on page one and then when I click on Next I get a "No devices found" message. Just for good measure I plugged in my usb printer before running hp-setup.
Update: I've tried running hplip.3.20.5.run and I'm getting this message:
Following dependencies are not installed. HPLIP will not work if all REQUIRED dependencies are not installed and some of the HPLIP features will not work if OPTIONAL dependencies are not installed.
Package-Name Component Required/Optional
xsane scan OPTIONAL
python3-notify2 gui_qt5 OPTIONAL
python3-pyqt4-dbus gui_qt4 OPTIONAL
python3-pyqt4 gui_qt4 REQUIRED
python3-pyqt5-dbus gui_qt5 OPTIONAL
python3-pyqt5 gui_qt5 REQUIRED
python3-dbus fax REQUIRED
python3-reportlab fax OPTIONAL
Do you want to install these missing dependencies (y=yes*, n=no, q=quit) ? y
INSTALL MISSING REQUIRED DEPENDENCIES
-------------------------------------
note: Installation of dependencies requires an active internet connection.
warning: Missing REQUIRED dependency: python3-pyqt4 (PyQt 4- Qt interface for Python (for Qt version 4.x))
warning: This installer cannot install 'python3-pyqt4' for your distro/OS and/or version.
error: Installation cannot continue without this dependency. Please manually install this dependency and re-run this installer.
I checked to see if I have python3-pyqt4 installed and it looks like I do:
(base) david@david-Inspiron-3520:~/Downloads$ dpkg -l | grep python3-pyqt4
ii python3-pyqt4 4.12.1+dfsg-2 amd64 Python3 bindings for Qt4
Please let me know your thoughts!
Thanks,
David
David Watson
(1 rep)
May 26, 2020, 02:07 AM
• Last activity: Jun 13, 2020, 06:13 AM
1
votes
0
answers
913
views
HPlip cannot find printer/scanner (HP Envy 5010)
Santa brought me a new printer - an HP Envy 5010 but I can't get it working. The paper documentation supplied with the printer was useless (omitted to mention that you need to / how to open the case and install ink cartridges) and the only setup information was to "download the app for iphone or and...
Santa brought me a new printer - an HP Envy 5010 but I can't get it working.
The paper documentation supplied with the printer was useless (omitted to mention that you need to / how to open the case and install ink cartridges) and the only setup information was to "download the app for iphone or android". Running this app on my tablet, it discovered the device without any problem.
hp-setup cannot find the printer - I've tried the 3 auto-discovery methods in hplip (SLP, bonjour/mdns, avahi) even if I tell it the printer's IP address (as reported in lcd screen on the printer). I have tried each of 1-4 as options for "jetdirect port". There is no firewall between my Linux host and the printer.
From the command line, I can connect to ports 631 and 9100 using telnet, and to the http and https admin consoles. But I can't connect to 161 and 162 which are described in the troubleshooting at https://developers.hp.com/hp-linux-imaging-and-printing/KnowledgeBase/Troubleshooting/TroubleshootNetwork
Cups has discovered the printer (twice!):
Discovered Network Printers:
HP ENVY 5000 series [0531AC] (HP HP ENVY 5000 series)
ENVY 5000 All-in-One Printer series (HP ENVY 5000 series)
Meanwhile, HP says they don't provide *any* drivers for it at https://support.hp.com/us-en/drivers/selfservice/model/14095645
(but that is auto-detecting my Linux OS, shame HPLIP wasn't so good) Unfortunately none of the drivers listed for other OS seem to have a seperate PPD file and my CUPS installation doesn't have one for an Envy 5010. The one for a HP Envy 5530 seems to be working with the test page).
Has anyone successfully configured an HP Envy 5010 to scan? How?
Should I expect to have to reconfigure CUPS if the IP address changes?
symcbean
(6301 rep)
Dec 26, 2019, 05:29 PM
• Last activity: Jan 3, 2020, 07:41 AM
0
votes
1
answers
1630
views
RedHat 7: lpadmin can't find HP ppd file?
I am trying to add a printer on a RedHat 7.5 system from the command line as follows: /sbin/lpadmin -p printername -v socket://printerfqdn:9100 -m hp-laserjet_3015-ps.ppd.gz -L "Room number goes here" -E This command failed with the following error message: lpadmin: Unable to copy PPD file. I have H...
I am trying to add a printer on a RedHat 7.5 system from the command line as follows:
/sbin/lpadmin -p printername -v socket://printerfqdn:9100 -m hp-laserjet_3015-ps.ppd.gz -L "Room number goes here" -E
This command failed with the following error message:
lpadmin: Unable to copy PPD file.
I have HP-related packages installed:
hpijs.x86_64
hplip.x86_64
hplip-common.x86_64
hplip-libs.x86_64
I found that this error happens because the PPD file that I had specified with
-m
is located in /usr/share/ppd/HP
(from the hpijs RPM), but apparently cups only looks in /usr/share/cups/model
Of course, an easy workaround is to create a link from the expected location to the actual file location, but I'm sure RedHat created this directory structure intentionally.
What is the official way of installing an HP Laserjet 3015 on RedHat 7 from the command line?
Edit:
The command:
lpinfo -m | grep 3015
shows the following:
foomatic-db-ppds/Epson/epl6200.ppd.gz EPSON EPL-6200 PS3 v3015.102
foomatic-db-ppds/Epson/epln2500.ppd.gz EPSON EPL-N2500 PS3 v3015.102
foomatic-db-ppds/Epson/epln2550.ppd.gz EPSON EPL-N2550 PS3 v3015.102
foomatic-db-ppds/Epson/epln3000.ppd.gz EPSON EPL-N3000 PS3 v3015.102
foomatic-db-ppds/Epson/epln7000.ppd.gz EPSON EPL-N7000 PS3 v3015.102
gutenprint.5.2://hp-lj_3015/expert HP LaserJet 3015 - CUPS+Gutenprint v5.2.9
gutenprint.5.2://hp-lj_3015/simple HP LaserJet 3015 - CUPS+Gutenprint v5.2.9 Simplified
foomatic:HP-LaserJet_3015-gutenprint-ijs-simplified.5.2.ppd HP LaserJet 3015 Foomatic/gutenprint-ijs-simplified.5.2
foomatic:HP-LaserJet_3015-gutenprint-ijs.5.2.ppd HP LaserJet 3015 Foomatic/gutenprint-ijs.5.2
foomatic:HP-LaserJet_3015-Postscript.ppd HP LaserJet 3015 Foomatic/Postscript
drv:///hp/hpijs.drv/hp-laserjet_3015-hpijs-pcl3.ppd HP LaserJet 3015 hpijs pcl3, 3.15.9
drv:///hp/hpcups.drv/hp-laserjet_3015-pcl3.ppd HP LaserJet 3015 pcl3, hpcups 3.15.9
hp-laserjet_3015-ps.ppd.gz HP LaserJet 3015 Postscript
lsb/usr/HP/hp-laserjet_3015-ps.ppd.gz HP LaserJet 3015 Postscript
This was taken after I already used the link-workaround described above. Using the analogous command on another HP printer shows this:
[root@mycomputer ~]# lpinfo -m | grep m1522
lsb/usr/HP/hp-laserjet_m1522_mfp-ps.ppd.gz HP LaserJet M1522 MFP Series Postscript
lsb/usr/HP/hp-laserjet_m1522n_mfp-ps.ppd.gz HP LaserJet M1522 MFP Series Postscript
lsb/usr/HP/hp-laserjet_m1522nf_mfp-ps.ppd.gz HP LaserJet M1522 MFP Series Postscript
drv:///hp/hpijs.drv/hp-laserjet_m1522nf_mfp-hpijs-pcl3.ppd HP LaserJet m1522nf MFP hpijs pcl3, 3.15.9
drv:///hp/hpcups.drv/hp-laserjet_m1522nf_mfp-pcl3.ppd HP LaserJet m1522nf MFP pcl3, hpcups 3.15.9
Kevin Keane
(664 rep)
Sep 19, 2018, 09:56 PM
• Last activity: Apr 24, 2019, 03:42 PM
1
votes
0
answers
810
views
Virtual PDF printer on the network
I have an application that only allows very rudimentary printer settings. In principle, only the IP of a network printer can be specified, which is then addressed via IPP (port 9100). Now I would like to get rid of the physical printers used for this and provide several virtual PDF printers in the n...
I have an application that only allows very rudimentary printer settings. In principle, only the IP of a network printer can be specified, which is then addressed via IPP (port 9100).
Now I would like to get rid of the physical printers used for this and provide several virtual PDF printers in the network. At first I thought of a classic CUPS server with PDF printing. The problem, however, is that these printers are addressed via a URL, e.g. http://printserver/printers/PDF . But in the above mentioned program only one IP can be entered and not a URL.
Is it possible under Linux to provide a virtual printer that is addressed exclusively via an IP address?
Patrick
(31 rep)
Nov 20, 2018, 07:44 AM
0
votes
1
answers
394
views
Printer Not Installing by hp-lip?
So I have a hp - Laser Jet 4050 I Installed Linux Mint 19 a week ago , so I wanted to install it I run hp-setup in terminal [![enter image description here][1]][1] with this setup [![enter image description here][2]][2] I click Usb and this is what appears [![enter image description here][3]][3] and...
So I have a hp - Laser Jet 4050
I Installed Linux Mint 19 a week ago ,
so I wanted to install it
I run hp-setup in terminal
with this setup
I click Usb and this is what appears
and this on terminal
This is strange because when I enter lsusb in terminal this comes ,(Device 014 is the printer , i figured that out when i typed lsusb without connecting printer and it was'nt appearing )
Can anyone tell why is it not detecting my printer ,
Btw my printer is very old and it has a parallel(connected to printer ) to usb adapter (connected to computer) ..
EDIT....
I just typed hp-check i in terminal , what do i do now? :/ :(
this returned






Rix Vii
(1 rep)
Oct 21, 2018, 08:21 AM
• Last activity: Oct 21, 2018, 11:47 AM
1
votes
1
answers
245
views
Setting up hplip on Trisquel 8.0
I've upgraded (from Trisquel 7.0) to Trisquel 8.0 with clean/fresh install. When I connected to printer (HP LaserJet P1007) it's detected while adding from settings>printers (`system-config-printer`) and I completed the setup;at last it asked whether to print test page and it was not printed. I also...
I've upgraded (from Trisquel 7.0) to Trisquel 8.0 with clean/fresh install.
When I connected to printer (HP LaserJet P1007) it's detected while adding from settings>printers (
I'm not sure but earlier I had faced similar problem when I solved it by manually configuring through
system-config-printer
) and I completed the setup;at last it asked whether to print test page and it was not printed. I also tried printing documents but they are not really printed and system shows printed successfully.
Though it displays correctly added/configured in settings:


hp-setup
as discussed [here](https://askubuntu.com/q/464651/256099) . I've also tried that but it's showing following error:
error: HPLIP is not installed properly or is installed without graphical support. Please reinstall HPLIP
warning: Qt/PyQt 4 initialization failed.
error: hp-setup requires GUI support (try running with --qt3). Also, try using interactive (-i) mode.
So,(looking at it would be the issue with GUI provided by Qt4), I tried interactive mode:
$ hp-setup -i
HP Linux Imaging and Printing System (ver. 3.16.3)
Printer/Fax Setup Utility ver. 9.0
Copyright (c) 2001-15 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.
(Note: Defaults for each question are maked with a '*'. Press to accept the default.)
--------------------------------
| SELECT CONNECTION (I/O) TYPE |
--------------------------------
Num Connection Description
Type
-------- ---------- ----------------------------------------------------------
0* usb Universal Serial Bus (USB)
1 net Network/Ethernet/Wireless (direct connection or JetDirect)
2 par Parallel Port (LPT:)
Enter number 0...2 for connection type (q=quit, enter=usb*) ? 0
Using connection type: usb
error: No device selected/specified or that supports this functionality.
Hence the error is "No device selected/specified or that supports this functionality."
I've also checked that hp-plugin is installed properly because I remember [my printer needs plugin](https://developers.hp.com/hp-linux-imaging-and-printing/supported_devices/index) :
$ hp-plugin -i
HP Linux Imaging and Printing System (ver. 3.16.3)
Plugin Download and Install Utility ver. 2.1
-----------------------------------------
| PLUG-IN INSTALLATION FOR HPLIP 3.16.3 |
-----------------------------------------
The driver plugin for HPLIP 3.16.3 appears to already be installed.
Do you wish to download and re-install the plug-in? (y=yes*, n=no, q=quit) ? n
Thus, **how do I fix the issue of 'jobs are not printing and it's shown printing completed' and 'hp-setup not working'?**
Note: I've also tried purging and re-installing hplip and here is the version of package available on Trisquel's repository:
$ apt-cache policy hplip
hplip:
Installed: 3.16.3+repack0-1+8.0trisquel1
Candidate: 3.16.3+repack0-1+8.0trisquel1
Version table:
*** 3.16.3+repack0-1+8.0trisquel1 500
500 https://archive.trisquel.info/trisquel flidas-updates/main amd64 Packages
100 /var/lib/dpkg/status
Pandya
(25613 rep)
Oct 5, 2018, 05:34 PM
• Last activity: Oct 16, 2018, 04:26 PM
Showing page 1 of 18 total questions