Forum › Forums › New users › New Users and General Questions › (solved) Setup scanner/printer at antiX-base
Tagged: antiX-base, Printer, scan
- This topic has 19 replies, 5 voices, and was last updated Mar 8-9:21 am by andfree.
-
AuthorPosts
-
March 5, 2018 at 11:37 pm #7359Member
andfree
Hi. I run antiX-17-base. I try to setup an HP printer & scanner device. I installed Simple Scan & hplip. But, when I try to scan, it gives me this message:
Failed to scan
Unable to connect to scannerThere’s not an icon for setting printer in control center (because I run base, I suppose).
At http://localhost:631 , it asks me for a password and, when I try to add the printer, it gives me this message:Add Printer Error
Unable to add printer:
ForbiddenIn Synaptic, cups appears to be installed.
Any ideas?- This topic was modified 5 years, 2 months ago by andfree.
- This topic was modified 5 years, 2 months ago by andfree.
March 6, 2018 at 12:50 am #7362Anonymous
March 6, 2018 at 5:43 am #7373Memberandfree
::No, I hoped that I would have found help here. The only I’ve checked is that there’s not a ~/.xsane folder to delete.
March 6, 2018 at 6:41 am #7375Member
sleekmason
::When entering your password, you should be using “root” and your root password, not your user name.
Also, I’ve learned that when skidoo sends a link, odds are it is completely relevant to whatever problem I might be having. This doesn’t always hold true for others.
- This reply was modified 5 years, 2 months ago by sleekmason.
March 6, 2018 at 9:29 am #7391Member
ohh
::The first item to check is to see if saned is enabled:
as root or using sudo open your file manager and navigate to the directory /etc/default/
open the file saned and make sure it reads:
# Defaults for the saned initscript, from sane-utils # To enable under systemd please read README.Debian # Set to yes to start saned under SysV RUN=yes # Set to the user saned should run as RUN_AS_USER=sanedroboot, then
follow the instructions here:Hope this helps
ohh
`
- This reply was modified 5 years, 2 months ago by ohh.
Every matter requires prior knowledge.
- Du Mu
The Art of WarMarch 6, 2018 at 12:00 pm #7402Memberandfree
::Actually, I was trying to enter cups as user. Entering as root, I can add the printer, but still can’t get it work. I remember I had created a relevant topic at the old forum, but I can’t find it.
About scanner, I installed sane and sane-utils, edited /etc/default/saned (turned “RUN=no” to “RUN=yes”) and rebooted, but then:
$ scanimage -L
device `hpaio:/usb/HP_LaserJet_M1319f_MFP?serial=N8603DV’ is a Hewlett-Packard HP_LaserJet_M1319f_MFP all-in-one
master@desktop:~
$ scanimage > image.pnm
scanimage: open of device hpaio:/usb/HP_LaserJet_M1319f_MFP?serial=N8603DV failed: Error during device I/O- This reply was modified 5 years, 2 months ago by andfree.
- This reply was modified 5 years, 2 months ago by andfree.
- This reply was modified 5 years, 2 months ago by andfree.
March 6, 2018 at 12:20 pm #7406Moderator
caprea
::Maybe look if this is installed on your system
sudo apt-get install cups cups-client cups-bsd hplip hpijs simple-scan sane-utilsThen please look if you are member of the lpadmin group
sudo adduser yourusername lpadminThen do the same for the scanner group
sudo usermod -a -G scanner yourusername
newgrp - scannerStart the cups service again
sudo service cups startTry again the cups-side.
Oops,didn’t see your post.
- This reply was modified 5 years, 2 months ago by caprea.
March 6, 2018 at 12:43 pm #7408Memberandfree
::$ sudo apt-get install cups cups-client cups-bsd hplip hpijs simple-scan sane-utils Reading package lists... Done Building dependency tree Reading state information... Done Package hpijs is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source However the following packages replace it: printer-driver-hpijs E: Package 'hpijs' has no installation candidateAnd after having added the printer and sent a page to print, the job state is:
stopped “Filter failed”
- This reply was modified 5 years, 2 months ago by andfree.
March 6, 2018 at 12:47 pm #7410Anonymous
::look if you are member of the lpadmin group
Then do the same for the scanner group
+1
(per the results of the websearch I linked to, a user’s lack of group membership is the typical cause of “Failed to scan Unable to connect to scanner”)
March 6, 2018 at 12:53 pm #7411Moderator
caprea
March 6, 2018 at 1:00 pm #7412Member
sleekmason
March 6, 2018 at 1:00 pm #7413Memberandfree
::look if you are member of the lpadmin group
Then do the same for the scanner group
I followed all the steps indicated by caprea, but I posted only about the error messages. For the history, I was not already member of groups. Now I am, but my problems are not solved yet.
March 6, 2018 at 1:06 pm #7414Moderator
caprea
::Just a guess ,maybe you have to install cups-filters
On a full install it is installed .March 6, 2018 at 1:10 pm #7415Memberandfree
::hp-setup -i
Excellent. It solved all my problems. Now the printer prints and the scanner scans. Many thanks.
March 7, 2018 at 10:45 am #7465Memberandfree
-
AuthorPosts
- You must be logged in to reply to this topic.