---
name: "Gnome2::Print::Paper"
section: "3pm"
platform: "linux"
package: "libgnome2-print-perl"
version: "0.95.1-1+b1"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/Gnome2::Print::Paper"
---

# Gnome2::Print::Paper(3pm)

Gnome2::Print::Paper `"GnomePrintPaper"` is a boxed type representing a registered paper type. In Perl, it is an hashref containing these keys: Has to be 0 at moment. Name such as 'A4'. Dimensional attributes.\
 **paper hash = Gnome2::Print::Paper-\>get\_by\_name ($name)** `$name` (Glib::UChar)\
 **paper hash = Gnome2::Print::Paper-\>get\_by\_size ($width, $height)** `$width` (double) `$height` (double)\
 **paper hash = Gnome2::Print::Paper-\>get\_closest\_by\_size ($width, $height,** `$mustfit)` `$width` (double) `$height` (double) `$mustfit` (boolean)\
 **paper hash = Gnome2::Print::Paper-\>get\_default**\
 **list = Gnome2::Print::Paper-\>get\_list** This method returns an array containing all the registered paper types. Gnome2::Print Copyright (C) 2003-2004 by the gtk2-perl team. This software is licensed under the LGPL.  See Gnome2::Print for a full notice.
