From 2e4f91bf32659a2602d586003327082e7b95a61d Mon Sep 17 00:00:00 2001 From: Nick Date: Fri, 16 Dec 2016 05:57:43 -0500 Subject: [PATCH] Updated README --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ab0d690..3b999c9 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,15 @@ # QuadPortNick/cups-airprint -This Ubuntu-based image runs a CUPS instance that is meant as an AirPrint relay for printers that are already on the network but not AirPrint capable. I'm using it on a Synology NAS because for whatever reason the built in functionality is broken. So here we are... +This Ubuntu-based Docker image runs a CUPS instance that is meant as an AirPrint relay for printers that are already on the network but not AirPrint capable. I'm using it on a Synology NAS because for whatever reason the built in functionality is broken. So here we are... The Synology's CUPS is turned off and the local Avahi will be utilized for advertising the printers on the network. ## Setting it up + +From the Synology CLI: ~~~ +mkdir -p /volume1/docker/build +cd /volume1/docker/build +git clone https://github.com/QuadPortNick/cups-airprint docker build -t QuadPortNick/cups-airprint . mkdir -p /volume1/docker/cups-airprint @@ -17,4 +22,4 @@ Now set auto-start in the Synology DSM interface and start the container. CUPS w * CUPS doesn't like printers.conf being mounted directly as it appears to delete/recreate it with changes, so we copy it in on start and then watch for it to change to make a backup of it. * Watching for the printers.conf file changing also triggers generating the Avahi services. Thanks to @thfontaine for the script! -  \ No newline at end of file +