Run ths first:
#!/usr/bin/perl
use strict;
use warnings;
use PDF::API2;
my $file = 'SavedAttachment.pdf';
my $pdf = PDF::API2->new( -file => $file );
$pdf->mediabox( 595, 842 );
my $page = $pdf->page;
my $fnt = $pdf->corefont( 'Arial', -encode => 'latin1' );
my $txt = $page->text;
$txt->textstart;
$txt->font( $fnt, 8 );
$txt->translate( 25, 630 );
$txt->fillcolor('black');
$txt->text("FullCustName");
$pdf->saveas;
exit;
Then try
setpdfbackground.pl from the command line:
setpdfbackground.pl -o SavedAttachment.pdf 1 fcd SavedAttachment.pdf
I used fcd because I wanted something neutral and down-to-earth.