Avrdude: ser_open(): can't set com-state for "\\.\COM5" - Possible solution

I’ve just tested it again. When initially loading I get the error “Avrude: ser open()” etc but when I open and close the plotter, it loads properly.