Beiträge von bobsandoval

    Hello Everyone,


    Finally I Found a trick to make CUPS + Airprint work on OMV 4


    Let me explain part of the problem I saw. On OMV 4 Python version 3.5 has the major issue.
    You have to Change de following lines on /usr/lib/python3.5/weakref.py


    Use:
    nano /usr/lib/python3.5/weakref.py



    Change line 109 to:


    def remove(wr, selfref=ref(self), _atomic_removal=_remove_dead_weakref):




    Change line 117 to:
    _atomic_removal(d, wr.key)


    Before install cups in Plugins
    I also open the port 2812 on Firewall (This helps)


    Install CUPS
    Setup your printer in Cups [omvipaddress]:631
    user: root
    password: your OMV root password


    After add your printer do a TEST.


    AirPrint (You will install service outside of plugin) Leave Airprint Option on plugin disabled
    Follow these steps on terminal as root:


    mkdir /opt/AirPrint
    cd /opt/AirPrint
    wget -O airprint-generate.py --no-check-certificate https://raw.github.com/tjfonta…ster/airprint-generate.py
    chmod +x airprint-generate.py
    ./airprint-generate.py -d /etc/avahi/services



    service cups restart
    service avahi-daemon restart


    Other issue for newbies: some printers that use foo2zjs driver for example requieres firmware file into foo2zjs/firmware folder, until you have it It will not print.