Good afternoon,<div><br></div><div>I was trying to encrypt some PDF's with pdftk, but discovered that it  eats the PDF bookmarks!</div><div><br></div><div>After doing some Googling I discoved 'pdfcrypt', but I get an error about a driver not being installed.</div>
<div><br></div><div>Then I discovered that xdvipdfmx supports a "-S" option, but, I don't see a way to set the owner and user password via command line option. </div><div><br></div><div>Is there a way to set the passwords for xdvipdfmx via command line option?</div>
<div><br></div><div>Is there another better way that doesn't eat the PDF bookmarks?</div><div><br></div><div>-Mike</div><div><br></div><div>FYI: xelatex --version</div><div><br></div><div><div>XeTeX 3.1415926-2.2-0.9997.4 (TeX Live 2010)</div>
<div>kpathsea version 6.0.0</div><div>Copyright 2010 SIL International and Jonathan Kew.</div><div>There is NO warranty.  Redistribution of this software is</div><div>covered by the terms of both the XeTeX copyright and</div>
<div>the Lesser GNU General Public License.</div><div>For more information about these matters, see the file</div><div>named COPYING and the XeTeX source.</div><div>Primary author of XeTeX: Jonathan Kew.</div><div>Compiled with ICU version 4.4 [with modifications for XeTeX]</div>
<div>Compiled with zlib version 1.2.3; using 1.2.3</div><div>Compiled with FreeType2 version 2.3.11; using 2.3.11</div><div>Compiled with fontconfig version 2.3.1; using 2.2.3</div><div>Compiled with libpng version 1.2.40; using 1.2.40</div>
<div>Compiled with xpdf version 3.02pl4</div></div><div><br></div>