chkprinter
static void chkprinter(const char *);
chkprinter(printer);
if (!chkprinter(printer)) {
static int chkprinter(const char *);