Prima::Printer 1.20 review

Download
by rbytes.net on

Prima::Printer is a system printing services. SYNOPSIS my $printer = $::application-> get_printer; print "printing to ",

License: Perl Artistic License
File size: 1389K
Developer: Dmitry Karasik
0 stars award from rbytes.net

Prima::Printer is a system printing services.

SYNOPSIS

my $printer = $::application-> get_printer;
print "printing to ", $printer->printer, "...n";
$p-> options( Orientation => 'Landscape', PaperSize => 'A4');
if ( $p-> begin_doc) {
$p-> bar( 0, 0, 100, 100);
print "another page...n";
$p-> new_page;
$p-> ellipse( 100, 100, 200, 200);
(time % 1) ? # depending on the moon phase, print it or cancel out
$p-> end_doc :
$p-> abort_doc;
} else {
print "failedn";
}

Prima::Printer is a descendant of Prima::Drawable class. It provides access to the system printing services, where available. If the system provides no graphics printing, the default PostScript (tm) interface module Prima::PS::Printer is used instead.

Requirements:
Perl

Prima::Printer 1.20 keywords