* [NTG-context] pdf properties
@ 2024-08-29 7:43 Thomas Meyer
2024-08-29 10:02 ` [NTG-context] " Hans Hagen
2024-08-29 11:29 ` Thomas Meyer
0 siblings, 2 replies; 5+ messages in thread
From: Thomas Meyer @ 2024-08-29 7:43 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 160 bytes --]
Hi,
how can I set the pdf document properties with ConTeXt. For example, so
that a document can be printed but not copied, etc.
Thanks for any advice
Thomas
[-- Attachment #1.2: Type: text/html, Size: 424 bytes --]
[-- Attachment #2: Type: text/plain, Size: 511 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* [NTG-context] Re: pdf properties
2024-08-29 7:43 [NTG-context] pdf properties Thomas Meyer
@ 2024-08-29 10:02 ` Hans Hagen
2024-08-29 11:29 ` Thomas Meyer
1 sibling, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2024-08-29 10:02 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 8/29/2024 9:43 AM, Thomas Meyer wrote:
> Hi,
>
> how can I set the pdf document properties with ConTeXt. For example, so
> that a document can be printed but not copied, etc.
context --help --expert
mtx-context | --ownerpassword encrypt the (pdf) file using
this master password
mtx-context | --userpassword use an additional password for
opening the document
mtx-context | --permissions list of: print, modify,
extract, add, fillin, assemble, quality
mtx-context |
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* [NTG-context] Re: pdf properties
2024-08-29 7:43 [NTG-context] pdf properties Thomas Meyer
2024-08-29 10:02 ` [NTG-context] " Hans Hagen
@ 2024-08-29 11:29 ` Thomas Meyer
2024-08-29 14:50 ` Hans Hagen
1 sibling, 1 reply; 5+ messages in thread
From: Thomas Meyer @ 2024-08-29 11:29 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 856 bytes --]
Thank you, Hans,
I see it in the Terminal but I not really know to work with it.
Sorry, I need more help.
Thomas
Am 29.08.24 um 09:43 schrieb Thomas Meyer:
> Hi,
>
> how can I set the pdf document properties with ConTeXt. For example,
> so that a document can be printed but not copied, etc.
>
> Thanks for any advice
>
> Thomas
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist :ntg-context@ntg.nl /https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
> webpage :https://www.pragma-ade.nl /https://context.aanhet.net (mirror)
> archive :https://github.com/contextgarden/context
> wiki :https://wiki.contextgarden.net
> ___________________________________________________________________________________
[-- Attachment #1.2: Type: text/html, Size: 2070 bytes --]
[-- Attachment #2: Type: text/plain, Size: 511 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* [NTG-context] Re: pdf properties
2024-08-29 11:29 ` Thomas Meyer
@ 2024-08-29 14:50 ` Hans Hagen
2024-08-29 15:23 ` Thomas Meyer
0 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2024-08-29 14:50 UTC (permalink / raw)
To: ntg-context
On 8/29/2024 1:29 PM, Thomas Meyer wrote:
> Thank you, Hans,
>
> I see it in the Terminal but I not really know to work with it.
> Sorry, I need more help.
well ...
>context oeps --ownerpassword=hans --userpassword=hans
--permissions=access,print
i've added reporting of permissions to
>mtxrun --script pdf --info oeps.pdf --ownerpassword=hans
--userpassword=hans
so one gets this:
mtx-pdf | filename > oeps.pdf
mtx-pdf | pdf version > 1.7
mtx-pdf | major version > 1
mtx-pdf | minor version > 7
mtx-pdf | number of pages > 1
mtx-pdf | title > Häns Hägen
mtx-pdf | creator > LuaMetaTeX 2.11.05 20240828 +
ConTeXt LMTX 2024.08.26 18:05
mtx-pdf | producer > LuaMetaTeX
mtx-pdf | author > <unset>
mtx-pdf | creation date > D:20240829164734+02'00
mtx-pdf | modification date > D:20240829164734+02'00
mtx-pdf | page mode > UseNone
mtx-pdf | encrypted > yes
mtx-pdf | permissions > access print
mtx-pdf | cropbox > pages: 1-1, width: 17.791482016,
height: 22.680846484
(in next upload, i had to take care of decrypting strings)
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* [NTG-context] Re: pdf properties
2024-08-29 14:50 ` Hans Hagen
@ 2024-08-29 15:23 ` Thomas Meyer
0 siblings, 0 replies; 5+ messages in thread
From: Thomas Meyer @ 2024-08-29 15:23 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 2593 bytes --]
Thank you, Hans,
that helps!
Greetings
Thomas
Am 29.08.24 um 16:50 schrieb Hans Hagen:
> On 8/29/2024 1:29 PM, Thomas Meyer wrote:
>> Thank you, Hans,
>>
>> I see it in the Terminal but I not really know to work with it.
>> Sorry, I need more help.
> well ...
>
> >context oeps --ownerpassword=hans --userpassword=hans
> --permissions=access,print
>
> i've added reporting of permissions to
>
> >mtxrun --script pdf --info oeps.pdf --ownerpassword=hans
> --userpassword=hans
>
> so one gets this:
>
> mtx-pdf | filename > oeps.pdf
> mtx-pdf | pdf version > 1.7
> mtx-pdf | major version > 1
> mtx-pdf | minor version > 7
> mtx-pdf | number of pages > 1
> mtx-pdf | title > Häns Hägen
> mtx-pdf | creator > LuaMetaTeX 2.11.05 20240828 +
> ConTeXt LMTX 2024.08.26 18:05
> mtx-pdf | producer > LuaMetaTeX
> mtx-pdf | author > <unset>
> mtx-pdf | creation date > D:20240829164734+02'00
> mtx-pdf | modification date > D:20240829164734+02'00
> mtx-pdf | page mode > UseNone
> mtx-pdf | encrypted > yes
> mtx-pdf | permissions > access print
> mtx-pdf | cropbox > pages: 1-1, width: 17.791482016,
> height: 22.680846484
>
> (in next upload, i had to take care of decrypting strings)
>
> Hans
>
> -----------------------------------------------------------------
> Hans Hagen | PRAGMA ADE
> Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
> tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
> -----------------------------------------------------------------
>
> ___________________________________________________________________________________
>
> If your question is of interest to others as well, please add an entry
> to the Wiki!
>
> maillist : ntg-context@ntg.nl /
> https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
> webpage : https://www.pragma-ade.nl / https://context.aanhet.net
> (mirror)
> archive : https://github.com/contextgarden/context
> wiki : https://wiki.contextgarden.net
> ___________________________________________________________________________________
>
[-- Attachment #1.2: Type: text/html, Size: 4424 bytes --]
[-- Attachment #2: Type: text/plain, Size: 511 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-08-29 15:25 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-29 7:43 [NTG-context] pdf properties Thomas Meyer
2024-08-29 10:02 ` [NTG-context] " Hans Hagen
2024-08-29 11:29 ` Thomas Meyer
2024-08-29 14:50 ` Hans Hagen
2024-08-29 15:23 ` Thomas Meyer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).