![]() |
Re: Printing with N900
When the packages are working for you, please vote to
get it into stable. One more vote is needed. |
Re: Printing with N900
Quote:
Quote:
The following all return "Invalid user name or password": Username: (blank) Password: (blank) Username: user Password: (blank) Username: root Password: (root password) |
Re: Printing with N900
@rotoflex - I'm at the same stage and just need to jump through the final few hoops. Have a trawl through the posts above, where some people suggested what to do abot the password problem. Also, have a look at post 31; though I haven't yet so not sure whether to incluide the leading asterisks on each line. Where did you get those instructions? I find using FAM makes life a lot easier than faffing with apt-get. I will report back when I get output from my printer (I can get CUPS to see my USB printer). In the meanwhile, good luck with getting access!
|
Re: Printing with N900
Quote:
Quote:
Since you already did the above steps, you need to just do steps 7 through 9, and in step 9, replace "start" with "restart". |
Re: Printing with N900
I didn't get it from anywhere, I'm just noting the steps as I go along. Here is the revision:
Quote:
Quote:
|
Re: Printing with N900
Ok... But really, there's no need to reboot the phone. My step 9 from above start the cups daemon, which is all you're accomplishing with the reboot (step 15) in yours. Both work, but one takes a lot longer and unnecessarily causes down time.
The bigger question is, did it work for you? :) |
Re: Printing with N900
I am still getting 403 Forbidden when I try to modify a printer.
(I had added two Samba printers on an earlier install, they are still listed in the N900, but not working from the N900 now.) Also, printer administration via localhost:631 does not ask me for a password, & I seem to recall that it did in an earlier cups install that I had working well enough to add network printers at work. I will work with it some more. |
Re: Printing with N900
My network printer (cups server broadcast) was listed. There was
no need to add a printer manually or to login. |
Re: Printing with N900
I think, for samba printers you need a ppd file.
|
Re: Printing with N900
Quote:
http://talk.maemo.org/showpost.php?p...&postcount=206 If so, in what subdirectory should I put it? |
Re: Printing with N900
Hooray! I have access. I tested it by going to Administration and clicking on the button to edit the config file (top left). I did not actually edit it but to save the config file, one has to enter the password - and at last ** It worked **. Hooray!!
|
Re: Printing with N900
What did you enter for "Username"?
user? root? lpadmin? The "lppasswd -g lpadmin -a printer" just prompts for & sets a password, not a username. |
Re: Printing with N900
With it still being in testing, I think a few instructions need to be available for tech-nervous, tech-unaware or linux-learners because it's not a wholly obviuos process and it would be great to get everyone printing, regardless of their tech/linux knowledge. It would be good to get something in the wiki asap, which I'm happy to do bu would like some proofing.
Also, because I had trouble accessing :631 so I did a dpkg --purge then reinstalled the whole lot, which I now realise was needless. However, the steps are fresh in my mind so here's my merger of notes from everyone and my experience... Installing Maemo CUPS Pre Note: (1) rootsh must be installed because there are some very simple tasks to be done in the terminal (X Terminal) that must be performed as 'root' (administrator). (2) Leafpad must be installed to view and possibly edit a text file. (3) These instructions are only to install CUPS on the N900. They are not for installing/associating printers with the device. Installation This method uses Faster Application Manager (FAM) because it circumvents the need to use apt-get thus making the process more fool-proof. There is No Line-Break in individual terminal commands - that's word-wrap making it look like there is. However, at the end of each terminal command, enter should be pressed to action that command. Please comment/edit to perfect these instructions. From a dev point of view, might it be possible to have a 'master' package that installs the three sub packages, as well as a forth that can run a script from the application menu? The role of the script would be to automate steps 6 - 10 inclusive, which could, potentially, be called from an icon in the application menu. @rotoflex - I realise that these instructions are quite similar to your apt-get ones so I hope you don't think I nicked anything! Trouble was, I couldn't comment on them directly because the guide seemed to be in quotes already. Does #6 answer your question? Also, what about stopping and restarting cupsd? |
Re: Printing with N900
Quote:
1st of all thanks for all the great work you already made. I'm stuck like malandante error at post, I mean the error about foomatic-rip ... So, my question is, do you always working on packaging the 'foomatic-filters' package ? On my side I have successfully managed to build an optified package, but installing it, failed with error : Code:
-bash-2.05b# dpkg -i foomatic-filters_3.0.2-20080211-3.2_all.deb You can download my package here : foomatic-filters_3.0.2-20080211-3.2_all.deb A++ |
Re: Printing with N900
Thought I was doing something wrong.
This is exactly where I'm up to - found a wifi printer, which my network seems to accept and thought it was all going so well ... then, yes got this foomatic thing. Does printing via BT or USB also have this problem? Edit: I see from posts 200 onwards, it might be something to do with the ppd file. I will have a look for a linux ppd for my printer. Can RAW be selected? Pretty much I have gone through the steps a couple of posts above then gone Administration > Find Printer ... and CUPS found it. When I tried to print a test page it showed the foomatic error. This must be possible because some, like 'theonelaw', seem to be printing fine. Is it printer specific or have I missed a step or two out? @colin.stephane - thanks for trying to give the foomatic a re-jig. Edit 2: The problem exists with my USB printer too. CUPS can "see" the printer but still getting foomatic problem. Again, with generic ppd file, though I don't think that's the trouble anymore. |
Re: Printing with N900
Quote:
Searching to fix the problem, I have analyzed the ppd file and find inside it the 'foomatic-rip' invocation. Then I remembered I have find the ppd on the Linux OpenPrinting site. After that it's obvious the ppd was modified by the Linux OpenPrinting organisation because if I extract ppd from the windows driver, then this one don't require the 'foomatic-rip' command. Try to manage the problem like me, and report if it work ... A++ |
Re: Printing with N900
Quote:
|
Re: Printing with N900
Quote:
Can you provide the modification you made to compile gtk with cups support please. I try to compile it on my side since the link to 'rapidshare' you provided doesn't work anymore due to inactivity d/l. A++ |
Re: Printing with N900
Quote:
Quote:
ls: Input/output error Do I need more than the correct ppd files for my printer(s)? What's in that deb file you posted? From what I can see a foomatic filter is just a ppd - am I wrong? |
Re: Printing with N900
Ignore the deb file I have tried to generate (it doesn't work like explained in my post).
Extract a 'ppd' file from windows drivers of your printer ... A++ |
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++ |
Re: Printing with N900
I will upload my packages again...
|
Re: Printing with N900
Quote:
A++ |
Re: Printing with N900
No special parameters. Only dpkg-buildpackage with libcups2-dev installed.
|
Re: Printing with N900
Quote:
A++ |
Re: Printing with N900
gtklp works without the modified gtk packages, so it doesn't
indicate correct gtk packages. |
Re: Printing with N900
Here they are:
http://www.megaupload.com/?d=Q2GXR3S6 |
Re: Printing with N900
Both my parallel and n/w printers are HP. I have downloaded HPLIP and all the Foomatic stuff to my pc.
HPLIP contains pre-prepared ppd files but the filter must be created by compiling various classes (cpp & header files). I think the eventual output is in fact a GUI interface but not totally sure. For Foomatic, everything is in xml files. A couple of c files need to be compiled to create to ppd files from the relevant xml file. The printer installs fine when using the HPLIP but I cannot print because CUPS is looking for hpcups, as listed in the ppd file from HPLIP. Do I need to compile on the device? I don't mind doing so. It's just not that user friendly. Suppose because there is only one device (N900), each driver could go into a repo once someone had created it for their printer? Any suggestions of which compiler in the sdk repo? Which way should I go about this - HPLIP or Foomatic? |
Re: Printing with N900
Quote:
- I have a CUPS server on my network gateway with a USB Epson Photo R800 printer. - No .ppd installs were necessary. I haven't confirmed with pcap, but it appears CUPS' web interface likes to 301-redirect you to whatever host on the network is advertising the printer you wish to use. Which was unexpectedly, surprisingly sensible and easy. |
Re: Printing with N900
If they're HP, unless they're plotters, they probably can do generic postscript. Just us the generic postscript PPD and you should be fine. I chose the generic PS in the setup and print just fine to an HP2200 and HP8500 with no issue (in color and b&w, with duplexer). You only need Foomatic if you're converting to something off, like PCL for a plotter, or printing to an Epson or such that doesn't know generic postscript.
|
Re: Printing with N900
Quote:
A++ |
All times are GMT. The time now is 08:11. |
vBulletin® Version 3.8.8