gtkPaperSizeNewFromPpd {RGtk2} | R Documentation

## gtkPaperSizeNewFromPpd

### Description

Creates a new `GtkPaperSize` object by using PPD information.

### Usage

    gtkPaperSizeNewFromPpd(ppd.name, ppd.display.name, width, height)

### Arguments

``ppd.name`` | a PPD paper name
``ppd.display.name`` | the corresponding human-readable name
``width`` | the paper width, in points
``height`` | the paper height in points

### Details

If `ppd.name` is not a recognized PPD paper name, `ppd.display.name`, `width` and `height` are used to construct a custom `GtkPaperSize` object. Since 2.10

### Value

[`GtkPaperSize`] a new `GtkPaperSize`,

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.36.3 Index]