Lorem - Document creation
use Lorem; use Lorem::Util qw( in2pt ); $doc = Lorem->new_document; $doc->new_header( center => 'Lorem Document' ); # save to pdf file $pdf = Lorem::Surface::Pdf->new ( file_name => 'output.pdf', width => in2pt( 8.5 ), height => in2pt( 11 ), ); $pdf->print( $doc ); # send to printer $printer = Lorem::Surface::PrintOperation->new( gtk_window = Gtk2::Window->new, ); $printer->print( $doc );
Lorem is a library for creating/displaying/printing documents.
*THIS IS NEW SOFTWARE. IT IS STILL IN DEVELOPMENT. THE API MAY CHANGE IN FUTURE VERSIONS WITH NO NOTICE.*
Returns a new Lorem::Document object.
Jeffrey Ray Hallock <jeffrey.hallock at gmail dot com>
This software is Copyright (c) 2010-2012 Jeffrey Ray Hallock.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
To install Lorem, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lorem
CPAN shell
perl -MCPAN -e shell install Lorem
For more information on module installation, please visit the detailed CPAN module installation guide.