2 .\" Copyright (c) 2008, 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 PRINT-SERVICE 1M "Mar 18, 2008"
8 print-service \- select, report, import, export active print service on a
13 \fBprint-service\fR [\fB-s\fR \fIservice\fR [\fB-m\fR] | \fB-q\fR | \fB-e\fR \fIfile\fR | \fB-i\fR \fIfile\fR]
19 The \fBprint-service\fR utility manages print service selection, as well as
20 export and import of basic print queue configuration.
23 Only a user root privileges or with the Printer Management profile can change
24 the active print service or import print queue configuration.
28 The following options are supported:
32 \fB\fB-s\fR \fIservice\fR\fR
36 Select the active print service for on a host. \fIservice\fR can be one of
37 \fBlp\fR or \fBcups\fR.
47 Migrate print queue configuration during print service selection.
57 Report the active print service on a host.
63 \fB\fB-e\fR \fIfile\fR\fR
67 Export basic print queue configuration to a file.
73 \fB\fB-i\fR \fIfile\fR\fR
77 Import basic print queue configuration from a file.
82 \fBExample 1 \fRSelecting a Print Service
85 The following command selects the CUPS print service as the active print
91 # \fBprint-service -s cups\fR
97 \fBExample 2 \fRReporting the Active Print Service
100 The following command reports the active print service on a host.
105 # \fBprint-service -q\fR
111 \fBExample 3 \fRExporting a Print Queue Configuration
114 The following command exports the print queue configuration from the active
120 # \fBprint-service -e /tmp/queues\fR
126 \fBExample 4 \fRImporting a Print Queue Configuration
129 The following command imports the print queue configuration to the active print
135 # \fBprint-service -i /tmp/queues\fR
148 Successful completion.
164 See \fBattributes\fR(5) for descriptions of the following attributes:
172 ATTRIBUTE TYPE ATTRIBUTE VALUE
174 Interface Stability Obsolete
180 \fBintro\fR(1), \fBattributes\fR(5)
184 The print queue configuration saved and restored during export, import, and
185 migration is limited to queue name and device name. It is likely that further
186 configuration changes will be required before imported or migrated print queues