From 002742ad5b1fd76d539c2fb8736622e63e757f98 Mon Sep 17 00:00:00 2001 From: bryan Date: Wed, 26 Aug 2026 11:47:10 +0200 Subject: Initial commit --- config.def.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 config.def.h (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h new file mode 100644 index 0000000..c82aef7 --- /dev/null +++ b/config.def.h @@ -0,0 +1,21 @@ +/* Copy to config.h and edit. Recompile after changing printers. */ + +static const char community[] = "public"; + +enum { + LOWPCT = 5, /* percent: mark with '*' */ + CRITPCT = 3, /* percent: mark with '!' */ + TIMEOUT = 2000, /* milliseconds per attempt */ + RETRIES = 1, /* extra sends after a timeout */ + PORT = 161 +}; + +/* + * comm == NULL means use community[]. + * flags: F_XRX maps toner letters from prtMarkerSuppliesDescription + * (Xerox slots are not CMYK). Konica enterprise OIDs are queried as + * fallback on every host (noSuchInstance is not fatal). + */ +static const struct Printer printers[] = { + { "printer.domain", NULL, 0 }, +}; -- cgit v1.2.3