Detect HP Printer Supplies Availability using FusionWidgets, PHP and curl

In some office, there are several HP printers installed and connected to the network. It’s my duty to create such as dashboard to detect the supplies availability for those printers. In this case I am using FusionWidgets v3 to visualize it. I am using FusionWidgets v3 Developer License to achieve this mission. You also can download the trial version of FusionWidgets v3 to follow this tutorial. I assume you are already familiar with the FusionWidgets v3 deployment on your system. I only use the Cylinder type widget to visualize the printer supplies status.

In this case we will monitor printer HP LaserJet M1522nf MFP. Below is the picture of that printer.

HP LaserJet M1522nf MFP

This printer can be connected to TCP/IP network and you can access the printer’s properties from web browser.

HP LaserJet M1522nf MFP control panel from the web browser

Actually we will use PHP and curl to access to this web control panel, grab the data (such as printer name, supplies level status, approximately pages remaining etc) and we will visualize on our dashboard.

- Download FusionWidgets v3 trial from
- Extract it.
- Copy FusionCharts.js from JSClass folder to your web root folder.
- Copy Cylinder.swf from Charts folder to your web root folder.

Now here is the code to grab data from HP LaserJet M1522nf MFP web control panel.


  1. Hello,
    Printware, the UK's largest independent supplier of printers, colour laser printers, mono laser printers, inkjet printers, all in one multifunction printers, printer inks.

  2. Once you are signed in, tap on the begin symbol or press the Windows catch. Select the restart symbol, and the moment when you see the HP start up logo, press the f8 catch different circumstances. Give a call to the toll free number for better understanding.

  3. Positive site, where did u come up with the information on this posting? I'm pleased I discovered it though, ill be checking back soon to find out what additional posts you include.
    binding mechine