xref: /titanic_44/usr/src/man/man1m/conv_lp.1m (revision 380acbbe9da7dc2cbab5b6db169ec6968dd927fa)
te
Copyright (c) 1996 Sun Microsystems, Inc. All Rights Reserved.
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
conv_lp 1M "9 Sep 1996" "SunOS 5.11" "System Administration Commands"
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 configuration information is read. The default is root (` / ').

-f file

The output file to which conv_lp writes the converted LP configuration information. The default is /etc/printers.conf.

EXAMPLES

Example 1 Converting LP Configuration Information from the Default Directory and File

The following example converts LP configuration information 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\e 
 /export/root/client/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.

SEE ALSO

lpset(1M), printers.conf(4), attributes(5)