How to fix scan­ner pro­blem on Ubuntu 18.04 with HP La­serJet Pro MFP M125nw prin­ter

Af­ter do­ing a clean in­stall of Ubuntu 18.04 in May 2018 and in­stal­ling HPLIP soft­ware to be able to print on my Hewlet Pac­kard La­serJet Pro MFP M125nw prin­ter, prin­ting wor­ked correctly. Then it got bro­ken by causes unk­nown to me in June and I had to fix it. This, however, didn’t go wi­thout com­pli­cati­ons.
Con­ti­nue rea­ding „How to fix scan­ner pro­blem on Ubuntu 18.04 with HP La­serJet Pro MFP M125nw prin­ter“