Advertisement
Guest User

Untitled

a guest
Oct 15th, 2017
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const PrinterTroubleshooter = {
  2.     conditions: {
  3.         'Printer prints':                       ['N|N|N|N|Y|Y|Y|Y'],
  4.         'A red light is flashing':              ['Y|Y|N|N|Y|Y|N|N'],
  5.         'Printer is recognized by computer':    ['N|Y|N|Y|N|Y|N|Y'],          
  6.     },
  7.     actions: {
  8.         'Check the power cable':                [' | |x| | | | |-'],
  9.         'Check the printer-computer cable':     ['x| |x| | | | |-'],
  10.         'Ensure printer software is installed': ['x| |x| |x| |x|-'],
  11.         'Check or replace ink':                 ['x|x| | | |x| |-'],
  12.         'Check for paper jam':                  [' |x| |x| | | |-'],            
  13.     }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement