6324 Add an `ndp' tool for manipulating the neighbors table
[illumos-gate.git] / usr / src / man / man1m / conv_lp.1m
blob8463ee775c6a29ecda81e9248e26a7a4e166deca
1 '\" te
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"
7 .SH NAME
8 conv_lp \- convert LP configuration
9 .SH SYNOPSIS
10 .LP
11 .nf
12 \fBconv_lp\fR [\fB-d\fR \fIdir\fR] [\fB-f\fR \fIfile\fR]
13 .fi
15 .SH DESCRIPTION
16 .sp
17 .LP
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.
20 .SH OPTIONS
21 .sp
22 .LP
23 The following options are supported:
24 .sp
25 .ne 2
26 .na
27 \fB\fB-d\fR\fI dir\fR\fR
28 .ad
29 .RS 11n
30 The root (`\fB / \fR') directory from which  \fBLP\fR configuration information
31 is read.   The default is root (`\fB / \fR').
32 .RE
34 .sp
35 .ne 2
36 .na
37 \fB\fB-f\fR\fI file\fR\fR
38 .ad
39 .RS 11n
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.
42 .RE
44 .SH EXAMPLES
45 .LP
46 \fBExample 1 \fRConverting  \fBLP\fR Configuration Information from the Default
47 Directory and File
48 .sp
49 .LP
50 The following example  converts  \fBLP\fR configuration information from
51 directory root (\fB/\fR) to file \fB/etc/printers.conf\fR.
53 .sp
54 .in +2
55 .nf
56 % \fBconv_lp\fR
57 .fi
58 .in -2
59 .sp
61 .LP
62 \fBExample 2 \fRConverting  \fBLP\fR Configuration Information From a Specified
63 Directory and File
64 .sp
65 .LP
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.
70 .sp
71 .in +2
72 .nf
73 % \fBconv_lp -d /export/root/client -f\e
74    /export/root/client/etc/printers.conf\fR
75 .fi
76 .in -2
77 .sp
79 .SH EXIT STATUS
80 .sp
81 .LP
82 The following exit values are returned:
83 .sp
84 .ne 2
85 .na
86 \fB\fB0\fR\fR
87 .ad
88 .RS 12n
89 Successful completion.
90 .RE
92 .sp
93 .ne 2
94 .na
95 \fBnon-zero\fR
96 .ad
97 .RS 12n
98 An error occurred.
99 .RE
101 .SH FILES
103 .ne 2
105 \fB\fB/etc/printers.conf\fR\fR
107 .RS 22n
108 System printer configuration database.
111 .SH SEE ALSO
114 \fBlpset\fR(1M), \fBprinters.conf\fR(4), \fBattributes\fR(5)