Reply
Thread Tools
x61's Avatar
Posts: 932 | Thanked: 278 times | Joined on Sep 2009 @ Kentucky
#31
Originally Posted by filologen View Post
Ok, I think you misunderstood. You have to install easy debian from extras-devel first (please notice the risk when installing from this repository). For further instructions, se e.g.

http://talk.maemo.org/showthread.php...ht=easy+debian

Then you probably have to make some more room in the downloaded image or remove some programs from it, see e.g.

http://talk.maemo.org/showpost.php?p...1&postcount=28

Then you can run "apt-get install system-config-printer" from the chroot terminal (that means in your debian environment).

You should however probably only do this if you are somewhat familiar with the linux command line.
I stopped messing around with extra-dev progs since I had memory error message while doing so several weeks ago. Hopefully this makes its way to the main repository.
 
Posts: 519 | Thanked: 366 times | Joined on Sep 2009 @ North Carolina (Formerly Denmark and Iceland)
#32
Anything happening as far as printing on wifi/bluetooth printers is concerned?

I know of several N900 people with interest in this.

If someone is going on with this and things are going slowly is there something that could be done to help speed this up, other than putting in non-existant programming skills?

I've converted several people to N900 owners. My coworkers all use Blackberries for work, but if we can get this and MFE working, I'd have them all over to N900's in a jiffy

That's quite a few other consultants flying about with their wonderful N900's, showing them off to our clients while we do our work.

Last edited by olighak; 2010-01-17 at 18:02.
 

The Following 2 Users Say Thank You to olighak For This Useful Post:
Posts: 519 | Thanked: 366 times | Joined on Sep 2009 @ North Carolina (Formerly Denmark and Iceland)
#33
Originally Posted by filologen View Post
Ok, I think you misunderstood. You have to install easy debian from extras-devel first (please notice the risk when installing from this repository). For further instructions, se e.g.

http://talk.maemo.org/showthread.php...ht=easy+debian

Then you probably have to make some more room in the downloaded image or remove some programs from it, see e.g.

http://talk.maemo.org/showpost.php?p...1&postcount=28

Then you can run "apt-get install system-config-printer" from the chroot terminal (that means in your debian environment).

You should however probably only do this if you are somewhat familiar with the linux command line.
apt-get for this package doesn't work. It returns a "404 Not found" error for the download sites after recognizing which packages to install, which to update and which are ok.

UPDATED:
Nevermind, tonight I learned what the apt-get update command does

Last edited by olighak; 2010-01-19 at 02:12.
 
Posts: 292 | Thanked: 131 times | Joined on Dec 2009
#34
While easy-debian is interesting, I think it would be more interesting if we had cups or something running natively on Maemo 5 so that standard Maemo ports could print directly to network printers.
 

The Following 3 Users Say Thank You to soeiro For This Useful Post:
rebhana's Avatar
Posts: 579 | Thanked: 471 times | Joined on Jan 2010 @ Austria
#35
Encouraged by this account of easy-debian and its actual usefulness:

http://talk.maemo.org/showthread.php?t=41605

and the fact that easy-debian has moved up into Extras, I installed easy-debian (see also
http://wiki.maemo.org/Easy_Debian )

Easy-Debian has gimp and openoffice with printing support, but to my initial disappointment no CUPS, the Unix printing system for network printers. However, it was really easy to install on top of it (in the Debian environment, not the XTerminal, where you wouldn't find cups yet!):
Code:
sudo apt-get update
sudo apt-get install cups
sudo apt-get clean
("sudo" is superfluous when done from Debian chroot instead of a terminal within Debian LXDE)

Although a disturbingly long list of packages got installed automatically in the process, it reduced the available space for the Debian system by only 10% or so. There were also some warnings and even "fatal" errors when installing and starting cups, but it came out completely functional.

And it brought the printing (cups) support I was hoping for to openoffice. However, what I was really longing for was the possibility to print things I download in Maemo. Now, with Debian chroot I can do so rather easily, and I don't have to wait any longer for cups appearing within Maemo proper some time in the future.

So to those still waiting for cups, as I did, I can recommend doing the same. Install easy-deb-chroot and then cups within that! Postscript and pdf files downloaded on the N900 can subsequently be printed out by opening the Debian chroot terminal, so no need to start the LXDE (which I found somewhat tedious to use, despite its coolness factor).

In Debian chroot, I just do "su - user" to switch to /home/user and non-root identity. Then "lpstat -a" shows me the list of available network printers, and with "lp -d printername filename" I can send files to the chosen printer. Easy! And Debian!

In XTerminal, one can run single easy-debian commands like the above (as user) by e.g.
Code:
debbie lp -d printername /home/user/.../filename
Or if it's a word or openoffice document, "debbie ooffice" or
"debbie oowriter /home/user/.../filename" and then print out from openoffice 3 (with due patience, but much quicker than through LXDE, and for me also with correct keyboard).

I guess after my experience with packages from extras-devel that made the update to PR1.1 slightly bumpy (in fact only one package: vpnc), I now feel actually more comfortable to be able to install stuff in the Debian image and use it from there, without having to tamper with Maemo when I don't fully understand the consequences (as was the case with vpnc).

UPDATE: There is one more thing that needs to be done so that cups gets started again after one has powered down and restarted the N900:
Open Debian chroot and add a startup script for cups as follows:
Code:
echo "/etc/init.d/cups restart" >> /var/run/onfirstchroot.rc
chmod a+x /var/run/onfirstchroot.rc
If you want to do this under XTerminal, you have to instead modify or create $CHROOT/var/run/onfirstchroot.rc where $CHROOT is the Debian mountpoint. (Thanks to qole for both easy-debian and telling me about the option of startup scripts!)

UPDATE2: The above startup script is not needed when your printers are handled by another cups server in your network. In that case it's sufficient to do
Code:
apt-get install cups-client
instead of the full cups package.

Last edited by rebhana; 2010-02-21 at 21:30.
 

The Following 14 Users Say Thank You to rebhana For This Useful Post:
Posts: 1,283 | Thanked: 370 times | Joined on Sep 2009 @ South Florida
#36
Thanx Rebhana!

I said WOW when seeing http://localhost:631 on my N900!!
 
Posts: 138 | Thanked: 8 times | Joined on Dec 2009
#37
is there a guide for newbies?

sudo apt-get update
sudo apt-get install cups
sudo apt-get clean

(chroot) vi /var/run/onfirstchroot.rc
echo "/etc/init.d/cups restart"
>> /var/run/onfirstchroot.rc
chmod a+x /var/run/onfirstchroot.rc

Anyone?
 

The Following User Says Thank You to andyph666 For This Useful Post:
rebhana's Avatar
Posts: 579 | Thanked: 471 times | Joined on Jan 2010 @ Austria
#38
Originally Posted by andyph666 View Post
is there a guide for newbies?

sudo apt-get update
sudo apt-get install cups
sudo apt-get clean

(chroot) vi /var/run/onfirstchroot.rc
echo "/etc/init.d/cups restart"
>> /var/run/onfirstchroot.rc
chmod a+x /var/run/onfirstchroot.rc

Anyone?
As I said in my post, those commands have to be typed into a terminal when you have switched to the Debian environment (not the XTerminal!), i.e. either a terminal opened under Debian LXDE or Debian chroot (both can be accessed through application icons). It will be useful only, however, if you have a CUPS server in your network.
 

The Following User Says Thank You to rebhana For This Useful Post:
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#39
If you also install and configure Samba in Easy Debian, you can print to Windows printers...
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 

The Following User Says Thank You to qole For This Useful Post:
Posts: 226 | Thanked: 63 times | Joined on Sep 2009 @ Maldives
#40
As rmerren mentioned I would love to see a PDF printing option available system wide. But I am afraid the current system doesn't look like it had any plans what so ever for such a task. Easy Debian is cool for the geeks, but not a solution for the guys in the suits. At least I hope whatever native Maemo office suit with editing capability comes with a print option to PDF.
 
Reply


 
Forum Jump


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