Tagged: print cups
This topic contains 5 replies, has 4 voices, and was last updated by Girafenaine Mar 14-3:47 pm.
March 12, 2019 at 7:05 am #19348Member
I am unable to print. I have installed antiX17 32b on a live USB, base install.
I installed cups with synaptic.
When I try to get the web printing manager on localhost:631, I get the cups 2.2.1 page, but no link works. My browser (firefox) answers : Firefox can’t establish a connection to the server at localhost:631.or”
The lpinfo -v command returns : “mauvais descripteur de fichier” in french, something like “bad file descriptor”
Can anyone give a hand ?
GirafenaineMarch 12, 2019 at 7:12 am #19350Forum Admin
its very likely that the cupsd daemon is not running. by default, the live-USB system contains the “disable=lx” boot code, which prevents certain apps from starting. IIRC, cupsd is one of those apps.March 12, 2019 at 7:14 am #19351Member
These applications are missing on base
So it’s probably not enough to install cups.
sudo apt-get install cups cups-filters system-config-printer system-config-printer-udev printer-driver-gutenprint
If your printer is a hp-printer you also need
sudo apt-get install hplip printer-driver-hpijs
If your printer has an integrated scanner
sudo apt-get install sane-utils simple-scan libsane-hpaio libsane
Normaly you should be able to start cups on a live-system with
sudo service cups start
March 12, 2019 at 11:27 am #19355Member
- This reply was modified 2 months, 2 weeks ago by caprea.
Thank you very much to both of you !
1. For cups, the service was not started. The sudo service cups start command helped. How can I make the service always on ? or is it a bad idea ?
I will now install my printer, I hope I will get it work, perhaps I will need drivers.
2. Thank you for the link to the “base vs core” packages, I was looking for this information. I installed antiX-base only because of the size of a CD… but I have now added a lot of packages much more like antiX-full.
GirafenaineMarch 12, 2019 at 2:25 pm #19356Member
by default, the live-USB system contains the “disable=lx” boot code, which prevents certain apps from starting. IIRC, cupsd is one of those apps.
^—– yes, and that (disable=lx by default) has tripped me up occassionally
On a live system, you can review the list (legend?) of disable= codes and associated services
sudo cat /live/etc/init.d/live-disable-services
Can also review the list online https://gitlab.com/antiX-Linux/Live-initrd-1/blob/master/etc/init.d/live-disable-services
(the exact items listed are subject to change, across releases)
LEAN_SERVICES ( these are disabled when bootline specifies disable=l )
(added for clarity after proofreading: that’s a lowercase “L”, above)
XTRA_LEAN_SERVICES ( these are disabled when bootline specifies disable=x )
MEAN_SERVICES ( these are disabled when bootline specifies disable=m )
ufwMarch 14, 2019 at 3:47 pm #19432Member
Hello Dolphin_oracle and Skidoo,
Thank you very much for your answers.
Is it safe or useful to enable these services by modifying the boot option ?
- This reply was modified 2 months, 1 week ago by Girafenaine.
You must be logged in to reply to this topic.