pdfOkToPrint

Check to see if the PDF file allows printing.
int pdfOkToPrint(PDFHandle pdf)
This function returns zero if the PDF file is encrypted and does not allow printing. The owner password can be used to circumvent this: if a valid owner password was supplied to pdfLoadFileWithPassword or pdfLoadMemWithPassword, this function will always return non-zero.

If this function returns zero, the printing and PostScript conversion functions will return errors.

C:
int ok; ok = pdfOkToPrint(pdf);
pdfOkToExtractText
pdfOkToChange
pdfOkToAddNotes