Skip to Content

How can I protect with password PDF files using PowerBuilder 12.5

Hello:

Does anyone know how can I protect with password PDF files using PowerBuilder 12.5

I'll appreciate any help

Regards

SandraE

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Feb 09, 2017 at 05:38 PM

    Take a look at PDFtk Server...

    https://www.pdflabs.com/tools/pdftk-server/

    It is a command-line tool that you can use to do various things with PDFs. For example to password protect a PDF, run the following command...

    pdftk 1.pdf output 1.128.pdf owner_pw foo user_pw baz allow AllFeatures

    The password for the PDF will then be "baz".

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 09, 2017 at 07:40 PM

    Hi Shenn

    I will test the tool.

    Thanks :)

    SandraE

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 09, 2017 at 08:48 PM

    You can use this to run the external app and wait for it to complete. The built in Run function does not wait.

    http://www.topwizprogramming.com/freecode_runandwait.html

    Add comment
    10|10000 characters needed characters exceeded