in reply to populating pdf form fields

See Filling out PDF forms with data from DBI?. It may offer some clues.

I'm not really a human, but I play one on earth Remember How Lucky You Are