Unix and Linux Discussions Tagged with service |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
0 |
24,412 |
What is on Your Mind? |
|
|
|
4 |
12,369 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
5,348 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
17,213 |
Shell Programming and Scripting |
|
|
|
1 |
5,535 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
53,163 |
What is on Your Mind? |
|
|
|
6 |
3,893 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
5,902 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
6,961 |
Red Hat |
|
|
|
4 |
19,877 |
AIX |
|
|
|
6 |
3,445 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
7,519 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
1,243 |
Shell Programming and Scripting |
|
|
|
1 |
3,666 |
Solaris |
|
|
|
2 |
16,183 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
7,445 |
Shell Programming and Scripting |
|
|
|
1 |
5,320 |
UNIX for Dummies Questions & Answers |
|
|
|
6 |
23,762 |
AIX |
|
|
|
0 |
1,879 |
Complex Event Processing RSS News |
|
|
|
0 |
1,733 |
Complex Event Processing RSS News |
|
|
|
2 |
5,732 |
Solaris |
|
|
|
0 |
3,429 |
Solaris BigAdmin RSS |
|
|
|
2 |
29,148 |
SCO |
|
|
|
0 |
1,825 |
Solaris BigAdmin RSS |
|
|
|
0 |
1,391 |
Security Advisories (RSS) |
|
|
|
0 |
1,870 |
UNIX and Linux RSS News |
|
|
|
0 |
1,609 |
Solaris BigAdmin RSS |
|
|
|
9 |
12,390 |
SuSE |
|
|
|
0 |
1,574 |
Complex Event Processing RSS News |
|
|
|
0 |
1,911 |
Complex Event Processing RSS News |
|
|
|
0 |
1,918 |
Solaris BigAdmin RSS |
|
|
|
4 |
9,574 |
AIX |
|
|
|
0 |
3,588 |
Complex Event Processing RSS News |
|
|
|
0 |
1,494 |
Security Advisories (RSS) |
|
|
|
0 |
3,000 |
Solaris BigAdmin RSS |
|
|
|
4 |
9,558 |
AIX |
|
|
|
1 |
2,318 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
1,758 |
Solaris BigAdmin RSS |
|
|
|
0 |
1,585 |
Security Advisories (RSS) |
|
|
|
0 |
2,202 |
UNIX for Dummies Questions & Answers |
print-service(1M) System Administration Commands print-service(1M)
NAME
print-service - select, report, import, export active print service on a system
SYNOPSIS
print-service [-s service [-m] | -q | -e file | -i file]
DESCRIPTION
The print-service utility manages print service selection, as well as export and import of basic print queue configuration.
Only a user root privileges or with the Printer Management profile can change the active print service or import print queue configuration.
OPTIONS
The following options are supported:
-s service
Select the active print service for on a host. service can be one of lp or cups.
-m
Migrate print queue configuration during print service selection.
-q
Report the active print service on a host.
-e file
Export basic print queue configuration to a file.
-i file
Import basic print queue configuration from a file.
EXAMPLES
Example 1 Selecting a Print Service
The following command selects the CUPS print service as the active print service on a host.
# print-service -s cups
Example 2 Reporting the Active Print Service
The following command reports the active print service on a host.
# print-service -q
Example 3 Exporting a Print Queue Configuration
The following command exports the print queue configuration from the active print service.
# print-service -e /tmp/queues
Example 4 Importing a Print Queue Configuration
The following command imports the print queue configuration to the active print service.
# print-service -i /tmp/queues
EXIT STATUS
0
Successful completion.
non-zero
An error occurred.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWpcu |
+-----------------------------+-----------------------------+
|Interface Stability |Obsolete |
+-----------------------------+-----------------------------+
SEE ALSO
intro(1), attributes(5)
NOTES
The print queue configuration saved and restored during export, import, and migration is limited to queue name and device name. It is
likely that further configuration changes will be required before imported or migrated print queues become usable.
SunOS 5.11 18 Mar 2008 print-service(1M)