Hello Gottfried,

gfp <g...@posteo.at> writes:

> I can print in Guix SD with my very old printer
> HP Officejet J4580 All-in-One
> but I can´t _scan_.

I had the same issue with my HP printer.  Am I guessing correctly that
your printer is connected through the network, not USB?

Until very recently, our hplip package (containing the printer drivers
for HP devices) did not have network support.  This means that you could
not use the HP drivers with a network connected printer.  The reason you
can print in spite of that is that you are likely using IPP to
communicate with the printer (at least this was the case for me).  This
does however not support scanning.

To scan and print, you need to use the HP drivers.  A fix to enable the
network support of hplip was merged two days ago (bug#76583).  So if you
pull and then reconfigure your system, both scanning and printing should
work.

Make sure that your CUPS service is actually using hplip instead of
hplip-minimal (the latter does not have network support).  In my system
configuration file, I do this:

     (service cups-service-type
              (cups-configuration
               (web-interface? #t)
               (auto-purge-jobs? #t)
               (default-paper-size "A4")
               (extensions
                (list cups-filters
                      epson-inkjet-printer-escpr
                      hplip))))    ;; <- hplip, not hplip-minimal

You will likely also need to add the printer to CUPS again, because you
want to use the HP driver, not IPP.  You can do that conveniently using
the hp-setup utility that comes with hplip.  Run it with

    guix shell hplip -- hp-setup

and select "Network/Ethernet/Wireless network ..." (in the bottom left
of the window it should say "Step 1 of 3").  If you click on "Next" it
will try to find your printer automatically.  If this does not work, go
back to Step 1 of 3.  Under "Show Advanced Options" you can enter the IP
address of your printer manually.

Once hp-setup has successfully configured your printer, you should be
able to print and scan (the scanner should be found automatically by
e.g. Simple-Scan).


> So, what is the difference between
> GNU Guix and GNU Trisquel
> that I can´t scan in GNU Guix?

I believe the difference is only the network support in the hplip
package.  With this now fixed, the functionality should be equivalent.

Hope this helps!

Best,
Lukas

Reply via email to