SourceFiles.org - Use the Source, Luke
Home | Register | News | Forums | Guide | MyLinks | Bookmark

Related Sites

Latest News
  General News
  Reviews
  Press Releases
  Software
  Hardware
  Security
  Tutorials
  Off Topic


Back to files

Current Version: 0.9.1

What is ascii2pdf?

ascii2pdf is a simple ascii text to simple pdf translator. There are not many options, but it is good for translating simple text documents to pdf format.

Requirements

  • perl
  • The PDF::Create module for perl.

Installation

Check the first line of ascii2pdf to see if it is pointing at the correct location of your perl interpreter. If not, change this line so that it contains a correct path to perl. Also, make sure you have the PDF::Create module installed.

Usage

ascii2pdf [options] <file>.txt

Where [options] are:
-l for landscape
-f <font> is Courier or Helvetica (default: Courier) -p <point size> is the point size (default: 10) -s <side margin> is # pixels for the left margin (default: 10) -t <top margin> is # pixels for the top margin (default: 30)

The resulting pdf file is output as <file>.pdf.

ascii2pdf recognizes Control-L characters (form feeds) as page breaks.

Author and Homepage

Author: Michael Arndt
Email: marndt@bulldog.tzo.org
Home Page: http://bulldog.tzo.org/ascii2pdf/ascii2pdf.html


Other Sites

Discussion Groups
  Beginners
  Distributions
  Networking / Security
  Software
  PDAs

About | FAQ | Privacy | Awards | Contact
Comments to the webmaster are welcome.
Copyright 2006 Sourcefiles.org All rights reserved.