Query: print-service
OS: opensolaris
Section: 1m
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
print-service(1M) System Administration Commands print-service(1M)NAMEprint-service - select, report, import, export active print service on a systemSYNOPSISprint-service [-s service [-m] | -q | -e file | -i file]DESCRIPTIONThe 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.OPTIONSThe 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.EXAMPLESExample 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/queuesEXIT STATUS0 Successful completion. non-zero An error occurred.ATTRIBUTESSee attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWpcu | +-----------------------------+-----------------------------+ |Interface Stability |Obsolete | +-----------------------------+-----------------------------+SEE ALSOintro(1), attributes(5)NOTESThe 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)
Related Man Pages |
---|
lpsched(1m) - redhat |
lpsched(1m) - opendarwin |
lpsched(1m) - php |
lpsched(1m) - v7 |
lpsched(1m) - xfree86 |
Similar Topics in the Unix Linux Community |
---|
how to print 35th line from a file ? |
Grep & print |
how to print field n of line m |
Print to file |
Adding of two column values |