maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   HOWTO - Printing From the Internet tablet to Network Printers (https://talk.maemo.org/showthread.php?t=10057)

debernardis 2007-09-28 09:11

Re: HOWTO - Printing From the Internet tablet to Network Printers
 
Quote:

Originally Posted by johnf (Post 78182)
The tar option j is unknown on 770 version 3.2006.49-2.

Any ideas ? Thanks.

Get gnu tar as described in http://maemo.org/community/wiki/howt...from_mmc_card/

Copying the relevant info from that page (remember you have to be root):

Code:

The following command will generate dire warnings and prompts, requiring you to type YES. However, -d tells apt-get to only download the package and not install it, so it's safe to ignore those warnings and type YES..

# apt-get -d install tar
# cd /var/cache/apt/archives/
# mkdir /tar-temp/
# dpkg -x tar*.deb /tar-temp/

So the command to unpack the cups archive will be
Code:

/tar-temp/bin/tar jxvf /path/to/CUPS12.tar.bz2

penguinbait 2007-09-28 13:32

Re: HOWTO - Printing From the Internet tablet to Network Printers
 
Nice video, I like the beard :)

Was that abiword?

Have you tried XFCE, you can print pictures from gqview, (Image Viewer), very nice!!

Again great video, PRINTING IS A REALITY, now we just need more apps supporting this.

Mara 2007-09-28 19:05

Re: HOWTO - Printing From the Internet tablet to Network Printers
 
Quote:

Originally Posted by penguinbait (Post 78222)
now we just need more apps supporting this.

The most logical/critical one I can think is the web browser... The second important ones are PDF-viewer and Image viewer.

penguinbait 2007-09-29 05:15

Re: HOWTO - Printing From the Internet tablet to Network Printers
 
Anyone using XFCE and wanting to print pdf files


http://penguinbait.com/epdfview.gz

this is a single executable to replace the file in /usr/local/bin

this will add the printing option in epdfview


gunzip epdfview.gz
rm /usr/local/bin/epdfview
mv epdfview /usr/local/bin

hczim 2007-10-01 12:49

Re: HOWTO - Printing From the Internet tablet to Network Printers
 
Quote:

Originally Posted by penguinbait (Post 78033)
If anyone else knows how to exclude the /usr/share/doc dir from docpurge, please let me know.

Even more selective - stick with docpurge's current behavior except for CUPS directories:

Open /usr/sbin/docpurge with your favorite text editor (vi, nano, ...). Find the part near its end which reads:
Code:

# Real hackers don't read docs.
rm -rf /usr/share/doc/* /usr/share/man/* /usr/share/info/*

and replace it by:

Code:

# Real hackers don't read docs.  But let CUPS survive them:
for dir in /usr/share/doc/* /usr/share/man/* /usr/share/info/*; do
        case "$dir" in
                /usr/share/doc/*cups*) ;;
                *) rm -rf "$dir";;
        esac
done


penguinbait 2007-10-01 18:49

Re: HOWTO - Printing From the Internet tablet to Network Printers
 
Quote:

Originally Posted by hczim (Post 78785)
Even more selective - stick with docpurge's current behavior except for CUPS directories:

Open /usr/sbin/docpurge with your favorite text editor (vi, nano, ...). Find the part near its end which reads:
Code:

# Real hackers don't read docs.
rm -rf /usr/share/doc/* /usr/share/man/* /usr/share/info/*

and replace it by:

Code:

# Real hackers don't read docs.  But let CUPS survive them:
for dir in /usr/share/doc/* /usr/share/man/* /usr/share/info/*; do
        case "$dir" in
                /usr/share/doc/*cups*) ;;
                *) rm -rf "$dir";;
        esac
done


great job, I just assumed it was a binary....

debernardis 2007-10-01 20:47

Re: HOWTO - Printing From the Internet tablet to Network Printers
 
I've done a deb file of the .tar.gz - it's experimental in the sense it's the first deb I've ever done and might screw up your tablet and your mind :-)
However seems to work for me.
http://www.debernardis.it/n800/cups12_armel.deb
After you install it you have to setup ld.so.conf and issue ldconfig and start the cups daemon as described in the first post of this thread... maybe I should code that inside the deb, but I'm mostly lazy

zerojay 2007-10-01 20:48

Re: HOWTO - Printing From the Internet tablet to Network Printers
 
I'm not sure if this is something new or not, but I noticed bluez-cups listed in red pill mode... a bluetooth printer driver for CUPS.

penguinbait 2007-10-02 18:33

Re: HOWTO - Printing From the Internet tablet to Network Printers
 
Quote:

Originally Posted by debernardis (Post 78940)
I've done a deb file of the .tar.gz - it's experimental in the sense it's the first deb I've ever done and might screw up your tablet and your mind :-)
However seems to work for me.
http://www.debernardis.it/n800/cups12_armel.deb
After you install it you have to setup ld.so.conf and issue ldconfig and start the cups daemon as described in the first post of this thread... maybe I should code that inside the deb, but I'm mostly lazy



I too am lazy, nice job on the deb!!!!

klohmann 2007-10-03 00:20

Re: HOWTO - Printing From the Internet tablet to Network Printers
 
Hey Guys and Gals:

I just loaded this (no big deal, but I did first try the .deb and it didn't work), so I went back to the original instructions. No errors, and fired up my old trusty version of Abiword 2.2.7 (2.4.6 basically doesn't run on the 800, and also doesn't support printing, I believe) and voila!

This is truly great work! Thanks everybody, for another step forward!!!

K.

K.

K.


All times are GMT. The time now is 15:49.

vBulletin® Version 3.8.8