xref: /titanic_51/usr/src/cmd/hal/utils/printer.h (revision 1e49577a7fcde812700ded04431b49d67cc57d6d)
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 #pragma ident	"%Z%%M%	%I%	%E% SMI"
9 
10 #ifndef _PRINTER_H
11 #define	_PRINTER_H
12 
13 #include <libhal.h>
14 
15 extern int ieee1284_devid_to_printer_info(char *devid_string,
16 		char **manufacturer, char **model, char **description,
17 		char **class, char **serial_no, char ***command_set);
18 
19 extern int add_printer_info(LibHalChangeSet *cs, char *udi, char *manufacturer,
20 		char *model, char *serial_number, char *description,
21 		char **command_set, char *device);
22 
23 #endif /* _PRINTER_H */
24