PrintMaster DOCS
GitHub ↗

Features Guide

Complete guide to PrintMaster’s features and capabilities.

Table of Contents


Device Discovery

PrintMaster automatically discovers printers and copiers on your network using SNMP.

How Discovery Works

  1. Port Scanning: Quick TCP scan to find devices with printer ports open (80, 443, 9100)
  2. SNMP Detection: Query each candidate to confirm it’s a printer
  3. Deep Scan: Collect detailed device information via SNMP

Discovery Methods

MethodDescriptionWhen Used
IP Range ScanScan a specified range of IP addressesManual configuration
Subnet Auto-ScanAutomatically scan local subnetsDefault behavior
Single DeviceAdd a specific printer by IPKnown devices

Supported Devices

PrintMaster supports most SNMP-enabled printers and copiers, including:

  • HP - LaserJet, OfficeJet, PageWide, DesignJet
  • Canon - imageRUNNER, imageCLASS
  • Epson - WorkForce, EcoTank
  • Brother - HL, MFC, DCP series
  • Lexmark - All network models
  • Xerox - VersaLink, AltaLink, WorkCentre
  • Ricoh - IM, MP, SP series
  • Konica Minolta - bizhub series
  • Kyocera - ECOSYS, TASKalfa
  • Sharp - MX series
  • Toshiba - e-STUDIO series

Adding Custom IP Ranges

  1. Go to Devices → IP Ranges
  2. Click Add Range
  3. Enter the range in any supported format:
    • Single: 192.168.1.100
    • Range: 192.168.1.1-254
    • CIDR: 192.168.1.0/24
  4. Optionally set a label (e.g., “Main Office”)
  5. Click Save

Discovery Settings

Fine-tune discovery behavior in Settings → Discovery:

SettingDefaultDescription
Concurrent Scans50Simultaneous SNMP queries
SNMP CommunitypublicSNMP v1/v2c community string
SNMP Timeout2000msQuery timeout per device
SNMP Retries1Retry attempts for failed queries

Device Monitoring

Open Details on an agent device card to inspect identity, asset information, and the metrics overview. Capabilities appear beneath the device name; editable values have a labeled edit button beside them. Device information uses two columns on desktop and stacks on narrow screens. All screenshots in this guide use synthetic demo data.

Consumables use the same ink-color palette in device lists and details, including light shades and specialty inks. Percentages sit beside the labels above compact bars; waste and maintenance supplies retain status-based warning colors. Matching raw supply_ aliases are shown once when their readings agree; distinct cartridges and conflicting readings remain separate. Explicit color supplies can be displayed even when a printer does not report its color capability.

Specialty ink colors with duplicate raw aliases removed and a full waste container

Missing page counters display Not collected, not zero. Device deletion requires confirmation. Dialogs support keyboard navigation, keep focus inside the active dialog, and restore focus when closed. Delayed responses from a previous device cannot replace the device currently being viewed.

Device identity, asset tag, location, and metrics overview

Collected Data

For each discovered device, PrintMaster collects:

Device Identity

  • Model name and manufacturer
  • Serial number
  • Asset tag (if configured)
  • Firmware version
  • MAC address

Page Counters

  • Total page count
  • Black & white pages
  • Color pages (if applicable)
  • Duplex pages
  • Large format pages

Supply Levels

  • Toner/ink levels (percentage)
  • Drum/imaging unit life
  • Fuser life
  • Waste toner capacity

Status Information

  • Online/offline status
  • Current errors and alerts
  • Paper tray status
  • Active jobs

Historical Data

PrintMaster stores historical metrics using a tiered retention system:

TierResolutionRetention
RawAs collected7 days
Hourly1 hour average30 days
Daily1 day average1 year
Monthly1 month averageForever

This allows you to track usage trends while keeping database size manageable.

The server’s Metrics tab brings fleet throughput and consumables history together with selectable time ranges.

In device details, Last 7 Days opens that range, limited to the history available for the device. Cartridge history retains each cartridge’s identity across snapshots and uses the same specialty-ink colors as the device cards. If metrics cannot be loaded, an unavailable message and Retry replace the chart rather than presenting old results as current or an error as empty data.

Fleet throughput and consumables history charts

Device Groups

Organize devices into groups for easier management:

  1. Go to Devices → Groups
  2. Create a new group (e.g., “Finance Department”)
  3. Add devices to the group
  4. View group-level statistics and reports

Multi-Site Management

The PrintMaster Server enables centralized management of multiple agents across different locations.

Architecture

                    ┌──────────────┐
         ┌────────▶│    Server    │◀────────┐
         │         │   (Central)  │         │
         │         └──────────────┘         │
         │                ▲                 │
         │                │                 │
    ┌────┴────┐     ┌────┴────┐      ┌────┴────┐
    │  Agent  │     │  Agent  │      │  Agent  │
    │ Site A  │     │ Site B  │      │ Site C  │
    └─────────┘     └─────────┘      └─────────┘

Agent Features

Each agent:

  • Runs independently at its site
  • Maintains its own local database
  • Uploads data to the server periodically
  • Continues working if server connectivity is lost
  • Syncs automatically when connection is restored

Server Dashboard

The server provides:

  • Fleet Overview: Aggregate statistics across all sites
  • Agent Status: Real-time health monitoring of all agents
  • Combined Device List: All devices from all sites in one view
  • Cross-Site Reports: Compare usage across locations
  • Centralized Alerts: Single pane for all site alerts

Expanded tenant, site, agent, and device hierarchy

Agent Naming

Give each agent a meaningful name for easy identification:

[server]
name = "NYC Office"

Or set via the web UI: Settings → Server Connection → Agent Name

Upload Frequency

Control how often agents send data to the server:

SettingDefaultDescription
Upload Interval5 minutesFull data sync frequency
Heartbeat Interval60 secondsStatus ping frequency

WebSocket Proxy

Access agent web UIs and printer admin pages remotely through the server.

How It Works

The server creates secure WebSocket tunnels to agents, allowing you to:

  • Access agent UIs without direct network access
  • Open printer web interfaces from anywhere
  • Manage devices behind NAT/firewalls

Using the Proxy

  1. Open the server dashboard
  2. Go to Agents
  3. Click Open UI on any agent card
  4. The agent’s web interface opens in a new tab

For device access:

  1. Go to Devices
  2. Find the device you want to access
  3. Click Open Web Interface
  4. The printer’s admin page opens through the proxy

Benefits

  • No port forwarding required: Works through existing connections
  • Transport security: An HTTPS server URL produces a WSS tunnel; an HTTP URL produces unencrypted WS. WebSocket alone does not encrypt traffic.
  • Firewall-friendly: Uses the same connection agent established

Alerts & Notifications

The Alerts tab summarizes active alerts by severity, alert categories, and recent events. Severity totals count alerts, not healthy or unhealthy devices. If a refresh fails, previously loaded data is marked stale and Retry is available; a failed request is not presented as a zero-alert fleet.

Fleet alert summary and recent events

Get notified about important events and issues.

Alert Types

AlertDescription
Device OfflinePrinter not responding to SNMP
Low / Critical TonerReported toner/ink levels below configured thresholds
Error StateDevice status messages evaluated by the device-error rule; not a dedicated paper-out rule
Agent DisconnectedServer lost contact with agent

Configuring Alerts

  1. Go to Settings → Alerts
  2. Enable/disable specific alert types
  3. Set thresholds (seeded toner defaults: warning at or below 20%, critical at or below 5%)
  4. Configure notification methods

Notification Methods

  • Email: Send alerts via email
  • Webhook: POST alerts to a URL (integrations)
  • Dashboard: Display in web UI

Alert Thresholds

RuleSeeded Default Threshold
Low toner/ink (supply_low)At or below 20%
Critical toner/ink (supply_critical)At or below 5%

These rules evaluate reported TonerLevels. The snapshot does not implement dedicated drum-life, fuser-life, waste-toner-full, or paper-out threshold alerts. Supply information shown by a printer is not evidence that an automatic alert rule exists. Seeded defaults do not overwrite customized existing rules.


Scheduled Reports

Run reports on a schedule and send the results by email, webhook, or both. Delivery was added in b609e35.

Creating a Scheduled Report

  1. Go to Alerts → Report Scheduling
  2. Click New Schedule
  3. Configure:
    • Name and Report Type (device inventory, usage, supplies, alerts, …)
    • Frequency: daily, weekly (pick a weekday), or monthly (day 1–28)
    • Time: interpreted in your browser’s timezone when the schedule is created
    • Format: CSV, JSON, or HTML for the stored result
    • Email Recipients: up to 20 addresses, comma or newline separated
    • Webhook URL: optional http/https endpoint
  4. Click Save Schedule

Each schedule gets its own report definition. Operators’ schedules are limited to their tenants; admins’ schedules cover the fleet unless a tenant is chosen through the API. The report window matches the cadence: the last 24 hours, 7 days, or 30 days.

Run Now generates and delivers immediately without changing the next scheduled time. Edit changes timing and delivery. Running a report from the reports list (an ad-hoc run) never sends email or webhooks.

Email Delivery

Each recipient receives a separate message titled PrintMaster report: <name>. The HTML body shows the summary and the first 100 rows, and the text body shows the summary. Download the full result from PrintMaster. Email requires SMTP to be configured on the Server (see Configuration).

Webhook Delivery

The Server sends a JSON POST:

{
  "event": "report.completed",
  "report_id": 12,
  "report_name": "Weekly supplies",
  "report_type": "supplies_status",
  "run_id": 345,
  "schedule_id": 7,
  "status": "completed",
  "format": "csv",
  "started_at": "2026-03-06T09:30:00Z",
  "completed_at": "2026-03-06T09:30:02Z",
  "row_count": 250,
  "summary": { "total_devices": 250 },
  "columns": ["serial", "model", "..."],
  "rows": [{ "serial": "SN001", "model": "..." }],
  "rows_truncated": true
}

rows holds at most 100 rows. rows_truncated tells you when more exist. Any 2xx response is success. Other responses and network errors are retried up to 3 attempts, 5 seconds apart.

Webhook URLs cannot target localhost, private, or link-local addresses, and redirects to such addresses are refused. Payloads are not signed yet: put a secret token in the URL and use HTTPS.

Delivery Failures

A delivery failure does not fail the report. The run stays completed, its error message starts with delivery failed:, and the Server log records each failing destination. Webhook URLs are never logged. A failed report generation still advances the schedule to its next time, so a broken report cannot retry every minute.


Scheduled Scans

Automate device discovery and data collection.

Creating a Schedule

  1. Go to Settings → Schedules
  2. Click New Schedule
  3. Configure:
    • Name: Descriptive label
    • Frequency: Hourly, daily, weekly
    • Time: When to run
    • IP Ranges: Which ranges to scan
  4. Click Save

Schedule Examples

Use CaseConfiguration
Continuous monitoringEvery 15 minutes, all ranges
Daily inventoryDaily at 6 AM, all ranges
Low-traffic scanningHourly during business hours

Manual Triggers

Run any schedule immediately:

  1. Go to Schedules
  2. Click Run Now on the desired schedule

timezone = “America/New_York”

Security Features

Authentication

ComponentAuthentication
ServerUsername/password login, session-based
AgentOptional, configurable auth modes
APIToken-based authentication

Agent Auth Modes

ModeDescription
localProtected routes require a session or loopback admin bypass when allow_local_admin=true; remote clients are not automatically admitted
serverDefers auth to central server
disabledNo authentication (unsafe on untrusted networks)

Loopback admin is decided by the TCP peer address only. Forwarding headers (X-Forwarded-For, X-Real-IP, Forwarded) never grant it. If a reverse proxy on the same host forwards a request for a non-loopback client, that request is not treated as local. Server-proxied requests are trusted only through the agent’s authenticated WebSocket tunnel. X-PrintMaster-* headers sent by network clients are removed and ignored.

TLS/HTTPS

Enable encrypted connections:

Server:

docker run -d \
   --name printmaster-server \
   -p 9443:9443 \
   -v printmaster-data:/var/lib/printmaster/server \
   -e ADMIN_PASSWORD=your-secure-password \
   -e TLS_MODE=self-signed \
   -e SERVER_HTTPS_PORT=9443 \
  ghcr.io/printmaster-org/printmaster-server:latest

Standalone HTTPS on 9443 is the default. Supported server TLS modes are self-signed, letsencrypt, and custom; custom mode uses TLS_CERT_PATH/TLS_KEY_PATH. Use trusted certificates in production. ADMIN_PASSWORD creates an absent bootstrap username at startup, not a password reset for an existing account.

Agent: Runtime web settings enable HTTPS on 8443 by default when certificates are available. Configure HTTPS and custom certificate/key paths in the agent UI’s web settings. The legacy [web].enable_tls TOML field is not the runtime HTTPS switch.

Reverse Proxy Support

PrintMaster Server can run behind a TLS-terminating or end-to-end TLS reverse proxy. See Reverse proxy setup for server settings, trusted-proxy guidance, and examples for common proxy products. These settings apply to the Server, not the Agent’s local web interface.


API integrations

PrintMaster exposes selected Server and Agent operations for integrations. Use the API reference to choose the correct host, credential type, request shape, and documented scope. The public reference is read-only and does not send requests to your fleet.