To reset the Serial number or Page Count on a HP Printer follow the below steps.
Connect the printer via USB and note the Virtual USB Port Name, it will look something like”USB001″.
Download the file https://www.theictguy.co.uk/downloads/Reset_HP.pjl to the root of your system drive C:\, do not change the filename, edit the file using notepad, NOT WORDPAD, enter the serial number or page count, if you want to set one but not the other leave the one you do not wish to change blank.
Open up a cmd window
Enter the command “copy /b C:\Reset_HP.pjl USB001”
This will copy the file to the printer.
Power cycle the printer.