DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Managing printers and print jobs

Print service command summary

In general, you should use the Printer Manager and Print Job Manager to manage your print service. However, if you need to manage your print service from the command line, refer to these commands:

Print service commands available to all users

Command Description See also
cancel(C) Cancels a request for a file to be printed ``Deleting print jobs''
lp(C) Sends a file or files to a printer
lpstat(C) Reports the status of the print service ``Viewing jobs in the print queue''
lprint(C) Prints from printer attached to a terminal

The administrator can give users the ability to disable and enable a printer so that if a printer is malfunctioning, the user can turn the printer off without having to call the administrator. (However, in your printing environment, it might not be reasonable to allow regular users to disable a printer.)

You can control whether other users have access to the commands in ``Privileged print service commands'', by assigning or revoking the printerstat authorization. See ``Secondary authorizations'' for more information about printerstat.

Privileged print service commands

Command Description See also
disable(C) Deactivates the named printer(s) ``Enabling and disabling printers''
enable(C) Activates the named printer(s) ``Enabling and disabling printers''

``Administrative print service commands'' lists print service commands available only to the administrator. To use the administrative commands, you must either be logged in as root or have the lp authorization. See ``Assigning subsystem authorizations'' for information about setting the lp subsystem authorization.


NOTE: Only root can run lpsched and lpshut.

The administrative print service commands are located in the /usr/lib directory. If you use these commands frequently, include /usr/lib in your PATH variable.

Administrative print service commands

Command Description See also
accept(ADM) Permits jobs to be queued for a specified destination ``Accepting or rejecting print jobs''
reject(ADM) Prevents jobs from being queued for a specified destination ``Accepting or rejecting print jobs''
lpadmin(ADM) Sets up or changes printer configurations ``Changing printer names and connections''
lpfilter(ADM) Sets up or changes filter definitions ``Creating and using printer filters''
lpforms(ADM) Sets up or changes preprinted forms (use /usr/lib/lpadmin to mount a form) ``Creating and using printer forms''
lpmove(ADM) Moves output requests from one destination to another ``Transferring a job to another printer''
lpsched(ADM) Starts the print service ``Starting and stopping the print services''
lpshut(ADM) Stops the print service ``Starting and stopping the print services''
lpusers(ADM) Sets or changes the default priority and priority limits the users of the print service can request ``Setting print queue priorities''


Next topic: Managing print jobs
Previous topic: Request log entries

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003