[628] | 1 | ENLBL2 ;(WASH ISC)/DH-Print Driver for Equipment Labels ;3-26-92
|
---|
| 2 | V ;;7.0;ENGINEERING;;Aug 17, 1993
|
---|
| 3 | D:'$D(DT) DT^DICRW S U="^",S=";",O=$T(OPT) I $D(^DOPT($P(O,S,5),"VERSION")),($P($T(V),S,3)=^DOPT($P(O,S,5),"VERSION")) G IN
|
---|
| 4 | K ^DOPT($P(O,S,5))
|
---|
| 5 | F I=1:1 Q:$T(OPT+I)="" S ^DOPT($P(O,S,5),I,0)=$P($T(OPT+I),S,3),^DOPT($P(O,S,5),"B",$P($P($T(OPT+I),S,3),"^",1),I)=""
|
---|
| 6 | S K=I-1,^DOPT($P(O,S,5),0)=$P(O,S,4)_U_1_U_K_U_K K I,K,X S ^DOPT($P(O,S,5),"VERSION")=$P($T(V),S,3)
|
---|
| 7 | IN I $P(O,S,6)'="" D @($P(O,S,6))
|
---|
| 8 | PR S O=$T(OPT),S=";" S IOP="HOME" D ^%ZIS W:IOST'["PK-" @IOF K IOP
|
---|
| 9 | D HDR F J=1:1 Q:'$D(^DOPT($P(O,S,5),J,0)) W !,?15,J,". ",$P(^DOPT($P(O,S,5),J,0),U,1)
|
---|
| 10 | RE W ! S DIC("A")="Select "_$P($T(OPT),S,4)_": EXIT// ",DIC="^DOPT("_""""_$P($T(OPT),S,5)_""""_",",DIC(0)="AEQMN" D ^DIC G:X=""!(X=U) EXIT G:Y<0 RE K DIC,J,O D @($P($T(OPT+Y),S,4)) G PR
|
---|
| 11 | HDR W @IOF,!!,"EQUIPMENT LABEL MODULE",!,$P($T(V),S,3),! Q
|
---|
| 12 | INIT S:'$D(DTIME) DTIME=600 S ENERR=0,IOP="HOME",U="^" D ^%ZIS K IOP Q
|
---|
| 13 | EXIT K DIC,ENERR,I,J,K,O,S,X,Y
|
---|
| 14 | OPT ;;EQUIPMENT LABEL MODULE;EQUIPMENT LABEL PRINTING MENU;ENEQLBL2
|
---|
| 15 | ;;COMPLETE CMR;CMR^ENLBL5
|
---|
| 16 | ;;EQUIPMENT CATEGORY;CAT^ENLBL3
|
---|
| 17 | ;;RANGE OF PM NUMBERS;PM^ENLBL10
|
---|
| 18 | ;;GENERAL LOCATION (WING);WING^ENLBL6
|
---|
| 19 | ;;SPECIFIC LOCATION (ROOM);RM^ENLBL6
|
---|
| 20 | ;;SINGLE PIECE OF EQUIPMENT;SD^ENLBL3
|
---|
| 21 | ;;BY EQUIPMENT ID#;ALL^ENLBL5
|
---|
| 22 | ;;PM WORKLIST;WRKLST^ENLBL11
|
---|
| 23 | ;;PURCHASE ORDER #;PO^ENLBL12
|
---|
| 24 | ;;LOCAL IDENTIFIER;LOCID^ENLBL15
|
---|
| 25 | ;;OWNING SERVICE;SRVC^ENLBL12
|
---|