NAME

Business::DPD::Render::PDFReuse::SlimA6 - render a label in slim A6 using PDF::Reuse

SYNOPSIS

use Business::DPD::Render::PDFReuse::SlimA6;
my $renderer = Business::DPD::Render::PDFReuse::SlimA6->new( $dpd, {
    outdir => '/path/to/output/dir/',    
    originator => ['some','lines','of text'],
});
my $path = $renderer->render( $label );

DESCRIPTION

Render a DPD label using a slim A6-based template that also fits on a A4-divided-by-three-page. This is what we need at the moment. If you want to provide other formats, please go ahead and either release them as a standalone dist on CPAN or contact me to include your design.

METHODS

Public Methods

render

my $path_to_file = $renderer->render( $label );

Render the label. Currently there is nearly no error checking. Also, things might not fit into their boxes...

The finished PDF will be named $barcode.pdf (i.e. without checksum or starting char)

AUTHOR

Thomas Klausner <domm {at} cpan.org> RevDev <we {at} revdev.at>

SEE ALSO

LICENSE

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