PostScript::CDCover

A simple module that generates CD covers in Postscript
Download

PostScript::CDCover Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Cédric Bouvier
  • Publisher web site:
  • http://search.cpan.org/~cbouvi/

PostScript::CDCover Tags


PostScript::CDCover Description

A simple module that generates CD covers in Postscript PostScript::CDCover is a Perl module that generates a Postscript program that prints a CD cover suitable for a CD jewel case. A directory tree is printed on the cover in columns, first on the front page, then on the inner page (the one that is visible when the box is open), and finally on the back label. All in all, the output consists of two A4 pages, one for the front and inner pages, and one for the back label. People using exotic paper formats should still be able to print, provided that their paper size is close enough to A4, as the labels are drawn rather far from the paper edge. Notably, printing on Letter has been reported to not cause any trouble.A title is printed on top of the front page, and on the sides of the back label. Various attributes alter the behaviour of the module and the layout of the generated cover.Typically, a program using this module should: * Instantiate the PostScript::CDCover class, possibly giving values to attributes by passing arguments to the constructor. Setting these values can also be achieved by calling the accessor methods directly. * Feed information about subdirectories and files in the directory tree by means of the add_directory() and add_file() methods. * Call the flush() method to actually generate the Postscript program.SYNOPSIS use PostScript::CDCover; my $cd = new PostScript::CDCover -root => 'root', -title => 'Backup'; $cd->add_file('root/sub1/file11'); $cd->add_file('root/sub1/file12'); $cd->add_file('root/sub2/file21'); $cd->add_file('root/sub2/file22'); $cd->flush(); Requirements: · Perl


PostScript::CDCover Related Software