summaryrefslogtreecommitdiff
path: root/config.def.h
blob: c82aef7e9ab7523ff2f60b96fa44e40be8f90c19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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 },
};