The following table lists frequently used LP print service commands.
You must be superuser, lp
, or assume an equivalent role
to use the 1M
commands.
Table 7.7. Quick Reference to LP Print Service Commands
Command |
Task |
Man Page |
---|---|---|
enable |
Activate a printer |
enable ( 1 ) |
cancel |
Cancel a print request |
cancel ( 1 ) |
lp |
Send one or more file or files to a printer |
lp ( 1 ) |
lpstat |
Report the status of the LP print service |
lpstat ( 1 ) |
disable |
Deactivate on or more printers |
enable ( 1 ) |
accept |
Permit print requests to be queued for a specific destination |
accept ( 1M ) |
reject |
Prevent print requests from being queued for a specific destination |
accept ( 1M ) |
lpadmin |
Set up or change a printer configuration |
lpadmin ( 1M ) |
lpfilter |
Set up or change filter definitions |
lpfilter ( 1M ) |
lpforms |
Set up or change preprinted forms |
lpforms ( 1M ) |
lpadmin |
Mount a form |
lpadmin ( 1M ) |
lpmove |
Move output requests from one destination to another destination |
lpmove ( 1M ) |
lpsched |
Start the LP print service scheduler |
lpsched ( 1M ) |
lpshut |
Stop the LP print service scheduler |
lpshut ( 1M ) |
lpusers |
Set or change the default priority and priority limits that can be requested of the LP print service by users |
lpusers ( 1M ) |