Sign inSign up

geertmeersman/print-color-test

By geertmeersman

โ€ขUpdated 30 minutes ago

Generates a color PDF and prints it to a networked printer helping to keep your printer's ink flow.

Image
Message queues
Content management system
Monitoring & observability
0

3.3K

geertmeersman/print-color-test repository overview

โ ๐Ÿ–จ๏ธ Print Color Test

A Docker container that automatically generates a CMYK color test PDF and prints it weekly to a networked printer via CUPS โ€” keeping inkjet nozzles healthy.

โ Features

  • ๐ŸŽจ Generates a PDF with Cyan, Magenta, Yellow and Black color blocks
  • ๐Ÿ–จ๏ธ Prints via IPP using CUPS
  • ๐Ÿ•’ Scheduled weekly print every Friday at 11:00 AM via cron
  • ๐ŸŒ Flask web interface for status, logs and cron schedule
  • ๐Ÿ“ง Email and/or Telegram notifications on success/failure
  • ๐Ÿงช Blank PDF dry-run support

โ Tags

TagDescription
latestLatest stable release
v1.2.3Specific release version

โ Quick start

services:
  print-color-test:
    image: geertmeersman/print-color-test:latest
    container_name: print-color-test
    restart: unless-stopped
    environment:
      PRINTER_URI: ipp://10.0.0.24:631/ipp/print
      PRINTER_NAME: Canon GX7050
      PRINTER_IP: 10.0.0.24
      WEB_PORT: 80
    ports:
      - "80:80"

โ Environment variables

VariableDescription
PRINTER_URIIPP URI of the printer
PRINTER_NAMEPrinter name (used in notifications)
PRINTER_IPIP address for SNMP ink level queries
WEB_PORTFlask web interface port (default: 80)
SMTP_SERVERSMTP server for email notifications
SMTP_PORTSMTP port (default: 587)
SMTP_USERSMTP username
SMTP_PWDSMTP password
EMAIL_FROMSender email
EMAIL_TORecipient email
TELEGRAM_BOT_IDTelegram bot token
TELEGRAM_CHAT_IDTelegram chat ID

โ Screenshot

Web interface

โ Base image

python:3.13-alpine โ€” currently pinned to 3.13.17-alpine3.24

Tag summary

Content type

Image

Digest

sha256:b3a743443โ€ฆ

Size

236.3 MB

Last updated

30 minutes ago

docker pull geertmeersman/print-color-test