The simplest solution is to set your web browser webpage area the same size of the target area size to be printed, then take a screeshot. On your favorite word processor or whatevever app that give you good control of the printed page settings, create a printable file (document, presentation, etc.), paste the screenshot, save the file and print it from that application.
Your mileage might vary
Depending on web page, your skills to handle your web browser (i.e. resize the window),
customize the DOM (i.e. change the web page background color), to take the screenshoot, etc., will be the quality of the image.
Depending on options of application that you have, the one that you choose and the printer that you have there will be the options that you will have to control the printing process / quality.
The above because some webpages might have stylesheets that are a mess regarding making the webpage printing friendly, just because the developer just didn't care about making the webpage printing friendly, they focused on other things.
Related