Corrected margin APIs and orientation
Completed "Print" dialog