Description

Creates a new PageSetup object

Parameters:

  • options (Hash) (defaults to: {})

    a customizable set of options

Options Hash (options):

  • fit_to_height (Integer)

    Number of vertical pages to fit on

  • fit_to_width (Integer)

    Number of horizontal pages to fit on

  • orientation (Symbol)

    Orientation of the page (:default, :landscape, :portrait)

  • paper_height (String)

    Height of paper (number followed by unit identifier: “297mm”, “11in”)

  • paper_width (String)

    Width of paper (number followed by unit identifier: “210mm”, “8.5in”)

  • scale (Integer)

    Print scaling (percent value, integer ranging from 10 to 400)

  • paper_size (Integer)
    • the size of paper to use

initialize is referenced in 0 repositories