Specifications
3-344
Cisco Wide Area Application Services Command Reference
OL-11817-01
Chapter 3 CLI Commands
(config) print-services
From the WAAS CLI, you can start and stop WAAS print services, configure a print services
administrative group, and debug the print spooler. WAAS print services provide an alternative to
Windows print services.
Starting and Stopping Print Services
When the print-services enable command is executed, the following sequence of events occurs:
• The node manager starts the CUPS process (cupsd), checking every second for an updated
timestamp in the printcap file.
CUPS must start within 30 seconds or print services are not enabled, and a “CUPS fails to start”
message is logged by the node manager.
• The node manager starts the Samba process (smbd).
If Samba could not be started, a “Samba fails to start” message is logged by the node manager. CUPS
is not stopped.
• Success messages are logged by the node manager.
• The DataServer value (cfg/print-services/enable) is set to one.
Stopping print services is accomplished using the no print-services enable command. Entering this
command causes the following sequence of events:
• The node manager stops the Samba process (smbd).
• The node manager stops the CUPS process (cupsd).
• The corresponding DataServer value is set to zero.
Configuring the Print Services Administrative Group
You can define a set of administrators to have control over WAAS print services on a particular
Edge
WAE using the print-services admin-group command. When this command is entered, the
following events occur:
• The smb.conf file is updated with the specified administrative group.
If the update fails, and the print services administrative group can be returned to its original value,
the error message “Failed to configure print-services admin group” is displayed. If the update fails,
and the print services administrative group cannot be returned to its original value, two error
messages, “Failed to configure print-services admin group.” and “Failed to revert back the
print-services admin group changes.” are displayed.
• The cupsd.conf file is updated with the specified administrative group.
If the update fails, the old setting is restored, the changes to the smb.conf file are reverted, and the
error message: “Failed to configure print-services admin group” is displayed. If the update fails and
the old setting cannot be restored, two error messages, “Failed to configure print-services admin
group.” and “Failed to revert back the print-services admin group changes.” are displayed.
• The DataServer value (/cfg/print-services/administrators) is updated with the specified
administrative group.
If setting the DataServer value fails, both configurations of smb.conf and cupsd.conf are reverted,
and an error message is displayed.