View Single Post
mase's Avatar
Posts: 355 | Thanked: 205 times | Joined on Jun 2010 @ Germany
#1
Hi!
I got cups-client compiled for the N900. I was able to print via a network
printer. That are just the original Debian package sources compiled
for Maemo.
I have uploaded the required packages to rapidshare. The rest of the
dependencies is available by the extras-devel repository. However there is
no application for the N900, which supports printing, so you have to use
the lp command. You also need lpadmin to add a network printer. A ppd
is required. I used Generic-PostScript_Level_1_Printer-Postscript1.ppd.
It is still highly experimental. Maybe someone can host these packages.
It was a hard way to these packages, because there were many
dependencies. But at the end, there are only 6 packages outside the
repos to install.
Here' s the link:
http://rapidshare.com/files/40201754...o.tar.bz2.html
Create a file /etc/cups/client.conf with the following entry:
Code:
ServerName <your-server-name>
Then /etc/cups/lpotions with:
Code:
Default <queue-name>
Then use the following command to add a printer:
Code:
lpadmin -p ps -v socket://192.168.1.0:9100/ -P /usr/share/cups/model/Generic-PostScript_Level_1_Printer-Postscript1.ppd -E
Replace socket... by the URI shown in the cups webinterface.
Be sure to copy the ppd file to the right path. Maybe you can use
some other ppd file.
Now you are able to print with
Code:
lp <filename>
Give it a try!
__________________
May the force be with us!

Last edited by mase; 2010-06-23 at 15:20.
 

The Following 50 Users Say Thank You to mase For This Useful Post: