save web page image in pdf format - How To?

Hi;

Is it possible to save a snapshot of any web page in pdf format? or extract the entire html code for viewing

an exemplary workflow will be both instructive and educational.