2 .\" Copyright (c) 1996 Sun Microsystems, Inc. All Rights Reserved.
3 .\" 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.
4 .\" 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.
5 .\" 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]
6 .TH CONV_LP 1M "Sep 9, 1996"
8 conv_lp \- convert LP configuration
12 \fBconv_lp\fR [\fB-d\fR \fIdir\fR] [\fB-f\fR \fIfile\fR]
18 \fBconv_lp\fR reads \fBLP\fR printer configuration information from a
19 directory and converts it to an output file for use with print client software.
23 The following options are supported:
27 \fB\fB-d\fR\fI dir\fR\fR
30 The root (`\fB / \fR') directory from which \fBLP\fR configuration information
31 is read. The default is root (`\fB / \fR').
37 \fB\fB-f\fR\fI file\fR\fR
40 The output file to which \fBconv_lp\fR writes the converted \fBLP\fR
41 configuration information. The default is \fB/etc/printers.conf\fR.
46 \fBExample 1 \fRConverting \fBLP\fR Configuration Information from the Default
50 The following example converts \fBLP\fR configuration information from
51 directory root (\fB/\fR) to file \fB/etc/printers.conf\fR.
62 \fBExample 2 \fRConverting \fBLP\fR Configuration Information From a Specified
66 The following example converts \fBLP\fR configuration information from
67 directory \fB/export/root/client\fR to file
68 \fB/export/root/client/etc/printers.conf\fR.
73 % \fBconv_lp -d /export/root/client -f\e
74 /export/root/client/etc/printers.conf\fR
82 The following exit values are returned:
89 Successful completion.
105 \fB\fB/etc/printers.conf\fR\fR
108 System printer configuration database.
114 \fBlpset\fR(1M), \fBprinters.conf\fR(4), \fBattributes\fR(5)