diff options
Diffstat (limited to 'config.def.h')
| -rw-r--r-- | config.def.h | 21 |
1 files changed, 21 insertions, 0 deletions
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 }, +}; |
