Linux / UNIX: Administer The Printer From a Web Browser

Q. How do I administer the printer configured under Linux file and printer server from a web browser?

A. Most modern Linux / UNIX system uses CUPS, which provides a portable printing layer for UNIX-based operating systems. It is developed and maintained by Apple Inc. to promote a standard printing solution. CUPS is the standard printing system used on MacOS X and most Linux distributions.

ADVERTISEMENTS

CUPS uses the Internet Printing Protocol (“IPP”) as the basis for managing print jobs and queues and adds network printer browsing and PostScript Printer Description (“PPD”) based printing options to support real-world printing.

Open your web browser and type the following url:
http://localhost:631
631 is default TCP port used by CUPS system. If you are asked for a username and password, enter your login username and password or the “root” username and password. Once opened click on ‘Printer’ tab to view and modify current printer properties.

Fig.01: CUPS printer Administer Web Interface

Fig.01: CUPS printer Administer Web Interface

You can also access this interface from remote computer by typing the server IP address. If printer server IP address is 192.168.1.100, enter:
http://192.168.1.100:631/

You can easily manage following tasks without touching a shell prompt:

  • Manage printer
  • Delete printing jobs
  • Manage printing jobs / queues
  • Print test page
  • Move all jobs to other printer
  • Cancel all jobs
  • Set printer options
  • Add printer
  • Modify printer configuration and much more
🐧 Get the latest tutorials on SysAdmin, Linux/Unix, Open Source/DevOps topics:
CategoryList of Unix and Linux commands
File Managementcat
FirewallCentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network Utilitiesdig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNCentOS 8 Debian 10 Firewall Ubuntu 20.04

ADVERTISEMENTS
0 comments… add one

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre>, <code>...</code> and <kbd>...</kbd> for code samples.