#!/usr/bin/perl
BEGIN {
push
@INC
,
'../lib'
; }
use
PDF::API2::Simple;
my
= PDF::API2::Simple->new(
file
=>
'05_a4.pdf'
,
height
=> 842,
width
=> 595,
margin_top
=> 80
);
->add_font(
'Verdana'
);
->add_page();
->text(
'This is text on an A4 pdf'
,
x
=> 50,
y
=>
->height - 50 );
->save();