How to Use CODE2PDF
- Usage
code2pdf [options] input.txt > output.pdf
- Options
- --font_size
Set the page font size. If unspecified, the default font size is 10.
- --font_face
Set the page font face. Default value is Courier, and it must be PDF core fonts.
- --line_space
Set line spacing in points. Default value is font size +2.
- --line_number
Print Line number
- --page_size
Set page size. Default value is A4
- --page_height
Set the page Height
- --page_width
Set the page width
- --left_margin
Set Left margin
- --right_margin
Set Right margin
- --top_margin
Set Top margin
- --bottom_margin
Set Bottom margin
- --header
Print A Header which include file name, and icon optionally
- --page_number
Add Current page number to each page bottom
- --syntax
Core Function, Set Syntax language which will use different language module file
- --title
Set the title to be included in header. If unspecified, the default title will be the name of the file
- --icon
Image path which will be included in page header
- --help
Display usage info and exit
- --version
Print Version info
- --encode
Set Different Encode for creating PDF
- --output_file
Set Output file path and name. If unspecified, the default file name will be the name of the file as the pdf file name
|
Why donate to CODE2PDF?
This library is fully developed in my free time. By donating i can spend time on this project and not on others.
In addition, I offer to businesses a free solution to easily generate PDFs in Code Files, which saves them hundreds of dollars in development costs ...
Latest donations
Best donation
Download
|