2
printer

Dear sir/madam

                           Can you  please mention the procedure to  configure and add network printer.as some commands are not working .

Thanking you
Rodney Bernard
DNAP
TIFR
MUMBAI


FOSSEE Laptop 06-05-15, 12:34 p.m. rodneybernard04

Answers:

0

Could you please give us following  details:

1) Does the printer works with Ubuntu based x86 operating systems?
2) Which commands are used to access network printer? What are the error messages?


06-05-15, 4:26 p.m. Srikant

printers works with ubuntu based os

I have used sudo apt-get install lpadmin  .The error msg is "UNABLE TO LOCATE PACKAGE LPADMIN"
I am not able to find the printer options in the netbook.Can you please suggest way to install printer.


07-05-15, 11:18 a.m. rodneybernard04

Login to add comment


1

There is no package as lpadmin. 

lpadmin command is part of cups-client package.

I recommend the following:

sudo apt-get install cups cups-client
sudo usermod -aG lpadmin student

You can now visit http://localhost:631/admin and view/edit printer settings. 

07-05-15, 4:20 p.m. Srikant


0

I have run the  "sudo apt-get install cups cups-client" command .I have got the following error message



"package cups is not available ,but is referred to by another package.
this may mean that the package is missing,has beenobsoleted,or is onlyavailablefrom another source
E:Package cups 'has no installation candidate"

07-05-15, 4:55 p.m. rodneybernard04


1

Do you have FOSSEE laptop(http://laptop.fossee.in)? 

Is it Ubuntu 14.04.1 based? 
I have verified the above commands on two of my new machines and they worked fine. 

Can you give me the output for following commands?
1) cat /etc/lsb-release
2) cat /proc/version


07-05-15, 6:07 p.m. Srikant


0

this is Fosse laptop

the command gives 
DISTRIB_ID=UBUNTU
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=TRUSTY
DISTRIB_DESCRIPTION="UBUNTU 14.02.2LTS"
Linux version 3.4.5 (srikant@gnu-linux-org) (gcc version 4.5.2 (Sourcery G++ Lite 2011.03-41) ) #1 SMP PREEMPT Fri Feb 27 19:50:43 IST 2015

Kernel 0.26.00.00 (Feb 27 2015 - 19:48:13)


08-05-15, 11:05 a.m. rodneybernard04


0

Thanks for the information.


Can you perform a sudo apt-get update ? 
And try the above mentioned steps.
The only reason I could think of now is altered /etc/apt/sources.list,some repositories are turned off which is causing missing cups error.

Please try enabling all repositories, either by modifying  /etc/apt/sources.listor through synaptic package manager.

08-05-15, 3:57 p.m. Srikant


Log-in to answer to this question.