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


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

Generating PDF with password

From Rüdiger Fresemann <ruediger.fresemann@t-online.de>
Newsgroups comp.lang.clipper.visual-objects
Subject Generating PDF with password
Date 2020-02-11 08:46 +0100
Message-ID <haf4f6FgafjU1@mid.individual.net> (permalink)

Show all headers | 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