Printers and Cups: How to install a printer in Ubuntu

Printers and Cups: How to install a printer in Ubuntu

Ubuntu It facilitates many things in our system as well as tasks in which, if not, we would need to have an engineering and with them can be done by up to a 15 year old boy. However, there are times, if possible, when it is convenient to know how things work in Ubuntu. Today we are going to tell you about server Cups and its operation in Ubuntu.

Cups

Cups is a print server, its name comes from Common Unix Printer System o Unix Common Printing System. It is in summary the program or subsystem in charge of controlling our printers by the computer as well as transmitting the orders and documents so that the printers work as we want.

Installation and Configuration of a printer

Talking about this system, its configuration and its installation is impossible to tell in a post, so I am going to limit myself to talking about how to configure and install a printer using this system.

Installation Cups in Ubuntu it is unnecessary since comes installed by default. If we have problems with the printer configuration or we want to operate directly with this service, what we have to do is open a blank page in our browser and type

http://localhost:631

This will open a screen like this

Printers and Cups: How to install a printer in Ubuntu

It is the main page of Cups and from there we can configure and manage everything related to printing, not only with our printer but also with printing, because it will be possible to handle printers that are on the network where our system is.

We are going to install a printer, so we go to "Add a printer”, A screen will appear asking for username and password. We are scared, it is the user of your system and its password.

Printers and Cups: How to install a printer in Ubuntu

After this, it will ask us what type of connection the printer has or will have, if it is on a network or not. By the way HPLIP es usb connection, the previous two are older connection systems than usb. In the example we have chosen HPLIP.

Printers and Cups: How to install a printer in Ubuntu

We click next and it will ask us for the physical address with examples of how the address should be. Once entered, click next and this screen appears.

We click next and it will ask us for the physical address with examples of how the address should be. Once entered, press next and this screen appears

we fill it in and next

We click next and it will ask us for the physical address with examples of how the address should be. Once entered, press next and this screen appears

This screen will appear to enter the "drivers”From the printer. The most advisable thing is to choose from the list since they are the supported drivers and that the system easily finds but we can always choose the lower option and tell the system where the driver is. After pressing next, we have the printer settings that we can modify to our liking since the printer is installed and only asks us for the settings that the printer has by default but that are not immovable.

We click next and it will ask us for the physical address with examples of how the address should be. Once entered, press next and this screen appears

And with this we will have the printer installed. If you have noticed during the installation, you will have seen moments in which several tabs appeared, especially on the home screen. They are tabs related to the configuration and administration of printers, but this is very long and from my experience, getting a printer installed correctly in the system, including a network printer, is the subject of most of the problems related to Gnu / Linux and printers. Later I will talk about the other tabs.

More information - Automated backups in Ubuntu 13.04How to automatically mount drives in Ubuntu , Wikipedia ,

Source - Preparation for Lpic-1 certification


27 comments, leave yours

Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   Ricardo said

    Thank you.

  2.   Luis said

    Thanks for the input. But I want to print a test page and it doesn't, the job is STOPPED, I have it reprinted and it holds. I have an HP lasejet CP1025nw with ubuntu 14.04, HPLIP 3.14.3. Now I have 2 installed CP1025nw printers (one from Ubuntu and the other from CUPS) physically they are the same. With none I can print. What can I do to release the jobs? as he sends them but they do not reach the printer.

    regards

  3.   hernan said

    Luis, were you able to solve the problem? the same happens to me

  4.   Luis said

    Hi Hernan,

    No, I still can't get it to print. I get a cups error, I still don't know what might be happening.
    Greetings.

  5.   hernan said

    The only solution I found so far is to print via eprint.

    1.    Luis said

      Hello,

      How did you do it? I was only able to use eprint on Windows. But it has not occurred to me how to do it in Ubuntu.

  6.   hernan said

    Luis install CUPS Cloud Print, I'll give you the link http://www.niftiestsoftware.com/cups-cloud-print/ There you choose your operating system and it gives you the instructions to install it. It is very simple. Hope this can help you. Greetings

    1.    Luis said

      Clever. But I was only able to print in black. It is advisable to have a google account for this procedure and if your printer is HP one in https://h30495.www3.hp.com/

  7.   Michael Aguirre said

    I need to install an EPSON WorkForce M105 on ubuntu. Someone help me? Thank you

  8.   tasjetsgge said

    Thank you

    *** CUPS password (printers) in browser with Live USB / CD ***

    In some minimalist distro, printers are managed graphically (only) from the web browser, from the address or URL http://localhost:631/

    This is also possible from other distros that also have the option of managing printers from the control center. But there are operations that require entering username and password (eg adding a printer). If we are running Linux from a live USB or live CD by default we do not have a live user password and putting its name and leaving the password box blank does not work.

    The solution is to create a user (with a password) and add it to the lpadmin group. This can be done from the control center graphically. Also from the terminal, with these commands (a distribution is assumed that requires sudo to be prepended so that the default live user can execute commands that require root or superuser permissions):
    sudo adduser tester
    (instead of tester you can put the desired name)
    (you will have to put a password and repeat your introduction)
    sudo adduser lpadmin tester
    (instead of tester you have to put the same name as in the previous command)

    Now it is enough to put the chosen username and password when CUPS requests them from the web browser.

    Source: http://www.elgrupoinformatico.com/contrasena-cups-impresoras-navegador-con-live-usb-t20205.html

  9.   Reuben Cornejo said

    How can I know the correct route or address of my printer

  10.   Jacks said

    Excellent your help !! Thanks!

  11.   Juan Perez said

    With ubuntu 14 I could print with canon ip2700 now it never connects even though I installed the drivers which would also not be necessary because they are already included in the installation. I do not understand anything.

  12.   Jose said

    I have a Hp 2420 printer, it prints well but when I want to print the legal-size pdfs, the printing does not fit a letter sheet. I already looked in the configurations and reinstalled the printer, selecting hplip and / or usb, with the different options of page settings but the printing did not go well ... what could I do to solve it?

  13.   ramon said

    thank you very much, it works perfectly

  14.   Carmen Moreno said

    Hello Joaquín, I really feel a bit silly because I have the Zorin 12 OS installed, which by the way I love it, it sometimes hangs, but I think that day by day it is balancing, but the problem is that I cannot install my printer. I have installed Zorin because it is very similar to windows, and I don't know anything about linux, and I want to familiarize myself, if you would be so kind as to give me the steps to install my printer, how should I do it.
    My printer is a Brother DCP-195C, yes I know it's old, but it does a great job for me. Thank you very much in advance, and please do not skip any step, because of commands and commands, I have no idea, I know something about Windows, but here you catch me as a baby. Greetings.

  15.   Canon drivers said

    Hello,

    I keep thinking that linux lacks a lot regarding the issue of installing printers, from compatibility to their installation.

    I like linux, but it takes a lot of courage to offer a normal linux user when we will have a lot of work for very simple tasks like installing a printer.

    Regards;

    Printer Drivers Team

  16.   Lidia said

    the printer HP_Deskjet_3050A_J611_series is disabled since Thu Jun 22 2017 20:08:36 WEST -
    I get this error in the terminal and I cannot print, the jobs in cups appear but it tells me that the printer is paused.

  17.   RAFAEL said

    good night I have an epson l4150 printer, apparently it is installed, but at the time of printing it does not do it correctly ... it only prints a column of characters on the left side. At times when it is installed it appears "LOOKING FOR DRIVER" but there is none for that printer model. Another detail that is observed in CUPS in printers comes out in an inactive state.

  18.   cecilia said

    Hi how are things? I was able to install my epson hl12030 but the pages are blank, do you know what could be wrong? Thank you

  19.   Jose Fuentes said

    in my case my PIXMA G1110 printer is not listed, what should I do? help

  20.   Luis Diego said

    I recommend Brother printers, where I work we use several operating systems including Linux, and with Brother models it is fully compatible, you connect and add them and the drivers are installed automatically. However, Epsons are more complicated to add.

  21.   louis goal said

    My first problem is that it does not ask me for username or password when selecting add printer

  22.   Monica Aguilera said

    He asks me for the username and password I enter the wifi and he does not go from there, he rejects me.
    What username and password should I enter?

  23.   Florence said

    Hello, I could not access the page:
    the error msg is:

    Not authorized
    Enter your username and password or root username and password to access this page. If you are using Kerberos authentication, make sure you have a valid Kerberos ticket.

    1.    mauri said

      If you are on Ubuntu or Linux systems, the username and password are what you put when the machine crashes

  24.   mauri said

    I win I tried everything to install a canon, and I get the same message. 'Cannot start the printer. Check the settings.
    Ubuntu 20.04 is better than previous versions but discourages recommending it to a common user if it is not possible to install a printer and scanner.