Avatar

Level 10

Hi Ali,

There is a Report object that allows you to create a flat pdf file which you could then call the print method on.

var rep = new Report();

if (!RadioButtonList.Yes.isNull)

{

    rep.writeText("RadioButtonList set to Yes");

}

if (!RadioButtonList.No.isNull)

{

    rep.writeText("RadioButtonList set to No");

}

if (RadioButtonList.isNull)

{

    rep.writeText("RadioButtonList not set");

}

var d = rep.open("My Report");

d.print();

But there is not much formatting available, maybe too simple.  There more info in the "JavaScript for Acrobat API Reference".

Bruce