Reply
Thread Tools
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.
 
Posts: 147 | Thanked: 12 times | Joined on Aug 2007 @ Washington State
#2
You should add this to the wiki.
 
debernardis's Avatar
Posts: 2,142 | Thanked: 2,054 times | Joined on Dec 2006 @ Sicily
#3
you better add
Code:
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
before ldconfig.
 
dan67sf's Avatar
Posts: 114 | Thanked: 12 times | Joined on Jul 2007 @ Somewhere, most of the time.
#4
WAY COOL! I can hardly wait to get home and try this out. I do a lot of things from xterm/command line and this will come in very handy. Again Very Good job and Thanks.
__________________
SonShine
 
penguinbait's Avatar
Posts: 3,096 | Thanked: 1,525 times | Joined on Jan 2006 @ Michigan, USA
#5
Originally Posted by debernardis View Post
you better add
Code:
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
before ldconfig.
This is a good point, and has been fixed in original post

Thanks

Last edited by penguinbait; 2007-09-27 at 20:44.
 
penguinbait's Avatar
Posts: 3,096 | Thanked: 1,525 times | Joined on Jan 2006 @ Michigan, USA
#6
Did anyone print anything yet?
 
penguinbait's Avatar
Posts: 3,096 | Thanked: 1,525 times | Joined on Jan 2006 @ Michigan, USA
#7
For those running XFCE, there is a program in the menu showing as

Image Viewer (gqview)

I just used this to print a 600dpi color picture, that came with n800, Giant_panda_China.jpg

This was printed to a Ricoh cl2000 printer, print queue was RAW, no driver installed.


This rules!!!
 
Posts: 662 | Thanked: 238 times | Joined on Jul 2007
#8
Amazing stuff PB!

Announcement has been posted at http://geekpenguin.blogspot.com/2007...0-is-here.html

Will have to test soon, probably will try with KDE
 
debernardis's Avatar
Posts: 2,142 | Thanked: 2,054 times | Joined on Dec 2006 @ Sicily
#9
Prints OK from my n800 to my samsung scx-4100 printer, connected to an ubuntu feisty box, through home wlan.

Video: http://www.youtube.com/watch?v=XfrCP_O5BQM
 
johnf's Avatar
Posts: 12 | Thanked: 0 times | Joined on Apr 2006 @ Neuchatel, Switzerland
#10
The tar option j is unknown on 770 version 3.2006.49-2.

Any ideas ? Thanks.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 08:02.