fakeprinter

command
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 26, 2026 License: MIT Imports: 25 Imported by: 0

Documentation

Overview

Command fakeprinter runs a farm of fake printers (print/fakeprinter) from a YAML file: printers of IPP, ipps, the raw port 9100, LPD and serial lines (pseudo-terminals), and CUPS servers with classes, each of a preset kind, failing as their faults say. A page shows what they received, drawn back (print/fakeprinter/readback), and a JSON API lets tests and scripts list the jobs and inject faults.

go run ./tools/fakeprinter -config test/print/farm.yaml
open http://127.0.0.1:8650/

The printers listen on the loopback and are not advertised unless the file says so (dns-sd: true, with a host name of the farm's own).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL