| Function group | Execute on client | Platform(s) |
| Omnis PDF Device | NO | All |
Omnis PDF Device.$encrypt(cUserPwdASCII[,cOwnerPwdASCII='',bCanPrint=kTrue,bCanModify=kFalse,bCanCopy=kTrue,bCanAnnotate=kFalse])
Sets how PDFs created by current task are encrypted.Empty user password disables encryption