Sign inSign up

snorre0815/mobility-print

By snorre0815

•Updated 3 days ago

Docker Image - PaperCut MobilityPrint with CUPS print server

Image
0

6.8K

snorre0815/mobility-print repository overview

⁠PaperCut MobilityPrint together with a CUPS printserver

Run Papercut Mobilityprint in a docker container together with a CUPS printserver.

GitHub: https://github.com/snorre-k/mobility-print⁠

⁠Requirements

  • docker
  • docker-compose

⁠Available container images

  • snorre0815/mobility-print:latest - DockerHub
  • ghcr.io/snorre-k/mobility-print:latest - GHCR

⁠Build yourself

docker-compose build

⁠Running the container

The docker-compose.yml⁠ is configured to use a self built image. If you want to use prebuilt images, please adapt the image: lines. Also comment the build: line.

  • Start: docker compose up -d
  • Stop: docker-compose down

⁠CUPS setup

For Initial CUPS Setup - please follow these steps:

  • Enable host network (network_mode: host) in docker-compose.yml
  • Start container: docker-compose up -d
  • Start container Bash: docker exec -it mobilityprint bash
    • Setup AVAHI
      • apt-get update && apt-get install avahi-daemon cups-browsed
      • /etc/init.d/dbus start && /etc/init.d/avahi-daemon start
    • Set root password for CUPS admin management
      • passwd
  • Configure CUPS to find network or direct attached (not tested) printers
  • Disable host network (network_mode: host) in docker-compose.yml
  • Restart container: docker-compose up -d

If you have configured the virtual CUPS PDF printer you can enable the volume mount of /var/spool/cups-pdf/ANONYMOUS

⁠Own Certs for CUPS and MobilityPrint

Optional create the folder and then copy your cert and keyfile to the following folder:./mobility-print/cups-config/ssl. The files have to be named own.crt and own.key.

Tag summary

Content type

Image

Digest

sha256:58be97b88…

Size

138.3 MB

Last updated

3 days ago

docker pull snorre0815/mobility-print