Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define DT_NAME_LEN 32
- #define DT_PRINTER_TROUBLESHOOTER_SIZE 16
- typedef struct DT_PrinterTroubleShooterRowTag {
- char name[DT_NAME_LEN];
- char row[DT_PRINTER_TROUBLESHOOTER_SIZE];
- } DT_PrinterTroubleShooterRow;
- DT_PrinterTroubleShooterRow printerTroubleShooterConditions[3] = {
- {"Printer prints", "N|N|N|N|Y|Y|Y|Y"},
- {"A red light is flashing", "Y|Y|N|N|Y|Y|N|N"},
- {"Printer is recognized by computer", "N|Y|N|Y|N|Y|N|Y"}
- };
- DT_PrinterTroubleShooterRow printerTroubleShooterActions[5] = {
- {"Check the power cable", " | |x| | | | |-"},
- {"Check the printer-computer cable", "x| |x| | | | |-"},
- {"Ensure printer software is installed", "x| |x| |x| |x|-"},
- {"Check or replace ink", "x|x| | | |x| |-"},
- {"Check for paper jam", " |x| |x| | | |-"}
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement