Author image Brian Manning

NAME

Gnome2::Print - (DEPRECATED) 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

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

DESCRIPTION

NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE

This module has been deprecated by the Gtk-Perl project. This means that the module will no longer be updated with security patches, bug fixes, or when changes are made in the Perl ABI. The Git repo for this module has been archived (made read-only), it will no longer possible to submit new commits to it. You are more than welcome to ask about this module on the Gtk-Perl mailing list, but our priorities going forward will be maintaining Gtk-Perl modules that are supported and maintained upstream; this module is neither.

Since this module is licensed under the LGPL v2.1, you may also fork this module, if you wish, but you will need to use a different name for it on CPAN, and the Gtk-Perl team requests that you use your own resources (mailing list, Git repos, bug trackers, etc.) to maintain your fork going forward.

  • Perl URL: https://gitlab.gnome.org/GNOME/perl-gnome2-print

  • Upstream URL: https://gitlab.gnome.org/Archive/libgnomeprint

  • Last upstream version: 2.18.8

  • Last upstream release date: 2010-09-28

  • Migration path for this module: Gtk3::Print*

  • Migration module URL: https://metacpan.org/pod/Gtk3

NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE

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), Glib(3pm), Gtk2(3pm), Gnome2(3pm).

AUTHOR

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

COPYRIGHT AND LICENSE

Copyright 2003-2006 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.