Specifications

Chapter 10 Working with the Print Service 169
Performing Print Service Tasks
To perform print service tasks, use the serveradmin tool and commands that interact
with CUPS.
Starting and Stopping Print Service
To start Print service:
$ sudo serveradmin start print
To stop Print service:
$ sudo serveradmin stop print
Viewing the Status of Print Service
To see summary status of Print service:
$ sudo serveradmin status print
To see detailed status of Print service:
$ sudo serveradmin fullstatus print
Viewing Print Service Settings
To view a setting:
$ sudo serveradmin settings print:
setting
To view a group of settings:
You can view a group of settings that have part of their names in common by entering
as much of the name as you want, stopping at a colon (:), and entering an asterisk (*)
as a wildcard for the remaining parts of the name. For example, to see all settings for a
particular print queue:
$ sudo serveradmin settings print:queuesArray:_array_id:
queue-id
:*
To list all settings:
$ sudo serveradmin settings print
Changing Print Service Settings
To change a setting:
$ sudo serveradmin settings print:
setting
=
value
Parameter Description
queue-id
CUPS queue ID (for example, <id> or _192_216_3_45).
Parameter Description
setting
A print service setting. To see a list of available settings, enter
$ sudo serveradmin settings print
or see “Available Print Service Settings on page 170.
value
An appropriate value for the setting.