Forum
How to install CUPS - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Additional Packages (/forum-22.html)
+--- Thread: How to install CUPS (/thread-1703.html)



How to install CUPS - kevinbowe2000 - 31st Oct, 2013 02:55 AM

Hi all,

been searching all over for a step by step guide to installing cups on xbian but unsuccessful.
Wondering if anyone has one/know where to find it?

I get all the way to editing the cupsd.conf file, but cannot find the file in the root/etc/cups folder.
Not sure why it is not there.

Any help is most appreciated.

Thanks in advance


RE: How to install CUPS - IriDium - 31st Oct, 2013 05:04 AM

We'll need a bit more information - Please read "Please read before you post" a link in in my signature.

Also, what steps you have done to install cups, how you did it, and what the output was.

Also have you searched for the config file? sudo find / |grep -i cupsd.conf


RE: How to install CUPS - mk01 - 31st Oct, 2013 11:50 AM

Last time I was checking some reports about CUPS not working with XBian I was following this guide

http://rohankapoor.com/2012/06/configuring-the-raspberry-pi-as-an-airprint-server/

it takes few minutes to install and works. of course you don't have to follow the complete guide if you don't want to share the printers via AirPrint.


RE: How to install CUPS - kevinbowe2000 - 1st Nov, 2013 11:00 AM

Many thanks.

Will give it a go and see how I get on.

Ta


RE: How to install CUPS - Eneas - 9th Feb, 2014 06:53 AM

Hello,

I also want to install AirPrint on Xbian Beta 2. I have followed the instructions in the link above, but I get an error when trying to start /etc/init.d/avahi-daemon

-bash: /etc/init.d/avahi-daemon: No such file or directory

I have installed everything as described and started cups. However, when I try
sudo apt-get install avahi-daemon
it says the package is already installed.



Terminal
sudo apt-get install --reinstall avahi-daemon
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 8 not upgraded.
Need to get 0 B/94.2 kB of archives.
After this operation, 0 B of additional disk space will be used.
Create a snapshot of '/tmp/btrfs-snap/root/@' in '/tmp/btrfs-snap/root/@btrfs-auto-snap_apt-run-2014-02-08-2258'
@btrfs-auto-snap_apt-run-2014-02-08-2258, 1 created snapshots, 0 destroyed snapshots, 0 warnings.
(Reading database ... 37367 files and directories currently installed.)
Preparing to replace avahi-daemon 0.6.31-2 (using .../avahi-daemon_0.6.31-2_armhf.deb) ...
Unpacking replacement avahi-daemon ...
Setting up avahi-daemon (0.6.31-2) ...
Processing triggers for man-db ...

also does'n fix that in /etc/init.d/ there is no avahi-daemon

What is wrong?

Help would be very grateful!

Eneas


RE: How to install CUPS - Eneas - 9th Feb, 2014 08:07 AM

I found the error.

Correct for a start is:

Code:
sudo service avahi-daemon start



RE: How to install CUPS - mk01 - 24th Mar, 2014 11:52 AM

@Eneas

avahi-daemon (among others) was moved from sysv (/etc/init.d) to upstart (/etc/init).

service avahi-daemon XX work as part of back-compatibility, native commands changes to
Code:
start/stop/reload avahi-daemon

AirPrint works as expected ?