From mboxrd@z Thu Jan 1 00:00:00 1970 From: swedebugia@riseup.net Subject: Re: Setting up plug and print on GuixSD? Date: Tue, 02 Feb 2016 12:03:17 +0100 Message-ID: References: <87h9hs5ywn.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=_1417c5980b05676c91468658618f4ab4" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60652) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQYlQ-00047K-Es for help-guix@gnu.org; Tue, 02 Feb 2016 06:05:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQYlN-0006Hg-54 for help-guix@gnu.org; Tue, 02 Feb 2016 06:04:52 -0500 In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org To: ludo@gnu.org Cc: help-guix , help-guix-bounces+swedebugia=riseup.net@gnu.org --=_1417c5980b05676c91468658618f4ab4 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable On 2016-02-02 11:45, swedebugia@riseup.net wrote: > On 2016-02-01 14:43, ludo@gnu.org wrote: >> swedebugia@riseup.net skribis: >>=20 >>> I installed cups and xfce. What more do I need? >>=20 >> For printers available on the network as in a typical =E2=80=9Centerpr= ise=E2=80=9D >> setup, nothing more: the =E2=80=9Cprint=E2=80=9D dialog in Evince and = similar tools=20 >> will >> discover it and do the right thing. >>=20 >>> In >>> https://gnu.org/software/guix/manual/html_node/Services.html#Services >>> I did not find a service declaration for CUPS. >>>=20 >>> What is the next step? >>=20 >> For a locally-connected printer you=E2=80=99ll certainly need a CUPS d= aemon >> running, indeed. I=E2=80=99m not sure exactly what it takes, but it w= ould >> clearly be a worthwhile addition! >=20 > OK. I gave it a try and this is how far I got: > The manpages and documentation on cups.org is rather useless regarding > installation and formatting of the config-files. >=20 > The package installs corrupt config-files according to > $ cupsd -t > "/gnu/store/qs3xymcsgxa68i8m188261rhxsszx7za-cups-2.1.0/etc/cups/cups-f= iles.conf" > contains errors. >=20 > I have a running working installation of cups 1.7 on my trisquel 7 > machine. I tried copying the working (very similar) configs from there > which the trisquel-cupsd report as 'OK'. > =3D> It did not help and the error is not as detailed as I would like > and there is no debug option is seems. >=20 > Is there a good free non-apple-owned alternative to CUPS I could try=20 > instead? The cupsd.conf I tried is attached. I now also tried this as root and=20 testing with cupsd afterward without any succes: cp -r /gnu/store/qs3xymcsgxa68i8m188261rhxsszx7za-cups-2.1.0/var/* /var/ Maybe the error is that the socket referenced in cupsd.conf is missing: "# Only listen for connections from the local machine. Listen localhost:631 Listen /var/run/cups/cups.sock" The socket is missing in the store and from the path above. I have no=20 idea yet how to create it manually. cheers sdb --=_1417c5980b05676c91468658618f4ab4 Content-Transfer-Encoding: base64 Content-Type: text/plain; name=cupsd.conf Content-Disposition: attachment; filename=cupsd.conf; size=4373 IwojIENvbmZpZ3VyYXRpb24gZmlsZSBmb3IgdGhlIENVUFMgc2NoZWR1bGVyLiAgU2VlICJtYW4g Y3Vwc2QuY29uZiIgZm9yIGEKIyBjb21wbGV0ZSBkZXNjcmlwdGlvbiBvZiB0aGlzIGZpbGUuCiMK CiMgTG9nIGdlbmVyYWwgaW5mb3JtYXRpb24gaW4gZXJyb3JfbG9nIC0gY2hhbmdlICJ3YXJuIiB0 byAiZGVidWciCiMgZm9yIHRyb3VibGVzaG9vdGluZy4uLgpMb2dMZXZlbCB3YXJuCiNQYWdlTG9n Rm9ybWF0CgojIE9ubHkgbGlzdGVuIGZvciBjb25uZWN0aW9ucyBmcm9tIHRoZSBsb2NhbCBtYWNo aW5lLgpMaXN0ZW4gbG9jYWxob3N0OjYzMQpMaXN0ZW4gL3Zhci9ydW4vY3Vwcy9jdXBzLnNvY2sK CiMgU2hvdyBzaGFyZWQgcHJpbnRlcnMgb24gdGhlIGxvY2Fs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