pdfSetGenerateOPIComments

Enable/disable generation of OPI comments.
void pdfSetGenerateOPIComments(int opi)
XpdfPS can convert PDF OPI information to PostScript OPI comments. This behavior defaults to off, and can be enabled using this function.

This setting is global, i.e., it affects XpdfPS calls on all PDF handles.

C:
/* generate OPI comments */ pdfSetGenerateOPIComments(1);