When your printer was installed, it came with a CD with a complete software package for your printer to report (ink levels/diagnostics/etc) to the computer. If it was installed in Windows 7 (and below) it would be found at "Start" (button) > "HP" > Deskjet D4160 > Deskjet D4160. In Windows 8 look for HP. Once you've opened the application it will query the printer for its status. One of the icons will show the "Estimated Ink Levels".
If you can't find the software installed or the CD you can find it at HP's (US-English) support page for your D4160 is at the link below. Persons from other countries you can find their language at HP.com/support. There you can find everything you need.
Ink Jet Notes:
·Printers can be set to "economy" (default or individual job) to save ink if high quality is not an issue.
·Follow the user's manual or print using all cartridges at least monthly to insure the cartridge jets do not get fouled with dried up ink. Once fouled its toast. I've never been able to clean one.
·New printers come with minimal ink in the cartridges.
·"XL" (high volume) versions of your printers ink cartridge is cost effective if you print frequently.
In His Grace