[scribus] Scribus extract data from pdf form

Pierre Marchand capparis at free.fr
Thu Feb 26 11:12:37 CET 2009


Vous (a.l.e) avez écrit :
>  (but you won't
> be able to save the content in the fields, just print them out!)

As demonstrated maybe a year ago, you can hack things to save FDF if you got a 
web server (a bit tricky, but it works), here’s the simpliest example that 
works if the PDF doc is viewed through acroreader plugin in a web browser:
=============================================================
<?php
/*
	Just re-send an FDF file that would be submitted
*/

$ret .= $HTTP_RAW_POST_DATA;
header('Content-type: application/vnd.fdf');
header('Content-Disposition: attachment; filename="theNameOfYourForm.fdf"');
echo $ret;
?>
=============================================================

Plus, I believe you can submit data by mail too.

HTH
-- 
Pierre Marchand




More information about the scribus mailing list