File: libprinterconf.3

package info (click to toggle)
libprinterconf 0.5-4.woody.2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 860 kB
  • ctags: 156
  • sloc: sh: 7,381; ansic: 816; cpp: 167; makefile: 83
file content (42 lines) | stat: -rw-r--r-- 1,442 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
.\" WARNING! THIS FILE WAS GENERATED AUTOMATICALLY BY c2man!
.\" DO NOT EDIT! CHANGES MADE TO THIS FILE WILL BE LOST!
.TH "libprinterconf" 3 "12 April 2000" "Printerconf Docs"
.SH "NAME"
libprinterconf \- A C library of routines for autodetecting printers
in Linux
.SH "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:

.BI "pconf_detmethod_t *pconf_get_detection_methods (int " *count );
.br
.BI "char ** pconf_detect_printer (int " dettype ", char " *detinfo );
.br
.BI "char * pconf_autodetect_pport (long int " port );

.SH "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.
.SH "SEE ALSO"
pconf_detect(6),
pconf_detect_printer(3),
.br
pconf_get_detection_methods(3),
pconf_autodetect_pport(3),
.br
pconf_read_xref_file(3),
pconf_find_xref_by_id(3)