---
name: "Gnome2::Print"
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"
---

# Gnome2::Print(3pm)

Perl wrappers for the Gnome Print utilities.

## NAME

Gnome2::Print - Perl wrappers for the Gnome Print utilities.

## SYNOPSIS

```
  use Gnome2::Print;
  my $job = Gnome2::Print::Job->new;
  my $config = $job->get_config;
  my $pc = $job->get_context;
  my ($width, $height) = $config->get_page_size;

  $pc->beginpage("1");

  $pc->setlinewidth(3.0);
  $pc->rect_stroked($width * .1, $height * .1, $width * .9, $height * .9);

  $pc->showpage;

  $job->render($pc);
  $job->close;
```

## ABSTRACT

Perl bindings to the 2.2 series of the Gnome Print libraries, for use with gtk2-perl.

## DESCRIPTION

This module allows you to use the GNOME Print libraries within your applications written using the gtk2-perl wrapper.  The GNOME Print libraries (also known as libgnomeprint and libgnomeprintui) allow you to create printable documents (using various frontends) and offer standard widgets in order to mainatin a UI consistent for all GNOME applications.

To discuss gtk2-perl, ask questions and flame/praise the authors, join gtk-perl-list@gnome.org at lists.gnome.org.

Find out more about Gnome+ at http://www.gnome.org.

## SEE ALSO

[perl(1)](/perl/1.md), [Glib(3pm)](/Glib/3pm.md), [Gtk2(3pm)](/Gtk2/3pm.md), [Gnome2(3pm)](/Gnome2/3pm.md).

## AUTHOR

Emmanuele Bassi \<emmanuele.bassi@iol.it\>, muppet \<scott at asofyet dot org\>

## COPYRIGHT AND LICENSE

Copyright 2003, 2004 by Emmanuele Bassi

Copyright 2003 by muppet

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
