xref: /illumos-gate/usr/src/cmd/hal/utils/printer.h (revision 8019f4e761252f7a9d2af104a4efe6419528dc21)
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