6.2.8.5.5 FontSize and LPI
"FontSize=" is always specified in typographic "points" (1/72 inches) with the default being 12pt for LPI=6
(Lines Per Inch) and 9pt for LPI=8. When 8 LPI is chosen then 9pt is forced. Valid font sizes are 9pt, 10pt,
11pt or 12pt.
The font that is used is always "Courier New" and cannot be changed.
6.2.8.5.6 Columns
The "Columns=" value should normally be specified as 0 (zero) to ensure a proper default character pitch
of 10 characters per inch. Specifying a nonzero "Columns=" value causes all characters on your print line
to either be squished or stretched in an effort to try and honor your specified value, usually resulting in a
very ugly looking printout.
6.2.8.5.7 GreenBar, FeedHoles and BarColor
The default for "GreenBar=" and "FeedHoles=" is "No". "BarColor=" defaults to "Green". Other valid "Bar-
Color=" values are: "Blue", "Yellow", "Red", "No" or "#rrggbb".
Specifying "BarColor=No" will draw an outlined box around the area where the green bars would normally
be, but without being filled in with any background color (i.e. the color of the bar is set to "transparent").
Custom green bar colors can be specified using the "#RRGGBB" html RGB color value format.
6.2.8.5.8 Compression
The “Compress=Yes” option (the default) performs normal ZLIB compression of the actual PDF page data
stream in order to conserve Windows host disk space. “Compress=No” should only be used when repor-
ting a problem viewing a HercPrt generated PDF file since such problems are usually the result of an im-
properly formatted PDF data stream and using ZLIB compression makes it difficult to see the actual PDF
codes.
6.2.9 txt2pdf Utility
HercPrt also ships with a command-line tool called "txt2pdf" which will convert a text file into either a PDF
or RTF file.
All of the PDF options that can be specified to HercPrt can also be specified to txt2pdf. Note however that
just like with HercPrt, when converting text files to RTF files then not all of the PDF options are supported.
6.2.9.1 Syntax
Descriptive
TXT2PDF [-option [-option ... ]]
-i
infile [-o outfile]
Diagram
Êʬ¬¬ TXT2PDF ¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬§¬¬¬¬¬¬ -i
infile ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬Ê
-option ¬¬¬¨¬¬¬¯