Create your personal txt2pdf.cfg file.
You can change the value of lf_extra, tmpdir, author,
creator, keywords, subject, title,
paper, landscape, font, cols, lines,
tab, pointSize, vertSpace, yellow, red,
green, blue, bold, italic, bo_it, columns2,
npage, border, allowinparse, beginfile and endfile
variables.
With lf_extra you can set how many extra characters are written for
\n.
NOTE: change to 1 for PCs (where \n => <CR><LF>)
(Default 0)
With tmpdir you can set the directory for the temporary files.
You can use relative and absolute path. Default is ./
It's better if you use the specific temporary directory of your system
e.g. /tmp/ on UNIX systems
/temp/ on Windows systems
/desktop folder/temp on MacOS
With author, creator, keywords, subject,
title you can set the relative fields of PDF Info dictionary
that provides information about the document.
Author | The name of the person who created the document |
Creator | If the document was converted into a PDF document from another form, this is the name of the application that created the original document |
Keywords | Keywords associated with the document |
Subject | The subject of the document |
Title | The document's title |
If the value of author, creator, keywords, subject is not
known there are omitted.
If the value of title is null, the file name is introduced.
The default paper value is letter. You can use also A3
(or a3), A4 (or a3), A5 (or a5), widthxheight
Default is portrait, if you want to swap to landscape you have to set
landscape variable to 1 (Default 0).
With cols you can set max chars per output line (default 80)
With lines you can set max lines per output page (default
(pageHeight-72)/vertSpace, pageHeight depends from paper select)
With tab you can set the number of white space char for every tab
(default 8)
The default font value is Courier. You can use also
Helvetica or Times
With pointSize you can set the font point size (default 10)
vertSpace is the distance between two lines (default 12)
With yellow, red, green, blue you can set a
file where you can list words you want to be colored yellow, red, green,
blue in PDF output file.
With bold, italic and bo_it you can set a file where you can list
words you want to be marked bold, italic or bolditalic in PDF output file.
With columns2 you can configure the conversion to 2-columns
PDF files.
With npage you can add page number in every page
With border you can add a border in every page
With allowinparse you can allow the parse
With beginfile and endfile you can set a file where you can
add the text you want to be added at the beginning or at the end of every
file.