The following is an example of how to reference the PaperOrientation object:
// The full path is required. dundas.print.PaperOrientation.LANDSCAPE