1conv_lp(1M) System Administration Commands conv_lp(1M)
2
3
4
6 conv_lp - convert LP configuration
7
9 conv_lp [-d dir] [-f file]
10
11
13 conv_lp reads LP printer configuration information from a directory
14 and converts it to an output file for use with print client software.
15
17 The following options are supported:
18
19 -d dir The root (` / ') directory from which LP configuration
20 information is read. The default is root (` / ').
21
22
23 -f file The output file to which conv_lp writes the converted LP
24 configuration information. The default is /etc/print‐
25 ers.conf.
26
27
29 Example 1 Converting LP Configuration Information from the Default
30 Directory and File
31
32
33 The following example converts LP configuration information from
34 directory root (/) to file /etc/printers.conf.
35
36
37 % conv_lp
38
39
40
41 Example 2 Converting LP Configuration Information From a Specified
42 Directory and File
43
44
45 The following example converts LP configuration information from
46 directory /export/root/client to file /export/root/client/etc/print‐
47 ers.conf.
48
49
50 % conv_lp -d /export/root/client -f\
51 /export/root/client/etc/printers.conf
52
53
54
56 The following exit values are returned:
57
58 0 Successful completion.
59
60
61 non-zero An error occurred.
62
63
65 /etc/printers.conf System printer configuration database.
66
67
69 See attributes(5) for descriptions of the following attributes:
70
71
72
73
74 ┌─────────────────────────────┬─────────────────────────────┐
75 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
76 ├─────────────────────────────┼─────────────────────────────┤
77 │Availability │SUNWpcu │
78 └─────────────────────────────┴─────────────────────────────┘
79
81 lpset(1M), printers.conf(4), attributes(5)
82
83
84
85SunOS 5.11 9 Sep 1996 conv_lp(1M)