Added command line options for selecting paper, dimensions, and orientation. Set headers/footers to empty by default.