Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

admlpsched(1M)

lp(1)

lpstat(1)



enable(1)                      DG/UX R4.11MU05                     enable(1)


NAME
       enable, disable - enable/disable LP printers

SYNOPSIS
       enable printers
       disable [options] printers

DESCRIPTION
       On a system with DG/UX information security, the user must have
       appropriate privilege to invoke this command.  The enable command
       activates the named printers, enabling them to print requests
       submitted by the lp command.  If the printer is remote, the command
       will only enable the transfer of requests to the remote system; the
       enable command must be run again, on the remote system, to activate
       the printer.  (Run lpstat -p to get the status of printers.)

       The disable command deactivates the named printers, disabling them
       from printing requests submitted by lp.  By default, any requests
       that are currently printing on the designated printers will be
       reprinted in their entirety either on the same printer or on another
       member of the same class of printers.  If the printer is remote, this
       command will only stop the transmission of jobs to the remote system.
       The disable command must be run on the remote system to disable the
       printer.  (Run lpstat -p to get the status of printers.)  Options for
       use with disable are:

       -c          Cancel any requests that are currently printing on any of
                   the designated printers.  This option cannot be used with
                   the -W option.  If the printer is remote, the -c option
                   will be silently ignored.

       -r reason   Assign a reason for the disabling of the printers.  This
                   reason applies to all printers specified.  This reason is
                   reported by lpstat -p.  reason must be enclosed in quotes
                   if it contains blanks.  The default reason is unknown
                   reason for existing printers, and new printer for
                   printers just added to the system but not yet enabled.

       -W          Wait until the request currently being printed is
                   finished before disabling the specified printer.  This
                   option cannot be used with the -c option.  If the printer
                   is remote, the -W option will be silently ignored.

FILES
       /var/spool/lp/*

SEE ALSO
       admlpsched(1M), lp(1), lpstat(1).

NOTES
       The lp subsystem supports running with multiple lp schedulers.  When
       more than one lpsched is defined, each scheduler will appear as an
       independent spooler with it's own set of printer queues, lp forms,
       classes and user definitions.  The enable and disable commands can
       operate with only one lpsched at a time.  To "target" a specific
       lpsched, the environment variable DG_LPSCHED should be set to the
       desired lpsched name before executing the enable or disable commands.
       If the DG_LPSCHED variable is unset, then the default lpsched will be
       targeted. The currently defined lpscheds can be listed with the
       admlpsched -o list command.



Licensed material--property of copyright holder(s)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026