Print Page + values checked from checkbox

Hi Guys, just wondering if this is possible in HTML

Picture a page full of checkboxes with items next to them.

As the user goes through the page he/she checks the checkbox’s of the items they think they need.

Then they click the “print page” button and a pop up appears with ONLY the boxes that they checked on the new pop up page.

Is this possible with HTML (i don’t think so) but how about PHP?

Does anyone know a way around this???

Even if it is PHP code, please let me know, thanks for all your help.