From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/17742 Path: main.gmane.org!not-for-mail From: Vit Zyka Newsgroups: gmane.comp.tex.context Subject: Re: ConTeXt tool for enabling comments in PDF ? Date: Thu, 06 Jan 2005 00:09:18 +0100 Message-ID: <41DC739E.3030107@seznam.cz> References: <41DBD3A0.6040605@seznam.cz> <41DC060E.4080504@wxs.nl> <41DC156B.8020803@seznam.cz> <41DC2781.9010104@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1104966545 3325 80.91.229.6 (5 Jan 2005 23:09:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 5 Jan 2005 23:09:05 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Jan 06 00:08:53 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CmKGq-00067Y-00 for ; Thu, 06 Jan 2005 00:08:53 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 308C312796; Thu, 6 Jan 2005 00:08:52 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 21164-06; Thu, 6 Jan 2005 00:08:50 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8E4C41277A; Thu, 6 Jan 2005 00:08:50 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 038B01277A for ; Thu, 6 Jan 2005 00:08:50 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 21327-02-2 for ; Thu, 6 Jan 2005 00:08:49 +0100 (CET) Original-Received: from smtp.seznam.cz (unknown [212.80.76.43]) by ronja.ntg.nl (Postfix) with SMTP id 1765612775 for ; Thu, 6 Jan 2005 00:08:49 +0100 (CET) Original-Received: (qmail 5177 invoked from network); 5 Jan 2005 23:08:46 -0000 Original-Received: from unknown (HELO ?127.0.0.1?) (vit.zyka@82.142.74.35) by smtp.seznam.cz with SMTP; 5 Jan 2005 23:08:46 -0000 User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <41DC2781.9010104@wxs.nl> X-Antivirus: avast! (VPS 0453-0, 27.12.2004), Outbound message X-Antivirus-Status: Clean X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:17742 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:17742 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