xref: /illumos-gate/usr/src/cmd/hal/utils/printer.h (revision 012e6ce759c490003aed29439cc47d3d73a99ad3)
1 /*
2  * Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
3  * Use is subject to license terms.
4  *
5  * Licensed under the Academic Free License version 2.1
6  */
7 
8 #ifndef _PRINTER_H
9 #define	_PRINTER_H
10 
11 #include <libhal.h>
12 
13 extern int ieee1284_devid_to_printer_info(char *devid_string,
14 		char **manufacturer, char **model, char **description,
15 		char **class, char **serial_no, char ***command_set);
16 
17 extern int add_printer_info(LibHalChangeSet *cs, char *udi, char *manufacturer,
18 		char *model, char *serial_number, char *description,
19 		char **command_set, char *device);
20 
21 #endif /* _PRINTER_H */
22