Unix and Linux Discussions Tagged with service |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
0 |
24,173 |
What is on Your Mind? |
|
|
|
4 |
12,080 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
5,199 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
17,177 |
Shell Programming and Scripting |
|
|
|
1 |
5,383 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
52,645 |
What is on Your Mind? |
|
|
|
6 |
3,790 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
5,710 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
6,771 |
Red Hat |
|
|
|
4 |
19,686 |
AIX |
|
|
|
6 |
3,312 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
7,386 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
1,240 |
Shell Programming and Scripting |
|
|
|
1 |
3,652 |
Solaris |
|
|
|
2 |
16,165 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
7,439 |
Shell Programming and Scripting |
|
|
|
1 |
5,314 |
UNIX for Dummies Questions & Answers |
|
|
|
6 |
23,686 |
AIX |
|
|
|
0 |
1,857 |
Complex Event Processing RSS News |
|
|
|
0 |
1,707 |
Complex Event Processing RSS News |
|
|
|
2 |
5,699 |
Solaris |
|
|
|
0 |
3,428 |
Solaris BigAdmin RSS |
|
|
|
2 |
29,011 |
SCO |
|
|
|
0 |
1,822 |
Solaris BigAdmin RSS |
|
|
|
0 |
1,386 |
Security Advisories (RSS) |
|
|
|
0 |
1,864 |
UNIX and Linux RSS News |
|
|
|
0 |
1,605 |
Solaris BigAdmin RSS |
|
|
|
9 |
12,189 |
SuSE |
|
|
|
0 |
1,556 |
Complex Event Processing RSS News |
|
|
|
0 |
1,886 |
Complex Event Processing RSS News |
|
|
|
0 |
1,918 |
Solaris BigAdmin RSS |
|
|
|
4 |
9,510 |
AIX |
|
|
|
0 |
3,563 |
Complex Event Processing RSS News |
|
|
|
0 |
1,491 |
Security Advisories (RSS) |
|
|
|
0 |
2,995 |
Solaris BigAdmin RSS |
|
|
|
4 |
9,482 |
AIX |
|
|
|
1 |
2,316 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
1,757 |
Solaris BigAdmin RSS |
|
|
|
0 |
1,581 |
Security Advisories (RSS) |
|
|
|
0 |
2,200 |
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)