DataMuseum.dk

Presents historical artifacts from the history of:

RC9000

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about RC9000

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: @ M T

⟦3ba26ed10⟧ TextFile

    Length: 1104 (0x450)
    Types: TextFile
    Notes: @(#)Menu.opers 13.2 (RC International) 91/08/23
    Names: »Menu.opers«

Derivation

└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
    └─⟦bbf173f5c⟧ »0004« 
        └─⟦this⟧ »./usr/sadm/sysadm/add-ons/lp/printers/operations/Menu.opers« 

TextFile

#	@(#)Menu.opers	13.2 (RC International) 91/08/23

menu="Perform Daily Printer Service Operations"

help=open TEXT $INTFBASE/Text.itemhelp $LININFO

`if lpstat "-r" | fmlgrep 'not' > /dev/null;
 then
   set -l lp_is_down=true;
 else
   set -l lp_is_down=false;
 fi`

name=accept
lininfo="menu:L1"
description="Allow Print Requests"
action=OPEN FORM $OBJ_DIR/Form.accept
inactive=$lp_is_down

name=reject
lininfo="menu:L6"
description="Disallow Print Requests"
action=OPEN FORM $OBJ_DIR/Form.reject
inactive=$lp_is_down

name=disable
lininfo="menu:L3"
description="Disable Printer from Printing"
action=OPEN FORM $OBJ_DIR/Form.disable
inactive=$lp_is_down

name=enable
lininfo="menu:L4"
description="Enable Printer for Printing"
action=OPEN FORM $OBJ_DIR/Form.enable
inactive=$lp_is_down

name=set default
lininfo="menu:L7"
description="Set Default Printer"
action=OPEN FORM $OBJ_DIR/Form.default
inactive=$lp_is_down

name=unset default
lininfo="menu:L8"
description="Unset Default Printer"
action= `/usr/lib/lpadmin -d$F1 > /dev/null 2>/dev/null;
	 message "Default printer unset"`
inactive=$lp_is_down