hasPrintPermission

Test if document has either PRINT_HIGH_QUALITY or PRINTING flags set.

Parameters

document

Used to check if document has print permissions.