maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Printing with N900 (https://talk.maemo.org/showthread.php?t=56932)

narcisgarcia 2010-07-11 17:39

Re: Printing with N900
 
Quote:

lppasswd -g lpadmin -a <username>
Which username is needed to provide? In my system there are only "user" and "root", but with this command seems to create a new one because asks for a new password.

mase 2010-07-11 17:57

Re: Printing with N900
 
Try "user".

narcisgarcia 2010-07-12 08:54

Re: Printing with N900
 
Will this action create a new password for "user" ?
Will the system ask for a password on login since this point?

mase 2010-07-12 09:02

Re: Printing with N900
 
No, only a PW for the cups-systrem.

narcisgarcia 2010-07-12 09:43

Re: Printing with N900
 
Ok, works to manage settings in CUPS web interface (http://localhost:631/).

My problem now is that, when adding a new printer, in the second wizard page (Connection type, in spanish "Tipo de conexión"), there is a dropdown control without any option to select, and cannot follow with the button "Next".

Thanks

woody14619 2010-07-12 16:25

Re: Printing with N900
 
I had the same issue narcisgarcia. I wound up looking in the folder /usr/lib/cups/backend and found it empty. I also found a backend-available directory, with all the types listed, which seemed odd. So I linked things from backend-available into backend and the web GUI started working properly after that.

I figured it was because my setup was less than optimal, since I was hackishly installing things by hand with dpkg before it was all working with a simple apt-get cups :) But maybe that needs to be put into the setup script for cups, to make those links?

narcisgarcia 2010-07-13 07:21

Available backends
 
Ok, the following command worked for me, and I've now completed a printer configuration and printed successfully a test page:
Code:

ln -s /usr/lib/cups/backend-available/* /usr/lib/cups/backend/

mase 2010-07-13 15:27

Re: Printing with N900
 
I did not have to make a symlink. I could not produce this issue.

woody14619 2010-07-13 20:32

Re: Printing with N900
 
@Mase, I'm betting it's because you had pre-versions on your device. From a clean install (which I did on a friend's N900) the backend-available folder is empty, making the web page show no suitable protocols for printer URLs. After linking the files as noted above, all the protocols showed up in the web interface.

@narcisgarcia: Thanks for posting the simple one-liner to fix this issue. I mentioned it above, but having it spelled out is always good (esp for people later installing and having this issue. :) )

mase 2010-07-14 04:44

Re: Printing with N900
 
I took the sources of Debian Lenny, fixed a few dependencies and packaged them.
Which package provides the symlink?


All times are GMT. The time now is 19:34.

vBulletin® Version 3.8.8