Step-by-step – AirPrint CentOS 7 Installation Guide

February 22, 2021 | By the+gnu+linux+evangelist | Filed in: Tutorial.

GNU/Linux CentOS 7 Installing AirPrint – Quick-Start Guide

Hi! The Tutorial Shows You Step-by-step How to Install AirPrint Service in CentOS 7.x GNU/Linux Desktop.

The AirPrint Server was devised by Apple Inc to enable an iPhone, an iPad, an iPod Touch or a Mac, to print without having to Install Drivers on the Client Device.

More and more new Printers come with Firmware to support AirPrint. In fact, it would be unusual nowadays for a Network-aware Printer not to provide AirPrint support.

Especially relevant: there are two Technologies central to the AirPrint facility on a Printer:

  • The Printer must be advertised with Bonjour broadcasting.

  • The printer must communicate with the client using the IPP Protocol.

Now the IPP Protocol is supported from most Network Printers and the Zeroconf Bonjour Avahi Linux Service implementation is available on most GNU/Linux Systems.

Moreover, Zeroconf also called Bonjour (name of Apple implementation) or Avahi (name of Linux implementation), is a set of Technologies that allow more easily communication between Computers and Network Pheripherals without Configuration.

In our case the Script will connect to a CUPS Server and for each printer configured and marked as shared will generate a .service file for Avahi that is compatible with Apple’s AirPrint announcements.

Most noteworthy: any Printer that can be configured to work with CUPS can be used.

Finally, for the PDF the Printer should Not be configured in CUPS as raw, unless the printer can natively print PDF. That is to say, CUPS needs to already be configured with a PDF Filter.

Step-by-step – AirPrint CentOS 7 Installation Guide
  1. 1. Launching Terminal App

    Open a Terminal Shell Emulator Window:
    (Press “Enter” to Execute Commands)

     - Open Terminal
  2. 2. Installing CUPS

    And to Install CUPS in CentOS Linux
    Simply run:

    sudo yum install cups cups-client cups-filters cups-ipptool
    Authenticate with the User Admin Pass.
    If Got “User is Not in Sudoers file” then see: How to Enable sudo.
  3. 3. Running CUPS

    Then to Start CUPS Service
    Execute:

    sudo service cups start

    And to Enable it at Boot:

    sudo systemctl enable cups

Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

QuickChic Theme • Powered by WordPress