[ This code example from
Cross Browser Print Button
page. ]