Problem
I want to convert a normal text file into a pdf file on my SCO Operating System. How can I do this?
Solution
Make sure that you have installed the latest PERL version on your system.
It has to be at least >=5.6.0.
The latest PERL version comes with the latest Maintenance Pack.
To check the version please run:# perl -vYou will also need two additional PERL Software Modules:
1) PDF::API2
---------
You can download it from here:http://search.cpan.org/dist/PDF-API2/lib/PDF/API2.pmDownload it to /tmp. Unzip and untar it. Now change directory to:
# cd /tmp/PDF-API2-0.71.001and run:# perl Makefile.PL# make# make install2) a2pdf source
------------
You can download it from here:http://perl.jonallen.info/projects/a2pdfDownload it to /tmp. Unzip and untar it. Now change directory to:
# cd /tmp/a2pdf-1.13and run:# perl Makefile.PL# make# make test# make installMake sure that the executable 2apdf is in your $PATH.
For Unixware7 add /opt/bin to your $PATH.
Now you can run:# a2pdf "ascii file" > "pdf file"NOTES: To take advantage of all features of a2pdf it may be
necessary to install a couple of other PERL modules.So for example to use Perl syntax highlighting you need to install Perl::Tidy.
You will get it from here:http://perltidy.sourceforge.net/