pdf.page_config page_layout: :landscape pdf.text "This page should be formatted as landscape"