Italian Espanol Deutsch English Francais
For any questions, please send ONLY this email.
I will only answer to your questions on it, so that everyone can enjoy the answers.
CODE2PDF is a CODE file to PDF with syntax converter written in Perl.
It allows the conversion of valid Perl, HTML and XML in PDF format, and is distributed under LGPL.
This library has been designed to handle mainly TABLE intertwined to generate invoices delivery,
and other official documents. It does not yet have all the program languages.
VERSION 1.03
2011-04-27
download
soutenir

Make a donation to help
develop the next release
donate

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

  • 2011-05-27 - Xiaofu Sun

Best donation

  • 200RMB - Xiaofu Sun

Download


ChangeLog