Add in command line options to set the page size & margin, and to control remote web requests

Hi Björn,

I've added in some options to set the page size and margins, and also to control whether remote web requests are allowed. I'm happy to make any change that you suggest.

Cheers,

Luke