Printer on Xubuntu: Password problem

Mitch Contla mcontla at gmail.com
Tue Oct 10 17:14:15 UTC 2006


>
> H.S.Rai wrote:

> I tired to install printer using http://127.0.0.1:631 , but it failed
> to accept username and password. After searching Internet, I used
> "lppasswd -a some_user_name, but above site did not accepted new
> username and password.
>   

Administration from the web is disabled by default in Ubuntu/Debian. To
enable, make the desired user account a member of the lpadmin group, and
add cupsys to the shadow group like this:

	sudo adduser cupsys shadow

You can read more about  this here: /usr/share/doc/cupsys/README.Debian.gz
> I tried to use command line as below, as root user, and also tried as
> cupsys user:
>
>  lpadmin -p myPlotter -E -v parallel:/dev/lp0 -m HP-DeskJet_420C-hpijs.ppd
>
> and this resulted in error that "unable to copy PPD file!"
>   
The path to the ppd is relative to /usr/share/cups/model/. On my
standard ubuntu system, the ppd you reference would be specified like this:

	sudo lpadmin -p myPlotter -E -v parallel:/dev/lp0 -m hpijs/HP/HP-DeskJet_420C-hpijs.ppd

A good command for finding the correct path to ppd is:

	lpinfo -m | grep -i modelname

Mitch




More information about the ubuntu-users mailing list