Hi Jimmy,
My solution may be useful to you, at least as an idea.
I had one particular .PDF that needed to be repeatedly filled out.
In general I accomplished this as follows:
I converted the .PDF to a .PNG image.
This image went into my DEFINE REPORT's Header band as follows.
Code: Select all
DEFINE REPORT Pages_1_to_2
PAPERSIZE PRINTER_PAPER_LETTER // 215.9 by 279.4
*** Report Layout *************
BEGIN LAYOUT
ORIENTATION PRINTER_ORIENT_PORTRAIT
END LAYOUT
*** Header Band ***********
BEGIN HEADER
BANDHEIGHT 0
END HEADER
BEGIN PICTURE
VALUE "RptPg_1"
ROW 0
COL 0
WIDTH 215.9
HEIGHT 279.4
STRETCH .F.
END PICTURE
In the report's DETAIL BAND I specified the various ROW and COL text that "filled in" the .PDF's answers.
Some Details:
This .PDF form required "fill in" text on the
front (page #1) only.
This .PDF form had a back side (page #2) that was printed via the SUMMARY BAND.
(Note: This back side (page #2) needed nothing "filled in").
Code: Select all
*** Summary Band *********
BEGIN SUMMARY
BANDHEIGHT 281 // 215.9 by 279.4
END SUMMARY
// This background picture appears on the back-side (Page #2)
BEGIN PICTURE
VALUE "RptPg_2"
ROW 1 // On page #2
COL 0
WIDTH 215.9
HEIGHT 278
STRETCH .F.
END PICTURE
Finally, I send the output to
either my local printer or to a .PDF printer such as "Microsoft Print to PDF".
This works great.
Assuming your need is similar it should adapt to your paper size A4.
Hope that this is helpful.
Red2