Coder Social home page Coder Social logo

mobility-print's Introduction

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.

mobility-print's People

Contributors

snorre-k avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

origamiofficial

mobility-print's Issues

Mobility Print out of Date

Cannot connect to Cloud Print because the mobility print software is out of date.

2023/10/27 22:19:38 mobility-print: STDOUT|DEV: request failed [ Request=POST https://mp.cloud.papercut.com/server/v1/register status=400 Bad Request error=Registration denied. Broker URL support must be specified in registration request.Upgrade to the latest Mobility Print Server. ] {"src":"restclient.go:166"}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.