Gets the value of gtk_print_settings_page_ranges.
a PrintSettings
return location for the length of the returned array
an array of PageRanges. Use g_free to free the array when it is no longer needed.