(solved) Setup scanner/printer at antiX-base

Forum Forums New users New Users and General Questions (solved) Setup scanner/printer at antiX-base

  • This topic has 19 replies, 5 voices, and was last updated Mar 8-9:21 am by andfree.
Viewing 15 posts - 1 through 15 (of 20 total)
  • Author
    Posts
  • #7359
    Member
    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 scanner

      There’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:
      Forbidden

      In Synaptic, cups appears to be installed.
      Any ideas?

      • This topic was modified 6 years, 4 months ago by andfree.
      • This topic was modified 6 years, 4 months ago by andfree.
      #7362
      Anonymous

        Yeah, sucks when that happens.

        Hey, have you already checked this ?

        #7373
        Member
        andfree

          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.

          #7375
          Member
          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 6 years, 4 months ago by sleekmason.
            #7391
            Member
            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=saned

              roboot, then
              follow the instructions here:

              Debian Wiki

              Hope this helps

              ohh

              `

              • This reply was modified 6 years, 4 months ago by ohh.

              Every matter requires prior knowledge.

              - Du Mu
              The Art of War

              #7402
              Member
              andfree

                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 6 years, 4 months ago by andfree.
                • This reply was modified 6 years, 4 months ago by andfree.
                • This reply was modified 6 years, 4 months ago by andfree.
                #7406
                Moderator
                caprea

                  Maybe look if this is installed on your system

                   sudo apt-get install cups cups-client cups-bsd hplip hpijs simple-scan sane-utils
                  

                  Then please look if you are member of the lpadmin group
                  sudo adduser yourusername lpadmin

                  Then do the same for the scanner group
                  sudo usermod -a -G scanner yourusername
                  newgrp - scanner

                  Start the cups service again

                  sudo service cups start
                  

                  Try again the cups-side.

                  Oops,didn’t see your post.

                  • This reply was modified 6 years, 4 months ago by caprea.
                  #7408
                  Member
                  andfree
                    $ 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 candidate

                    And after having added the printer and sent a page to print, the job state is:

                    stopped “Filter failed”

                    • This reply was modified 6 years, 4 months ago by andfree.
                    #7410
                    Anonymous

                      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”)

                      #7411
                      Moderator
                      caprea

                        I don’t have a hp-printer, but don’t you have to run ?
                        hp-setup -i
                        first

                        #7412
                        Member
                        sleekmason

                          apt-get install hplip

                          #7413
                          Member
                          andfree

                            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.

                            #7414
                            Moderator
                            caprea

                              Just a guess ,maybe you have to install cups-filters
                              On a full install it is installed .

                              #7415
                              Member
                              andfree

                                hp-setup -i

                                Excellent. It solved all my problems. Now the printer prints and the scanner scans. Many thanks.

                                #7465
                                Member
                                andfree

                                  And what about an Epson printer?

                                Viewing 15 posts - 1 through 15 (of 20 total)
                                • You must be logged in to reply to this topic.