Share printer over the network via CUPS on Ubuntu

Often you need to share the printer on the network to be able to use it from any device connected to our WIFI network, all this is possible by creating a print server quickly and easily, let's see how:

PREMISE:

the initial configuration I will use for this guide is as follows:

  • USB printer correctly connected and configured to a PC with Ubuntu operating system

the home network  (composed of all devices connected to the router) is the following:

  • 2 Mobile PCs with Windows 7 operating system
  • 2 Desktop PC with Ubuntu operating system
  • 1 netbook with Linux Mint operating system
  • 5 Android devices

we will use how CUPS print server already pre-installed on Ubuntu, which will process print requests from network devices and send them to the printer.

Cups must be installed on the PC to which the printer is physically connected, to configure it correctly:

  • through the browser we open the following url: http: // localhost: 631 /

we will meet again on the configuration page of CUPS, enter "Administration"

Home of CUPS

if it is not present, we add the printer already configured locally on ubuntu using the "add printer" button: we will be asked to log in (we use the same credentials used to access Ubuntu), once logged in we choose the name of the printer.

add printer

be sure to check in the server settings "Share printers connected to the system" e "Allow printing from the internet"

server settings cups

now the printer is shared and accessible from the network.

WE GO NOW TO THE CONFIGURATION OF NETWORK DEVICES:

network devices will print using the IPP protocol; to correctly configure the network printer on the Linux operating system proceed in this way (I will use Linux Mint but the procedure is very similar for the various linux distributions)

  • let's go to Menu -> Print and click on add printer
  • in the next window we select "network printer" and below select IPP protocol
  • we fill in the host field with the IP address of the PC to which the printer is physically connected (make the IP address static if you do not want to reconfigure the print server at each PC restart)
  • in the queue field we insert the name of the printer as it appears in the PC to which it is connected (paying attention to the letters Capital letter e lower case
  • )add printer
  • click on next and in the next window select the model of our printer, if it is not present select any printer, this step is irrelevant, because we will not use the linux printer driver mint but CUPS will take care of it autonomously, taking advantage of the drivers already installed on the PC acting as Host.

In case you have other Linux distributions without this identical screen, you can enter the complete URL:

ipp: // IP-address-host: 631 / printers / printer-name

the configuration is finished.

WE PROCEED TO CONFIGURE THE NETWORK DEVICES WITH WINDOWS:

  • Start -> Devices and Printers
  • select "Add Printer" e "Add network printer"
  • we interrupt the automatic search and click "The printer is not on this list" and click on "next"
  • in the next window "Select a printer by name" and in the field below fill in as follows:

http://indirizzo-IP-Host:631/printers/nome-della-stampante

  • click on next and in the next window select the model of our printer, if it is not present select any printer, this step is irrelevant, because we will not use the windows printer drivers but CUPS will take care of them autonomously.

the configuration is finished.

TO CONFIGURE ANDROID DEVICES I REMOVE YOU FROM THE GUIDE ON THE SERVICE Cloudprint.

 

Receive the latest posts by email

Enter the email and choose the inscriptions on the new page

tags:

InTheBit.it
Added devices
  • Compare Smartphone (0)
  • Compare Notebook (0)
Compare