Skip to content

rohit357/PDF_Tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

PDF Generator & Merger πŸ“–πŸ—žοΈ

Create beautiful PDFs and merge documents effortlessly!

πŸ’» Prerequisites

🧩 Python 3.6+ - Download Python πŸ“¦ Required Packages - Install using:

pip install -r requirements.txt

πŸ› οΈ wkhtmltopdf Installation (Windows)

  1. πŸ“₯ Download installer from wkhtmltopdf.org
  2. πŸ“ Run installer using default settings
  3. πŸ“ Add to PATH:
    • Right-click Start > System > Advanced system settings
    • Environment Variables > Path > Edit > Add:
    C:\Program Files\wkhtmltopdf\bin
    
  4. πŸ‚― Verify installation in Command Prompt:
wkhtmltopdf --version

🎨 Using the Tool

🌟 Generate Stylish PDF

python main.py

πŸ“ Choose option 1 and follow prompts!

  • Creates modern, formatted PDFs
  • Automatic saving as generated_pdf.pdf

πŸ”­ Merge PDF Files

python main.py

πŸ“ Choose option 2 and:

  1. Enter filenames separated by spaces
    file1.pdf file2.pdf document.docx
    
  2. Find merged PDF as super_merged.pdf

🚨 Troubleshooting

πŸ”΄ "Could not find wkhtmltopdf"

  • Verify PATH configuration
  • Reinstall wkhtmltopdf if needed

πŸ”΄ File Not Found Errors

  • Keep files in same directory
  • Use exact filenames with extensions

πŸ”΄ Formatting Issues

  • Avoid special characters in content
  • Use simple text formatting

πŸŽ‰ Happy Document Creating! Need help? Email support

Rohit Sharma

leviathan_rohit@proton.me

About

A simple PDF Generator and Merger written in python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages