Forum

Full Version: How to install CUPS
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
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
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.
Many thanks.

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

Ta
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
I found the error.

Correct for a start is:

Code:
sudo service avahi-daemon start
@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 ?
Reference URL's