Due to standards at Linemaster, Zebra printers need to be serviced and cleaned by an IT member every x amount of inches printed. After the set amount of inches has been printed our monitoring system, What’s Up Gold 2017, will use SNMP to create a helpdesk ticket requiring the printer to be serviced. Within the helpdesk ticket, we include all the information of the printer configuration including the print count, from the printer’s web page. After the printer is serviced, we reset the print count to 0.
The issue itself is not a big deal, but the way we handled the issue was suboptimal.
The typical process went as so:
- Printer count reaches 6,000 inches.
- What’s Up Gold detects the printer reached the limit and submits a helpdesk ticket.
- IT member picks up the ticket and services the printer
- IT member grabs the configuration text from the printer’s web page and records the configuration text in the help desk ticket.
- IT member runs a batch file to reset the printer count
- IT member, again, grabs the new configuration text from the printer’s web page and records new configuration text in the help desk ticket. This time it should read zero.
- IT member provides the basic ‘Cleaned Zebra Printer per Manufacturer’s Manual’ ticket solution text.
- IT member closes the ticket.
The solution was created to reduce the amount of time navigating to the printer’s web page, copying the configuration text, and typing solution text into the helpdesk ticket. The traditional method of running the batch files also caused confusion due to bad naming conventions. This program will provide a GUI interface that will allow the user to grab the configuration text from the web page and copy the text to the clipboard with a push of the button. The GUI also allows the user to run the batch file and navigate to the printer’s web page (if needed) with other controls.
Bootstrap – For the HTML presentation. The application doesn’t really focus on responsiveness, which is one of Bootstrap’s largest features, but it is a strong foundation. It is easily customizable and I am familiar with it as I use it on my personal portfolio.
Request Module – A Node.js module that simplifies the HTTP request process. This is my first time using this function, but I haven’t had any problems with it.
Cheerio Module – Another Node.js module that I used to traverse through the printer’s web configuration to grab certain data <tags> to return information.