Unix and Linux Discussions Tagged with detection |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
5 |
13,539 |
Programming |
|
|
|
4 |
2,446 |
Shell Programming and Scripting |
|
|
|
4 |
6,007 |
Hardware |
|
|
|
0 |
1,470 |
Shell Programming and Scripting |
|
|
|
4 |
10,768 |
Shell Programming and Scripting |
|
|
|
0 |
2,103 |
Complex Event Processing RSS News |
|
|
|
0 |
4,404 |
IT Security RSS |
|
|
|
0 |
4,008 |
Complex Event Processing RSS News |
|
|
|
0 |
2,217 |
IT Security RSS |
|
|
|
0 |
3,559 |
IT Security RSS |
|
|
|
0 |
1,579 |
Complex Event Processing RSS News |
|
|
|
1 |
4,998 |
Shell Programming and Scripting |
|
|
|
0 |
1,421 |
Complex Event Processing RSS News |
|
|
|
0 |
1,461 |
Complex Event Processing RSS News |
|
|
|
0 |
3,686 |
IP Networking |
|
|
|
0 |
15,626 |
AIX |
|
|
|
2 |
16,111 |
UNIX for Advanced & Expert Users |
|
|
|
0 |
1,306 |
Complex Event Processing RSS News |
|
|
|
0 |
1,933 |
Complex Event Processing RSS News |
|
|
|
0 |
3,698 |
Complex Event Processing RSS News |
|
|
|
1 |
3,806 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,878 |
UNIX for Dummies Questions & Answers |
libprinterconf(3) Library Functions Manual libprinterconf(3)
NAME
libprinterconf - A C library of routines for autodetecting printers in Linux
SYNOPSIS
Libprinterconf is a C library for autodetecting printers from Linux.
It currently supports two methods of autodetection: parallel port detection and network detection.
The following functions are available:
pconf_detmethod_t *pconf_get_detection_methods (int *count);
char ** pconf_detect_printer (int dettype, char *detinfo);
char * pconf_autodetect_pport (long int port);
DESCRIPTION
Each of these is described in detail in its own man page. Of most interest is pconf_detect_printer(). This function will execute one of the
detection methods and return an array of character strings, each representing a single detected printer.
The actual format of these strings will depend on the detection method. For parallel port detection, the string will be in the basic form:
"port=p;model=m". For a network printer the form is: "printer=hostaddr;vendor=v;model=m".
This library is intended for use by printer detection and configuration tools.
SEE ALSO
pconf_detect(6), pconf_detect_printer(3),
pconf_get_detection_methods(3), pconf_autodetect_pport(3),
pconf_read_xref_file(3), pconf_find_xref_by_id(3)
Printerconf Docs 12 April 2000 libprinterconf(3)