password in pdf file created by bullzip from navision 2009

elegeantelegeant Member Posts: 7
edited 2015-07-27 in NAV Three Tier
Hi

I would like to know how to set a password on a pdf file creating using bullzip. I know how to create the pdf file in Navision 2009 but do not know how to create a password for that/

thanks

Comments

  • navuser1navuser1 Member Posts: 1,329
    elegeant wrote:
    Hi

    I would like to know how to set a password on a pdf file creating using bullzip. I know how to create the pdf file in Navision 2009 but do not know how to create a password for that/

    thanks

    go through the details of bullzip com object. hope you'll find the answer.
    Now or Never
  • neilgfneilgf Member Posts: 148
    Hi.

    This may or may not help but does provide sample code though not for passwords but certificate passwords.
    http://www.bullzip.com/products/pdf/doc ... s/info.php

    Neil
  • navuser1navuser1 Member Posts: 1,329
    neilgf wrote:
    Hi.

    This may or may not help but does provide sample code though not for passwords but certificate passwords.
    http://www.bullzip.com/products/pdf/doc ... s/info.php

    Neil

    which version are you using ?
    Now or Never
  • juan_david_ordunajuan_david_orduna Member Posts: 1
    Hi,

    You can use the next code
    BullZipPDF.SetValue( 'OwnerPassword', <SelectedPasswd>);
    BullZipPDF.SetValue( 'UserPassword', <SelectedPasswd>);
    BullZipPDF.SetValue( 'EncryptionType', 'Standard128bit');
    BullZipPDF.SetValue( 'AllowAssembly', 'yes');
    BullZipPDF.SetValue( 'AllowCopy', 'yes');
    BullZipPDF.SetValue( 'AllowDegradedPrinting', 'yes');
    BullZipPDF.SetValue( 'AllowFillIn', 'yes');
    BullZipPDF.SetValue( 'AllowModifyAnnotations', 'yes');
    BullZipPDF.SetValue( 'AllowModifyContents', 'yes');
    BullZipPDF.SetValue( 'AllowPrinting', 'yes');
    BullZipPDF.SetValue( 'AllowScreenReader', 'yes');
    

    where <SelectedPasswd> is the desired text to password, and others values are the allowed settings in PDF, and BullZipPDF is the Automation : 'Bullzip'.PDFPrinterSettings
  • ajaxmaheshajaxmahesh Member Posts: 1
    Thanks!!!
    juan_david_orduna

    Your code is working....Thanks a lot
Sign In or Register to comment.