View Single Post
penguinbait's Avatar
Posts: 3,096 | Thanked: 1,525 times | Joined on Jan 2006 @ Michigan, USA
#1
I have compiled cups and supporting software to be able to print from the IT, here is what you get!!

cups 1.2.12
espgs 8.15.4
openldap 2.3.38
openssl 0.98e
openslp 1.2.1
jpeg 6b
libpng 1.2.20
tiff 3.8.2
zlib 1.2.3
samba 3.0.25c
(kerberos support was not installed, cups 1.2 does not support it)


100MB uncompressed, with the majority of the data in /usr/local

Cups itself is installed in /usr

INSTALLATION INSTRUCTIONS

1) DISABLE DOCPURGE
docpurge is located in /usr/sbin (/usr/sbin/docpurge) I am not really familiar with docpurge, but I do know it will delete any files located it /usr/share/doc/ and this is where cups resides. Fix by running the following:

mv /usr/sbin/docpurge /usr/sbin/docpurge-disabled

If anyone else knows how to exclude the /usr/share/doc dir from docpurge, please let me know.


2) Download Tarball 30MB
http://penguinbait.com/CUPS12.tar.bz2

or
Special Thanks to debernardis
http://www.debernardis.it/n800/CUPS12.tar.bz2

3) Open xterm or ssh session
sudo gainroot, or ssh as root
cd /
tar jxvf /path/to/CUPS12.tar.bz2

4) Update libraries

If /etc/ld.so.conf contains /usr/local/lib the run (cat /etc/ld.so.conf)

ldconfig

If /etc/ld.so.conf does not contain /usr/local/lib then run

echo "/usr/local/lib" >> /etc/ld.so.conf
ldconfig



5) Start Cups
/etc/init.d/cups start
cups will start on boot, as long as /usr/local is available during boot.

6) Open Web Browser
http://localhost:631

INFORMATION
When you make changes in cups, it wll prompt you for a USER and PASSWORD. This is the root account on the n800, (or 770 untested) (default password is rootme)

I have been able to print the cups test pages, and if you set the default printer, you can print from command line also by piping to lpr.

For example:
cat /etc/hosts | lpr

PS this has no headers, so if you want to compile apps with cups support and you need the headers, PM me, and I will send you the full tarball.


I look forward to some success stories!!! Please PM me if you have mirrors!

Last edited by penguinbait; 2007-09-27 at 20:41.