Code Monkey home page Code Monkey logo

password-protected-pdf-tdl's Introduction

Password-Protected-PDF-TDL

Check out source code here - https://github.com/tejavarma-aln/Password-Protected-PDF-TDL/tree/master/PdfLocker

Highlights

1)Exports Ledger Statements and Sales Invoices to PDF with Password Protected

2)There are two Kinds of Password - User password and Owner Password

3)With user password they can view the pdf but cannot alter

4)Screen readers are allowed to read the content

Requirements

1)PdfLocker.dll - for password protection

2)PdfLocker.txt(TDL) - for handling export and Invoking dll from tally

3).Net Framework v4 or higher

You can Download from here : https://dotnet.microsoft.com/download/dotnet-framework/net40

Get Started

1)Download all the files (PdfLocker.dll,PdfLocker.txt,itextsharp.dll)

2)Register the dll - PdfLocker.dll (with below steps)

3)Load the tcp in tally - PdfLocker.txt

4)Export Ledger Statement or Sales Invoices by clicking on Encrypt PDF Button (Right Side)

5)It will ask for user password and owner password

6)After that Report will be exported and Encrypted with given passwords

7)PDF's will be Stored in Encrypted PDF's folder in Tally working directory(Tally Folder)

Registering the DLL

  1. Open CMD in administrator Mode (Elevated mode)

        For 64 Bit
    
  2. Type cd C:\Windows\Microsoft.NET\Framework64\v4.0.30319 ;; change directory

        For 32 Bit
    
  3. Type cd C:\Windows\Microsoft.NET\Framework\v4.0.30319 ;; change directory

  4. Type regasm PdfLocker.dll /codebase ;;Give Full path of the PdfLocker.dll file

  5. you will get a success message after it registered

You can extend the tdl as per your requirements

password-protected-pdf-tdl's People

Contributors

tejavarma-aln avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.