Hi everyone, I just finished the installation of artix-mate-openrc-20200504-x86_64.iso and I would like to configure my HP printer, but I can't find anything about it in the menu. Do I have to do it by command line? If yes can someone help me or tell me where to find directions? Thanks so much, I'm a newbie in Linux...
George
You need to install and start CUPS daemon, install hplip package (and probably hplip-plugin from AUR). After that you can use CUPS web interface or system-config-printer to configure your pinter
Thanks for the phonix reply.
I installed cups and hplip, and started configuring the printer from the command line, but I got this error message: Unable to find an appropriate PPD file, as per the attached image.
What am I doing wrong ?
thanks for help!
use directly hplip installator:
hp-setup
or try use http://localhost:631/ (CUPS) it's more convenient :-)
Thanks for the reply Alium.
I tried the configuration with "hp-setup" .-
The printer (HP DESKJET 1510) is recognized, but in step two it always gives me the same error: "No appropriate print PPD file found", even if the appropriate file is present. It simply does not load it, as if it were not there. It does not even load it by manually selecting it, as per the attached screens.
Thanks for any help you can.
George.-
rc-service avahi-daemon status
avahi is running? avahi
must run!
and what say /var/log/cups/error_log?
cat /var/log/cups/error_log
Thanks for the reply!
Avahi status is "stopped"
I tried to figure out how to start avahi, but I couldn't. How you do it?
Then, there is no file called "error_log" in / var / log / cups /: the folder is empty.
Very complicated to be able to print!
Tks for help!
George.
pacman -S avahi avahi-openrc
rc-service avahi-daemon start
if start without problems:
rc-update add avahi-daemon default
you should start cupsd too:
rc-update add cupsd default
after reboot will be start automatically
THEN..
1. pacman -S avahi avahi-openrc
both packages are already installed.
2.rc-service avahi-daemon start
It gives the following result:
avahi-daemon | * Starting avahi-daemon ...
avahi-daemon |Daemon already running on PID 3592 [ !! ]
avahi-daemon | * ERROR: avahi-daemon failed to start
So ... it didn't start
I'm sorry for these complications ...
no he is started before, so avahi is running = Daemon already running on PID 3592
so try it now install again.. cupsd is running too?
are you member of cups and lp group?
THEN
1.so try it now install again:
pacman -S avahi avahi-openrc
and now the result of:
rc-service avahi-daemon start
is a little different:
avahi-daemon | * Caching service dependencies ... [ ok ]
avahi-daemon | * Starting avahi-daemon ...
avahi-daemon |Daemon already running on PID 3592 [ !! ]
avahi-daemon | * ERROR: avahi-daemon failed to start
2.cupsd is running too?
I dont know how verify it
I'm NOT member of cups group.
I'm member of lp group.
I have a similar HP printer ( Deskjet D1420), and have it working plugged into USB.
Not to add confusion, but what I did is install the system-config-printer package and use that to add a printer. This app has always worked for me. Maybe using http://localhost:631/ is similar. Make sure the defined printer connection is HPLIP as opposed to USB. Below I am posting some config thats on my working system, maybe this will help.
Here is whats in my /etc/cups/ppd/:
[dxrobertson@acer ppd]$ ls
HP-Deskjet-D1400-series.ppd HP-Deskjet-D1400-series.ppd.O
Here is my /etc/cups/printers.conf file:
# Printer configuration file for CUPS v2.3.1
# Written by cupsd on 2020-04-28 07:40
# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
NextPrinterId 3
<DefaultPrinter HP-Deskjet-D1400-series>
PrinterId 2
UUID urn:uuid:0de37509-d47b-3c60-5a5a-d4093ffc5ff8
Info HP Deskjet D1400 series
Location acer
MakeModel HP Deskjet d1400 Series, hpcups 3.20.2
DeviceURI hp:/usb/Deskjet_D1400_series?serial=TH81V3235Y04Y5
State Idle
StateTime 1588074042
ConfigTime 1588073330
Type 36892
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</DefaultPrinter>
add you to cups group, lp group is obsolete and cups need users in cups group
I work about it...
and:
1.
cat /var/log/cups/error_log
have now this:
E [11/May/2020:22:33:28 +0200] Unable to open listen socket for address [v1.::1]:631 - Address already in use.
E [11/May/2020:22:33:28 +0200] Unable to open listen socket for address 127.0.0.1:631 - Address already in use.
E [11/May/2020:23:03:21 +0200] Unable to remove /run/cups/certs/0!
E [11/May/2020:23:03:21 +0200] Unable to finalize "/var/cache/cups/job.cache": No such file or directory
2. I add myself at cups group
3.I try use now hp-setup with the same result:
error: No PPD found for model deskjet_1510 using old algorithm.
error: No appropriate print PPD file found for model deskjet_1510_series
have you tried adding a printer through that web interface?
http://localhost:631/
Yes I have, but it's impossible, I have this error message: Unable to connect
:'(
Check if you have any service listening to port 631. Also you can configure CUPS to listen to local UNIX socket and then you can connect to with system-config-printer utility
seems, that cups is not started, or is wrong configured.
please give here output from terminal with command:
rc-service cupsd restart -v
should be similar as mine:
[picasso pkg]# rc-service cupsd restart -v
* Executing: /usr/lib/openrc/sh/openrc-run.sh /usr/lib/openrc/sh/openrc-run.sh /etc/init.d/cupsd stop
* Stopping cupsd ...
* Will stop /usr/bin/cupsd
* Will stop PID 7102
* Will stop processes of `/usr/bin/cupsd'
* Sending signal 15 to PID 7102 ... [ ok ]
* Executing: /usr/lib/openrc/sh/openrc-run.sh /usr/lib/openrc/sh/openrc-run.sh /etc/init.d/cupsd start
* Starting cupsd ...
* start-stop-daemon: fopen `/run/cupsd.pid': No such file or directory
* Detaching to start `/usr/bin/cupsd' ... [ ok ]
this is the result of "rc-service cupsd restart -v"
* rc-service: service `cupsd' does not exist
have you no cups-openrc installed??? :o :o
pacman -S cups cups-openrc
CUPS is installed !
this is the result of " pacman -Qs cups"
local/cups 2.3.3-1
The CUPS Printing System - daemon package
local/cups-filters 1.27.4-1
OpenPrinting CUPS Filters
local/libcups 2.3.3-1
The CUPS Printing System - client libraries and headers
Well, if you didn't do a terminal installation I guess there's no way for you to know before hand, but in Artix services like CUPS and Network Manager come with their normal package and the *-openrc/*-runit/*-s6 packages, each with the init scripts of their respective init system. If you install cups-openrc it should stop giving the "rc-service: service `cupsd' does not exist" error message.
Yes, is installed, but is not installed cups service and cups can't start. Just install cups-openrc, and start it.
So, your cups is NOT really properly installed.
BINGO !!!
I installed "cups-openrc" and now, by launching "hp-setup", I was able to configure the HP printer, which now works perfectly, including the scanner.
I want to thank everyone who answered and helped me, especially alium, to whom I wasted a lot of time ...
I'm afraid, however, that you will read me again soon, there are other small post installation things that don't go as they should, certainly not as important as not being able to print, but still need to be fixed.
To conclude, congratulations on the project, Artix runs well on my old PC over 15 years ago, and everything is very responsive and also pleasant to see (MATE). I just hope I don't break everything too soon, I'm a beginner with Linux.
See you soon.-
George
good :-)
I find kernels with the CK patchset to offer great desktop responsiveness in low RAM / disk-thrashing situations / old hardware.
maybe he can instal linux-zen
pacman -S linux-zen
Hi nous! Very interesting, for me, what you wrote.
Indeed, I have an old TOSHIBA SATELLITE with AMD e350 and 4Gb of Ram. I only replaced the hard drive with a small first price SSD. With Artix everything turns perfectly, it's almost a splinter. He's only struggling with 1080 video straming, but I have to settle, he's an old man ... So, yes, I could try Kernel with CK patchset, maybe something improves further! How you do it ? I searched the forum but found nothing. Thanks for this nice news!
Hi alium! I read something, I seem to understand that it is an alternative Kernel ... I would not want to break something by installing it. I know that touching the kernel is a very delicate thing, and I am not an expert to remedy ... If I install it I can go back easily, if something goes wrong? TKS in advance for the reply.
linux, linux-lts, linux-zen and much other kernels are installed together not breaking each other. You will have one default choice in grub menu and other will be in options submenu
this is the result.... :o
something wrong...
Possibly run pacman -Syu to update your system first, the current version in the repos is *13* not *11* so the old version wouldn't be found.
TKS #######, it's ok. Now I try to reboot and choose the new one kernel.
I guess I didn't understand something. At boot time there is no selection of different kernels available. - Where am I wrong?
you must some kernel to grub add before :D (or which sysem loader you use)