Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #12835

Generating PDF with password

Path csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Rüdiger Fresemann <ruediger.fresemann@t-online.de>
Newsgroups comp.lang.clipper.visual-objects
Subject Generating PDF with password
Date Tue, 11 Feb 2020 08:46:46 +0100
Lines 25
Message-ID <haf4f6FgafjU1@mid.individual.net> (permalink)
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 8bit
X-Trace individual.net eVH/BiOnP6B3+BZNDoaU+QLYqWnePzitUsWmRYAwGBPwNF31kC
Cancel-Lock sha1:PcjTLEyXCgUqHPu1ny/ziy8Nexs=
X-Mozilla-News-Host news://news.individual.de:119
User-Agent Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.4.2
Xref csiph.com comp.lang.clipper.visual-objects:12835

Show key headers only | View raw


Hi,

I use an own generated OLEAutoobject, which I use für generating Word 
documents. I save the documents as PDF. This works fine with following 
commands:

oMSword:Activedocument:ExportAsFixedFormat(cPDFName,17,false,,0,,,0,,,,,true,,)

or much easier:

oMSword:Activedocument:SaveAs(cPDFName,17)

Now I want to have an password for opening the PDF document. In Word you 
only have to check a checkbox and set an password. In the 
MS-documentation for this function the password is the 4th parametr, f.e.:

oMSword:Activedocument:SaveAs(cPDFName,17,false,"Passwort")

But this does not work.

Does anybody have had success with generating PDF documents WITH password?

Thanks.

Pasadena

Back to comp.lang.clipper.visual-objects | Previous | Next | Find similar | Unroll thread


Thread

Generating PDF with password Rüdiger Fresemann <ruediger.fresemann@t-online.de> - 2020-02-11 08:46 +0100

csiph-web