Sign inSign up

trefex/cups-syno-hl3070cw

By trefex

•Updated almost 6 years ago

Image
0

844

trefex/cups-syno-hl3070cw repository overview

⁠trefex/cups-syno-hl3070cw

CUPS Synology container with driver for Brother HL-3070CW pre-installed based on quadportnick/cups-airprint. This CentOS 7 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.

Note: This works only on Synology DSM NAS devices, as we use the avahi daemon from the NAS.

⁠Prereqs

  • No other printers should be shared under Control Panel>External Devices>Printer so that the DSM's CUPS is not running.
  • Enable Bonjour service discovery needs to be marked under Control Panel>Network>DSM Settings

⁠Configuration

⁠Volumes:
  • /config: where the persistent printer configs will be stored
  • /services: where the Avahi service files will be generated
⁠Variables:
  • CUPSADMIN: the CUPS admin user you want created
  • CUPSPASSWORD: the password for the CUPS admin user
⁠Network:
  • Use Host network.
⁠Ports:
  • 631: the TCP port for CUPS must be exposed

⁠Using

CUPS will be configurable at http://[diskstation]:631 using the CUPSADMIN/CUPSPASSWORD when you do something administrative.

If the /services volume isn't mapping to /etc/avahi/services then you will have to manually copy the .service files to that path at the command line.

⁠Notes

  • CUPS doesn't write out printers.conf immediately when making changes even though they're live in CUPS. Therefore it will take a few moments before the services files update
  • Don't stop the container immediately if you intend to have a persistent configuration for this same reason

Tag summary

Content type

Image

Digest

Size

297.2 MB

Last updated

almost 6 years ago

docker pull trefex/cups-syno-hl3070cw