Does the form-filling capability work on a modern Mac?

10 views
Skip to first unread message

John Arrowwood

unread,
Oct 13, 2019, 3:34:26 PM10/13/19
to PDF-Reuse
No one has posted to this list in 6 years, so there is a chance no one is listening.  I'll try Stack Overflow, too.  But in case anyone is there...

I created a form PDF (attached as receipt-header.pdf).  

I am trying to populate that form using PDF::Reuse.  My code looks like this:

#!/usr/bin/perl -w

use strict;
use warnings;

use PDF::Reuse;

prFile('test.pdf');
prMbox( 0, 0, 288, 384 );
prField('vendor','This is a test');
prDocForm( { file => 'receipt-header.pdf' } );
prEnd();

Looking at the generated code, I can see the code that is supposed to populate it.  But when I view it in Finder, or Preview, the form is not populated.  For reference, I've attached the generated PDF.  

Is this a problem with PDF::Reuse, or a problem with how Finder / Preview interacts with these files?
receipt-header.pdf
test.pdf
Reply all
Reply to author
Forward
0 new messages