title: UIPrintPageRenderer paper size not changing
body: <p>I am trying to convert some HTML into a PDF document to save on my back end. However, I am unable to set the paper size of the print renderer. The paper size always remains A4 even when I change the 'paperRect' - I need the paper size to be A6. Any ideas?</p>
  
  <pre><code>let pageFrame = CGRect(x: 0.0, y: 0.0, width: 595.2, height: 600)
  
  // Set the page frame.
  self.setValue(NSValue(cgRect: pageFrame), forKey: "paperRect")
  </code></pre>