|
|
2011-04-28
, 10:37
|
|
Posts: 560 |
Thanked: 422 times |
Joined on Mar 2011
|
#251
|
|
|
2011-04-28
, 10:47
|
|
Posts: 569 |
Thanked: 462 times |
Joined on Jul 2010
@ USA
|
#252
|
|
|
2011-04-28
, 13:39
|
|
Posts: 560 |
Thanked: 422 times |
Joined on Mar 2011
|
#253
|
Please comment/edit to perfect these instructions.If the save is permitted: Great. If not, either the password's wrong or a step got missed out. If you're completely confused by it all, just ask for help, I did!
- Open FAM and click on "Manage repositories".
- Ensure the following repositories are activated: (Extras), Extras-Testing and Nokia Applications. A green dot appears next to active catalogues.
- If these are not installed, details of how to are in the wki.
- If the SDK repository is installed and active, installation is not possible because of depenency conflicts (i.e. the app manager might try to install the SDK dependencies, instead of the correct ones in Nokia Applications).- Click on "Install applications" and select the packages called
- these all have version number 1.3.8-maemo12.
- cups,
- cups-bsd,
- cups-client,
NB. Error warnings may be generated saying that
- "mp-fremantle-generic-pr", or a similarly name package, is going to be removed. This is of no concern but look through the fora to confirm.
- "fakedebconf" is being replaced by "debconf". Again, nothing to worry about because the initial one is just a placeholder.
Procede with the installation.- Reboot device.
- Open X Terminal and type root.
- Next, type lppasswd -g lpadmin -a root and make up a password to use with the printer. It must contain at least one capital letter and one number (or it will be rejected).
NB. This command generates a password that 'root' can use to access the printer. i.e. root is now the CUPS username.- Next, type leafpad /etc/cups/cupsd.conf This opens cupsd.conf in leafpad, as "root" (file cannot be altered otherwise).
- Search for the line that starts DefaultAuthType The next term should be BasicDigest If it's not, edit cupsd.conf, save it, close leafpad and return to the terminal.
- Now, type killall cupsd
- Lastly, type cupsd and close the terminal.
- Open the browser (microB) and go to uri http://localhost:631 - this is CUPS's page.
- From the CUPS page you can add printers. To test the password, click on Administration at the top then click on the button to Edit Configuration File (under server).
- Do not actually edit the configuartion but press save.
- You will be prompted for a username and password. This is the same pair as step 6 above i.e. username is root and password is <whatever you chose>.
These instructions are to install CUPS, not a printer: that's the next step. However, I can confirm that CUPS can "see" both a wifi printer on my home network and one connected to my N900 by USB/h-e-n.
|
|
2011-04-28
, 15:44
|
|
Posts: 458 |
Thanked: 782 times |
Joined on Jan 2010
@ France
|
#254
|
-bash-2.05b# dpkg -i foomatic-filters_3.0.2-20080211-3.2_all.deb Selecting previously deselected package foomatic-filters. (Reading database ... 37820 files and directories currently installed.) Unpacking foomatic-filters (from foomatic-filters_3.0.2-20080211-3.2_all.deb) ... Setting up foomatic-filters (3.0.2-20080211-3.2) ... debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 75.) debconf: falling back to frontend: Readline /var/lib/dpkg/info/foomatic-filters.postinst: line 51: $tempfile: ambiguous redirect dpkg: error processing foomatic-filters (--install): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: foomatic-filters -bash-2.05b#
| The Following User Says Thank You to colin.stephane For This Useful Post: | ||
|
|
2011-04-28
, 15:57
|
|
Posts: 560 |
Thanked: 422 times |
Joined on Mar 2011
|
#255
|
|
|
2011-04-28
, 20:37
|
|
Posts: 458 |
Thanked: 782 times |
Joined on Jan 2010
@ France
|
#256
|
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.
|
|
2011-04-28
, 21:28
|
|
|
Posts: 1,455 |
Thanked: 3,309 times |
Joined on Dec 2009
@ Rochester, NY
|
#257
|
What did you enter for "Username"?
user? root? lpadmin?
The "lppasswd -g lpadmin -a printer" just prompts for & sets a password, not a username.
| The Following 3 Users Say Thank You to woody14619 For This Useful Post: | ||
|
|
2011-04-28
, 22:13
|
|
Posts: 458 |
Thanked: 782 times |
Joined on Jan 2010
@ France
|
#258
|
Got it!
I repackaged gtk+2.0 with printing support. I've incremented the package version
to avoid the update to the original version. You don't have to install the dev and
doc packages on the device.
http://rapidshare.com/files/448095611/gtk_2.0.tar.gz
Here is leafpad with printing support. You have to press ctrl+p to open the
printing dialog. There is no menu option to enter it.
http://rapidshare.com/files/44809682...emo2_armel.deb
|
|
2011-04-29
, 20:46
|
|
Posts: 560 |
Thanked: 422 times |
Joined on Mar 2011
|
#259
|
Uhmm.... -a means "add user". The username is the paramiter, in this case, since the line says "-a printer", the username would be printer.
Hi mase,
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++
|
|
2011-04-29
, 21:33
|
|
Posts: 458 |
Thanked: 782 times |
Joined on Jan 2010
@ France
|
#260
|
| The Following User Says Thank You to colin.stephane For This Useful Post: | ||