Unix and Linux Discussions Tagged with detection |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
5 |
13,507 |
Programming |
|
|
|
4 |
2,439 |
Shell Programming and Scripting |
|
|
|
4 |
5,985 |
Hardware |
|
|
|
0 |
1,468 |
Shell Programming and Scripting |
|
|
|
4 |
10,763 |
Shell Programming and Scripting |
|
|
|
0 |
2,101 |
Complex Event Processing RSS News |
|
|
|
0 |
4,401 |
IT Security RSS |
|
|
|
0 |
4,008 |
Complex Event Processing RSS News |
|
|
|
0 |
2,216 |
IT Security RSS |
|
|
|
0 |
3,558 |
IT Security RSS |
|
|
|
0 |
1,579 |
Complex Event Processing RSS News |
|
|
|
1 |
4,993 |
Shell Programming and Scripting |
|
|
|
0 |
1,419 |
Complex Event Processing RSS News |
|
|
|
0 |
1,459 |
Complex Event Processing RSS News |
|
|
|
0 |
3,681 |
IP Networking |
|
|
|
0 |
15,625 |
AIX |
|
|
|
2 |
16,106 |
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,795 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,874 |
UNIX for Dummies Questions & Answers |
libprinterconf(6) Games Manual libprinterconf(6)
NAME
pconf_detect - A command-line utility for autodetecting printers in Linux
SYNOPSIS
pconf_detect -m [PPORT|NETWORK] -i <info-string>
DESCRIPTION
pconf_detect is a command-line utility for autodetecting printers from Linux. It is a simple wrapper around libprinterconf's
pconf_detect_printer() function. It currently supports two methods of autodetection: parallel port detection and network detection.
The detection type is specified with the -m option, which can be followed by one of two values: PPORT or NETWORK. Detection specific
information is passed following the -i option. For parallel port detection, this will be a comma-separated string of parallel port numbers.
For network detection, it will be some method of specifying a range of hosts or IP addresses.
The most common form is "10.203.1.2/24", indicating the IP/bitmask to scan.
Other formats include an IP range ("10.203.1.12-30"), an IP/netmask ("10.203.1.2/255.255.255.0"), a simple IP address ("10.203.1.2"), or a
host name ("myprinter.mydomain.com").
[Note: Detection of large network subnets can take a significant amount of time.]
pconf_detect will print out a set of formatted text strings, one for each 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".
EXAMPLES
PPORT example:
pconf_detect -m PPORT -i 0,1
where "0,1" is a comma-separated list of the parallel port to scan.
NETWORK example:
pconf_detect -m NETWORK -i "10.203.1.2/24"
where "10.203.1.2/24" is the IP/bitmask to scan.
SEE ALSO
libprinterconf(3)
Printerconf Docs 12 April 2000 libprinterconf(6)