; 2613/17/18 Line Printer diagnostic (DSN 145103, 24396-13601_Rev-2326) ; ; Parameter 1 = line printer model echo echo echo ------------------------------------ echo DSN 145103 - 2613/17/18 Line Printer echo ------------------------------------ echo echo Loading the diagnostic. echo Expect halt 102077 if successful. deposit A 145103 deposit B 000000 reset go 120 assert T=102077 ; Verify the DSN. echo echo Verifying DSN 145103. deposit M 126 assert T=145103 ; Configure the diagnostic. echo echo Configuring the diagnostic. echo Expect halt 102074 if successful. deposit S 000015 reset go 100 assert T=102074 ; Execute the diagnostic. call start 2613 call start 2617 call start 2618 ; Restore the hardware configuration. detach LPT set LPT 2607,PRINTER return ; Start the diagnostic. :start echo echo echo --------------------------------- echo HP %1 Line Printer Verification echo --------------------------------- echo echo Executing the diagnostic. echo Expect halt 102024 for user intervention. echo set LPT %1,DIAGNOSTIC attach -N LPT %1.printer deposit S 000000 deposit P 002000 reset go assert T=102024 ; Respond to "H024 PRESS PRESET (EXT&INT),RUN" echo echo [PRESET pressed, RUN pressed] echo Expect halt 102040 for user intervention. echo reset go assert T=102040 ; Respond to "H040 PWR OFF LP,PRESS RUN" echo echo [Power off, RUN pressed] echo Expect halt 102041 for user intervention. echo power off LPT go assert T=102041 ; Respond to "H041 PWR ON, ON LINE LP,PRESS RUN" echo echo [Power on, RUN pressed] echo Expect halt 102042 for user intervention. echo power on LPT go assert T=102042 ; Respond to "H042 LP TO OFF LINE,PRESS RUN" echo echo [OFFLINE pressed, RUN pressed] echo Expect halt 102043 for user intervention. echo set LPT OFFLINE go assert T=102043 ; Respond to "H043 LP TO ON LINE,PRESS RUN" echo echo [ONLINE pressed, RUN pressed] echo Expect halt 102044 for user intervention. echo set LPT ONLINE go assert T=102044 ; Respond to "H044 OPEN DRUM GATE,PRESS RUN" echo echo [Drum gate open, RUN pressed] echo Expect halt 102045 for user intervention. echo detach LPT go assert T=102046 ; Respond to "H046 REMOVE PAPER,CLOSE DRUM GATE,PRESS RUN" echo echo [Paper removed, drum gate closed, RUN pressed] echo Expect halt 102047 for user intervention. echo go assert T=102047 ; Respond to "H047 RESTORE PAPER, ON LINE LP, PRESS RUN" echo echo [Paper restored, ONLINE pressed, RUN pressed] echo Expect halt 102077 for successful completion. echo attach -E LPT %1.printer set LPT ONLINE go ; End of the diagnostic. ; ; Verify HLT 77B for a successful pass. assert T=102077 return