lpsched Command

Note: This is a System V Print Subsystem command.

Purpose

Starts/stops the print service.

Syntax

/usr/lib/lp/lpsched

lpshut

Description

The lpsched command starts the LP print service.

The lpshut command shuts down the print service. All printers that are printing at the time the lpshut command is invoked stop printing. When lpsched is started again, requests that were printing at the time a printer was shut down are reprinted from the beginning.

You must have the appropriate privilege to run these commands.

If the scheduler fails to run, check the lpsched log file, which contains all failed attempts to load print requests, printer descriptions, forms, filters, classes, alerts, and systems. The log files are located in /var/lp/logs. Useful information on the networked print service can also be found in the /var/lp/logs/lpNet log file.

If you enter lpsched -?, the system displays the command usage message and returns 0.

Security

Attention RBAC users and Trusted AIX users: This command can perform privileged operations. Only privileged users can run privileged operations. For more information about authorizations and privileges, see Privileged Command Database in AIX® Version 7.1 Security. For a list of privileges and the authorizations associated with this command, see the lssecattr command or the getcmdattr subcommand.

Files

Item Description
/var/spool/lp/*