Lines Matching refs:manufacturer

26 hrDeviceDesc_to_info(char *string, char **manufacturer, char **model,
37 rc = ieee1284_devid_to_printer_info(string, manufacturer, model,
42 *manufacturer = strdup(string);
43 if ((s = strchr(*manufacturer, ' ')) != NULL) {
114 snmp_brother_printer_info(char *hostname, char *community, char **manufacturer,
129 rc = ieee1284_devid_to_printer_info(tmp, manufacturer, model,
142 snmp_ricoh_printer_info(char *hostname, char *community, char **manufacturer,
157 rc = ieee1284_devid_to_printer_info(tmp, manufacturer, model,
170 snmp_lexmark_printer_info(char *hostname, char *community, char **manufacturer,
185 rc = ieee1284_devid_to_printer_info(tmp, manufacturer, model,
199 char **manufacturer, char **model, char **description,
224 rc = ieee1284_devid_to_printer_info(tmp, manufacturer, model,
229 if (*manufacturer == NULL)
230 *manufacturer = snmp_get_string(hostname, community,
232 if (*manufacturer == NULL)
233 *manufacturer = snmp_get_string(hostname, community,
235 if (*manufacturer == NULL)
236 *manufacturer = snmp_get_string(hostname, community,
253 if ((*manufacturer != NULL) && (*model != NULL))
260 snmp_qms_printer_info(char *hostname, char *community, char **manufacturer,
277 rc = hrDeviceDesc_to_info(tmp, manufacturer, model,
297 snmp_oki_printer_info(char *hostname, char *community, char **manufacturer,
312 rc = ieee1284_devid_to_printer_info(tmp, manufacturer, model,
325 snmp_hp_printer_info(char *hostname, char *community, char **manufacturer,
340 rc = ieee1284_devid_to_printer_info(tmp, manufacturer, model,
353 snmp_ppm_printer_info(char *hostname, char *community, char **manufacturer,
367 rc = ieee1284_devid_to_printer_info(tmp, manufacturer, model,
376 snmp_prt_printer_info(char *hostname, char *community, char **manufacturer,
390 if (*manufacturer == NULL)
391 *manufacturer = snmp_get_string(hostname, community,
400 if (*manufacturer != NULL)
408 char **manufacturer, char **model, char **description,
417 rc = hrDeviceDesc_to_info(tmp, manufacturer, model,
426 snmp_printer_info(char *hostname, char *community, char **manufacturer,
435 if (snmp_brother_printer_info(hostname, community, manufacturer, model,
438 } else if (snmp_ricoh_printer_info(hostname, community, manufacturer,
441 } else if (snmp_lexmark_printer_info(hostname, community, manufacturer,
445 manufacturer, model, description, serial_no,
448 } else if (snmp_qms_printer_info(hostname, community, manufacturer,
451 } else if (snmp_oki_printer_info(hostname, community, manufacturer,
454 } else if (snmp_hp_printer_info(hostname, community, manufacturer,
457 } else if (snmp_ppm_printer_info(hostname, community, manufacturer,
460 } else if (snmp_prt_printer_info(hostname, community, manufacturer,
464 manufacturer, model, description, serial_no,
482 char *hostname = av[i], *manufacturer = NULL, *model = NULL,
487 rc = snmp_printer_info(hostname, &manufacturer, &model,
490 printf("\tvendor = %s\n", NP(manufacturer));