Advertisement
Guest User

Untitled

a guest
Oct 15th, 2017
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.91 KB | None | 0 0
  1. #define DT_NAME_LEN                     32
  2. #define DT_PRINTER_TROUBLESHOOTER_SIZE  16
  3.  
  4. typedef struct DT_PrinterTroubleShooterRowTag {
  5.     char name[DT_NAME_LEN];
  6.     char row[DT_PRINTER_TROUBLESHOOTER_SIZE];
  7. } DT_PrinterTroubleShooterRow;
  8.  
  9. DT_PrinterTroubleShooterRow printerTroubleShooterConditions[3] = {
  10.     {"Printer prints",                          "N|N|N|N|Y|Y|Y|Y"},
  11.     {"A red light is flashing",                 "Y|Y|N|N|Y|Y|N|N"},
  12.     {"Printer is recognized by computer",       "N|Y|N|Y|N|Y|N|Y"}
  13. };
  14.  
  15. DT_PrinterTroubleShooterRow printerTroubleShooterActions[5] = {
  16.     {"Check the power cable",                   " | |x| | | | |-"},
  17.     {"Check the printer-computer cable",        "x| |x| | | | |-"},
  18.     {"Ensure printer software is installed",    "x| |x| |x| |x|-"},
  19.     {"Check or replace ink",                    "x|x| | | |x| |-"},
  20.     {"Check for paper jam",                     " |x| |x| | | |-"}
  21. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement