[NTG-context] ConTeXt tool for enabling comments in PDF ?

Vit Zyka vit.zyka at seznam.cz
Thu Jan 6 00:09:18 CET 2005

Hans Hagen wrote:
> Vit Zyka wrote:
>>>> I have played with this yesterday evening, but without success. I tried
>>>> \pdfcompresslevel=0
>>>> \pdftrailer{/Encrypt << /Filter /Standard /V 1 /R 2 /P 252 >> }
>>>>   Hallo
>>>> \end
>>> technically it's possible to have no password (at least the specs say 
>>> so) but i can't get it working;
>>> do you have a file without password that is editable made by another 
>>> app?
>> Unfortunately not. Using pdfcrypt I created encrypted but not editable 
>> PDF, see http://typokvitek.com/tmp/pdfpermit3.pdf
>> open password 'A', user password 'B'.
> it looks like something needs to be done with the stream as well; simply 
> setting a password fails (even the empty one, the funny hex stream); 
> btw, your 252 should be a negative number)

I see. I have to read the specification notes... But in this case the 
flag number for allowing everything is -4.
(see http://typokvitek.com/tmp/pdfpermit4.pdf)

In this case all Document Security are allowed, but not Document 
Restrictions Summary!? Bu still no success with commenting...

Vit Zyka

More information about the ntg-context mailing list