Skip to content
This repository was archived by the owner on Dec 15, 2023. It is now read-only.

mnbf9rca/cups-google-print

Folders and files

NameName
Last commit message
Last commit date

Latest commit

95a8458 · Jan 2, 2017

History

44 Commits
Jan 1, 2017
Sep 18, 2016
Jan 2, 2017
Sep 18, 2016
Sep 18, 2016
Sep 18, 2016
Sep 18, 2016
Sep 18, 2016
Sep 18, 2016
Sep 18, 2016
Sep 19, 2016
Sep 19, 2016
Jan 2, 2017
Sep 18, 2016

Repository files navigation

cups-google-print

Please log issues on GitHub (https://github.com/mnbf9rca/cups-google-print), not here...

Docker container with CUPS, Apple AirPrint and Google Cloud Print.

At the moment it seems to be working. Only Google Local Print is supported until I can figure out how to allow users to generate config for GCP. If you have a config file, you can store this in the root of your config folder as gcp-cups-connector.config.json and it'll automatically be used.

Usage

  • Configure mappings:
Type Container Client
Path /dev /dev
Path /avahi /etc/avahi/services
Path /var/run/dbus /var/run/dbus
Path /config wherever you want CUPS config stored
Port 631 631
Variable CUPS_USER_ADMIN admin (or whatever you want - for logging in to CUPS)
Variable CUPS_USER_PASSWORD pass (or whatever you want)
  • Other requirements
    • Host networking (--net="host") appears to be needed for GCP and Avahi to work
    • privileged (--privileged="true") appears to be needed

Typical startup command might be: '''docker run -d --name="cups-google-print" --net="host" --privileged="true" -e TZ="UTC" -e HOST_OS="unRAID" -e "CUPS_USER_ADMIN"="admin" -e "CUPS_USER_PASSWORD"="pass" -e "TCP_PORT_631"="631" -v "/mnt/user/appdata/cups-google-print":"/config":rw -v /dev:/dev -v /etc/avahi/services:/avahi -v /var/run/dbus:/var/run/dbus mnbf9rca/cups-google-print'''

About

a CUPS printer with Google Cloud Print enabled

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published