@Pawan257
Welcome to the HP Support Community.
We'll have to do a region reset for you to use the Printer in Sri Lanka.
To do a printer region reset you need to meet the following conditions:
1. The printer should be connected using a printer USB cable to the computer.
2. You need to have the printer full feature software installed on your computer.
3. You need to have all the cartridges either from the region from where the printer was purchased originally or the new region to which you want to reset it to.
Please do let us know.
If the information I've provided was helpful, give us some reinforcement by clicking the "Accept as solution" button, that'll help us and others see that we've got the answers!
Thanks!
Have a great day!