Skip to content

PyroPhenom/code2pdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

code2pdf Project to PDF Conversion Tool

code2pdf is a program that converts all text-type files within a specified folder into a single PDF file. It attaches the directory structure diagram at the beginning of the PDF and appends the contents of each file afterward.

中文 | عربي | বাংলা | Deutsch | Français | हिंदी | 日本 | 한국인 | Português | Русский

Quick Start

  1. Place the code2pdf tool inside your project folder directory.
  2. Run code2pdf and take a sip of water.
  3. open the generated file 1.pdf to view the results.

Parameters

Usage of code2pdf:

-addfiles string

If the generated PDF is missing some files, manually add them using this parameter. For example, -addfiles=".abc|.cba"

-dir string

Specify the folder you want to convert to PDF.

-fontfile string

Set the font file path (default "C:\Windows\Fonts\simfang.ttf").

-fontsize int

Set the font size in the PDF (default 14).

-fonttype string

Specify the font format in the font file to use (default "fangsong").

-pdfname string

Set the file name of the converted PDF (default "1.pdf").

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages