$schemamarkup = get_post_meta(get_the_ID(), 'schemamarkup', true); if(!empty($schemamarkup)) { echo $schemamarkup; }

AirPrint Installation in Fedora 39 – Step-by-step

October 9, 2023 | By the+gnu+linux+evangelist.

Installing AirPrint

  1. 4. Installing Printer

    First, check if the Printer is correctly Installed on Desktop running:

    sudo cat /etc/cups/printers.conf

    In the Output you should find trace of the present Printer.
    Eventually see How to Install Printer in GNU/Linux Desktops

    Printer GNU/Linux Desktops Setup Guide
    CUPS Printer in System
  2. 5. Setting up Avahi

    So to Install Avahi Daemon
    First, run:

    sudo dnf install avahi

    Next to Start it play:

    sudo service avahi start

    Again to enable it at Boot:

    sudo systemctl enable avahi

    Eventually to open in Firewall the Port it listen:

    sudo ufw allow 5353/udp
  3. 6. Installing AirPrint

    Now to Install AirPrint Service on Fedora
    First, give Execution Permissions:

    chmod +x ~/Downloads/airprint-generate.py

    But if you are in Trouble to Find the Location on Terminal then See: How to Access Downloads Folder from Browser.
    Then generate the Service with:

    sudo python ~/Downloads/airprint-generate.py

    Authenticate with the User Admin Pass.
    If Got “User is Not in Sudoers file” then see: How to Enable sudo.
    Next move it into the Target Directory like:

    sudo mv ~/Downloads/AirPrint*.service /etc/avahi/services/

    Finally, in case of Issue see directly the Github Developer’s Page.

  4. 7. Editing CUPS Config

    Next Edit CUPS Configuration File
    With the nano Editor the Command is like:

    sudo nano /etc/cups/cupsd.conf

    Append:

    ServerAlias * Port 631 Listen /var/run/cups/cups.sock

    And Ctrl+x to Save & Exit from nano Editor!
    Finally, restart CUPS and Avahi:

    sudo /etc/init.d/cups restart
    sudo service avahi restart
  5. 8. Installing Network Printer

    How to Add Network Printer in GNU/Linux Desktops

    Easy Fedora Desktop Printer Wifi Setup

Contents