You are not logged in.

#1 2015-05-18 01:37:15

froggy
Member
Registered: 2013-11-06
Posts: 10

HP printing

Hi,

I'm an arch noob, in the process on migrating from ubuntu. It's almost complete. My current problem is the printing.

I have an HP 1606dn at 192.168.1.16 (works on Ubuntu boxes). And I'm having problem with the installation:

sudo pacman -S cups
[sudo] password for froggy: 
resolving dependencies...
looking for conflicting packages...

Packages (1) cups-2.0.2-4

Total Installed Size:  13.27 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                     [######################] 100%
(1/1) checking package integrity                   [######################] 100%
(1/1) loading package files                        [######################] 100%
(1/1) checking for file conflicts                  [######################] 100%
(1/1) checking available disk space                [######################] 100%
(1/1) installing cups                              [######################] 100%
>> If you use an HTTPS connection to CUPS, the first time you access
>> the interface it may take a very long time before the site comes up.
>> This is because the first request triggers the generation of the CUPS
>> SSL certificates which can be a very time-consuming job.
Optional dependencies for cups
    xdg-utils: xdg .desktop file support [installed]
[froggy@tadpole ~]$ sudo systemctl start cups
Failed to start cups.service: Unit cups.service failed to load: No such file or directory.
[froggy@tadpole ~]$ systemctl enable cups
Failed to execute operation: No such file or directory
[froggy@tadpole ~]$ systemctl status cups
● cups.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)

Obviously I'm missing something, but what?

Thanks

Syv

Offline

#2 2015-05-18 02:24:05

Knute
Member
From: Minot, ND
Registered: 2009-03-17
Posts: 604

Re: HP printing

It's called the drivers.

The package that you want to install is hplip.  There is a plugin and a couple other options in the aur, but hplip should get you started.


Knute

Offline

#3 2015-05-18 02:30:27

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,597

Re: HP printing

You're also blindly guessing (wrongly) at the service name. Make sure to read https://wiki.archlinux.org/index.php/CUPS

Offline

#4 2015-05-18 03:49:16

froggy
Member
Registered: 2013-11-06
Posts: 10

Re: HP printing

hp 1606dn is part of the foo2zjs according to the openprinting database

makepkg
==> Making package: foo2zjs 20150211-1 (Sun May 17 20:42:20 PDT 2015)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading foo2zjs-20150211.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1670k  100 1670k    0     0   427k      0  0:00:03  0:00:03 --:--:--  427k
  -> Found destdir-support-20140329-1.patch
  -> Found gen-fixes-20140329-1.patch
  -> Found firmware-loader-20130602-1.patch
  -> Found udev-firmware-loading-ruleset-20130601-1.patch
==> Validating source files with md5sums...
    foo2zjs-20150211.tar.gz ... FAILED
    destdir-support-20140329-1.patch ... Passed
    gen-fixes-20140329-1.patch ... Passed
    firmware-loader-20130602-1.patch ... Passed
    udev-firmware-loading-ruleset-20130601-1.patch ... Passed
==> ERROR: One or more files did not pass the validity check!

Tried it a couple of times, same results. In the AUR there is:

2015-02-16 19:31: Updated "foo2zjs-20141222.tar.gz" md5sum:

Any other source?

Thanks

Syv

Offline

#5 2015-05-18 04:02:50

Knute
Member
From: Minot, ND
Registered: 2009-03-17
Posts: 604

Re: HP printing

Have you set up cups to use your printer?
If you have the cups service running, then you can open your browser to http://localhost:631/ and set up cups that way.


Knute

Offline

#6 2015-05-19 15:26:41

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: HP printing

froggy,

There is a method for handling invalid checksums. The first thing that one should always do with AUR packages is to check all files and upstream sources to make sure that everything looks sane. If it does, remove the checksum hashes from the PKGBUILD file and run 'updpkgsums' in the directory with the PKGBUILD file. The foo* packages are known to keep the same file name upstream while changing their contents, so this is fairly common.

Offline

Board footer

Powered by FluxBB