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

Hans Hagen pragma at wxs.nl
Thu Jan 6 11:44:19 CET 2005


Vit Zyka wrote:
>> can you make a file with no password?
> 
> 
> No. You wrote that this possibility is mentioned somewhere. Where?

in the pdf specs

\starttext

\startcomment should work in older readers as well \stopcomment \input bryson

\def\pdfnopwdstr{28bf4e5e4e758a4164004e56fffa01082e2e00b6d0683e802f0ca9fe6453697a}

\immediate\pdfobj
   {<< /Filter /Standard
       /V 1
       /R 2
       /P -4
       /O <\pdfnopwdstr>
       /U <\pdfnopwdstr> >>}

\pdftrailer{/Encrypt \the\pdflastobj\space 0 R}

\stoptext

however, it does not work

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------



More information about the ntg-context mailing list