{"id":21461513,"url":"https://github.com/zix99/virtual-cups-printer","last_synced_at":"2026-01-04T04:33:04.808Z","repository":{"id":196400774,"uuid":"636482895","full_name":"zix99/virtual-cups-printer","owner":"zix99","description":"Virtual cupsd printer that will expose a postscript printer via avahi and output anything printed to it to a pdf","archived":false,"fork":false,"pushed_at":"2024-12-18T20:13:17.000Z","size":7,"stargazers_count":13,"open_issues_count":1,"forks_count":8,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-23T14:27:59.781Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zix99.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-05T00:29:30.000Z","updated_at":"2025-01-22T06:40:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"86c8122e-637a-4dc4-bffa-723749acf3e4","html_url":"https://github.com/zix99/virtual-cups-printer","commit_stats":null,"previous_names":["zix99/virtual-cups-printer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zix99%2Fvirtual-cups-printer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zix99%2Fvirtual-cups-printer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zix99%2Fvirtual-cups-printer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zix99%2Fvirtual-cups-printer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zix99","download_url":"https://codeload.github.com/zix99/virtual-cups-printer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243976502,"owners_count":20377692,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-23T07:09:30.030Z","updated_at":"2026-01-04T04:33:04.779Z","avatar_url":"https://github.com/zix99.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cups/paperless-printer Docker Container\n\nThis docker file will create a virtual printer in cupsd that will output to `/mnt/output`. This will allow printing\nfrom a network postcript printer that will output a pdf to a volume or mount. You can change the output path in `cups-pdf.conf`\n\nOne possible use of this is in conjunection with a [paperless-ngx](https://github.com/paperless-ngx/paperless-ngx) consume directory\nto read pdf's.\n\n## Install\n\nSee `docker-compose.yml` for example. Names and targets can be parameterized via variables\n\nThe http/print server will listen on port `631`. The default username/password is print/print, and can be changed in the `Dockerfile`\n\n## Avahi (Optional, but recommended)\n\nIn order to make the printer discoverable, avahi needs to be set up.  For it to work correctly on the network, it should share the network space\nwith its own IP.  There are two ways to do this: either by using the `host` network, or by assigning it a static IP in non-dhcp space via `macvlan`.\n\nIf you plan on running more than 1 instance/printer, you'll need to use `macvlan`\n\n### Host Network\n\nUncomment `network_mode: host` in the `docker-compose.yml` file and comment out the `network` section.\n\n### Macvlan\n\nDocker-compose setup, for example in `192.168.0.0/24` space.\n\n```yaml\nnetwork:\n  vlan:\n    driver: macvlan\n    driver_opts:\n      parent: eth0 #Update as necessary\n    ipam:\n      config:\n        - subnet: \"192.168.0.0/24\"\n          ip_range: \"192.168.0.200/32\"\n          gateway: \"192.168.0.1\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzix99%2Fvirtual-cups-printer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzix99%2Fvirtual-cups-printer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzix99%2Fvirtual-cups-printer/lists"}