Innerhalb
Nach weiteren Dokumenten suchen
Support-Ressourcen
| Dieses Buch im PDF-Format herunterladen
NAME
- conv_lpd - convert LPD configuration
SYNOPSIS
-
conv_lpd [ -c printers | -c printcap ] [ -n ] file
DESCRIPTION
-
conv_lpd converts LPD printer configuration information from file to a printers.conf or a printcap file (see printers.conf(4)). file specifies the name of the input file, and can be either in printers.conf or printcap format. If file is in printers.conf format, it converts it to a printcap file. If file is in printcap format, it converts it to a printers.conf file.
OPTIONS
- The following options are supported:
-
- -c printers | -c printcap
- Specifies the type of output file produced by the conversion. -c printers converts to a printers.conf file. -c printcap converts to a printcap file. -c printers is the default.
-
- -n
- Preserves the namelist during the conversion.
OPERANDS
- The following operands are supported:
-
-
file
- The file to be converted.
EXAMPLES
- The following example converts a printcap file to a printers.conf file.
-
example% conv_lpd /etc/printcap
- The following example converts a printcap file to a printers.conf file and preserves the namelist.
-
example% conv_lpd -c printers -n /etc/printcap
- The following example converts a printers.conf file to a printcap file and preserves the namelist.
-
example% conv_lpd -c printcap -n /etc/printers.conf
EXIT STATUS
- The following exit values are returned:
-
-
0
- Successful completion.
-
- non-zero
- An error occurred.
FILES
-
-
/etc/printers.conf
- System printer configuration database.
-
-
/etc/printcap
- SunOS 4. xprinter capability database.
ATTRIBUTES
- See attributes(5) for descriptions of the following attributes:
-
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
| Availability | SUNWpcu |
SEE ALSO
-
lpset(1M), printers.conf(4), attributes(5)
|
|