![]() |
Re: Printing with N900
I'm amazed how well CUPS works these days. As soon as the packages were installed on my N900, I connected to wireless and found my server (CUPS 1.4.4, Debian squeeze) without even the slightest trouble. It just worked, without any configuration on my part outside of demolition's instructions!
lpr makes a great printer for text files and pdfs, which print exactly as I would have intended. Images are a little trickier though. I found that opening images (from either File Browser or Modest) and resizing them makes them print well enough on a single page. For US letter-size paper, setting a 2400x3000 to 40% of its original size (960x1200) will use most of the page capacity. Ideally CUPS lpr would offer to scale images down to fit on a single page, but that is an upstream feature request. Many thanks to mase and everyone who cared enough to make N900 printing work! |
Re: Printing with N900
@wumpwoast - great to hear you're printing from your N900 and you found my install guide useful. I have a couple of questions...
- have you printed from Maemo or Easy Debian? - what type of printer have you used wifi/network, usb or BT - did you need to sort out the ppd file separately, or is that what you're in awe about (no need to do anything)? |
Re: Printing with N900
Quote:
|
Re: Printing with N900
Quote:
However, I have recompiled also evince, <ctrl>-<p> inside evince give me a printing menu, but inside this menu in the selection box for a printer, there is no printer avalaible (I have successfully defined & tested 2 printers at http://localhost:631). What I have missed ? Edit : Recompiled also Leafpad, exactly same problem, printing dialog open with an empty box to select printers ... A++ |
Re: Printing with N900
With eviance there is no chance to print images, also with the desktop
version on my Debian. For leafpad and abiword you have to edit the rules file to enable printing support. It is disabled there. Also in leafpad you have to enter the printing dialog with ctrl+p. There is no menu entry. |
Re: Printing with N900
Quote:
http://bigbob.fun.free.fr/No printer...ing dialog.png Hope it help to understand my problem ... A++ |
Re: Printing with N900
First you have to rebuild and install gtk+ with installed libcups2-dev.
Only the packages libgtk... are needed. Also install it in the sdk. Then edit the rules of leafpad and / or abiword. Rebuild them with enabled printing support. That's what I did. Now I can select my printer in the printing dialog. If you don't build leafpad or abiword against the new gtk libs, printing will not work. |
Re: Printing with N900
Quote:
Under scratchbox : - I verify if cups devel files are installed. Code:
[sbox-FREMANTLE_ARMEL: ~/tmp/Building/libgtk2.0-0] > dpkg -l libcups2-dev Code:
[sbox-FREMANTLE_ARMEL: ~/tmp/Building/libgtk2.0-0] > fakeroot apt-get source libgtk2.0-0 Code:
[sbox-FREMANTLE_ARMEL: ~/tmp/Building/libgtk2.0-0/gtk+2.0-2.14.7] > cd .. Code:
[sbox-FREMANTLE_ARMEL: ~/tmp/Building/leafpad] > fakeroot apt-get source leafpad Code:
[sbox-FREMANTLE_ARMEL: ~/tmp/Building/leafpad/leafpad-0.8.17le] > cd .. Under my device : - I install the required ones. Code:
-bash-2.05b# dpkg -i libgtk2.0-0_2.14.7-1maemo34+0m5_armel.deb libgtk2.0-bin_2.14.7-1maemo34+0m5_armel.deb libgtk2.0-common_2.14.7-1maemo34+0m5_all.deb After the reboot I launch Leafpad, hit <ctrl>-<p>, and the printing dialog come without any printer available : http://bigbob.fun.free.fr/No printer...ing dialog.png I must admit, I don't really understand where I made a mistake :(... A++ |
Re: Printing with N900
That is all I did. Does lpr work? Try gtklp..
|
Re: Printing with N900
Quote:
Here, I can see my 2 printers, and select the right one, and print my pdf file ... That doesn't explain why I can't see the 2 printers in the gtk2 print dialog :confused: ... A++ |
All times are GMT. The time now is 16:46. |
vBulletin® Version 3.8.8