System Administration Commands conv_lp(1M)
NAME
conv_lp - convert LP configuration
SYNOPSIS
conv_lp [-d dir] [-f file]
DESCRIPTION
conv_lp reads LP printer configuration information from a
directory and converts it to an output file for use with print client software. OPTIONS The following options are supported:-d dir The root (` / ') directory from which LP confi-
guration information is read. The default is root (` / ').-f file The output file to which conv_lp writes the con-
verted LP configuration information. The default is /etc/printers.conf.EXAMPLES
Example 1 Converting LP Configuration Information from the Default Directory and FileThe following example converts LP configuration informa-
tion from directory root (/) to file /etc/printers.conf.% conv_lp
Example 2 Converting LP Configuration Information From a Specified Directory and File The following example converts LP configuration information from directory /export/root/client to file /export/root/client/etc/printers.conf.% conv_lp -d /export/root/client -f\
/export/root/client/etc/printers.confSunOS 5.11 Last change: 9 Sep 1996 1
System Administration Commands conv_lp(1M)
EXIT STATUS The following exit values are returned: 0 Successful completion.non-zero An error occurred.
FILES /etc/printers.conf System printer configuration database.ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:______________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_______________________________|
| Availability | print/lp/print-client-commands|
|_____________________________|_______________________________|
SEE ALSO
lpset(1M), printers.conf(4), attributes(5)SunOS 5.11 Last change: 9 Sep 1996 2