Operating System - HP-UX
1748169 Members
4010 Online
108758 Solutions
New Discussion юеВ

Re: Convert Unix text to pdf

 
Nancy Stout
Frequent Advisor

Convert Unix text to pdf

I want to be able to convert some reports that are run on a Unix box to pdf format so that they can be viewed by me users. Is there a simple way to accomplish this?
6 REPLIES 6

Re: Convert Unix text to pdf

Nancy,

How about this product:

http://www.sanface.com/txt2pdf.html#download

HTH

Duncan

I am an HPE Employee
Accept or Kudo
Nancy Stout
Frequent Advisor

Re: Convert Unix text to pdf

Yes I saw that link. Just looking to see if there are other options.
A. Clay Stephenson
Acclaimed Contributor

Re: Convert Unix text to pdf

One of the best products that I have used for many years is Unform. http://www.unform.com/

It's not free but it is very powerful; it's easy to integrate into the lp subsystem. Because it contains an embedded programming language, it can recognize different text input documents (e.g. "My Report" at col 43, line 1, MM/DD/YYYY at col 73, line 3) and then apply an appropriate set of rules to format the output. In addition to PDF, it can also output amazing PCL formats including graphics, duplexing, color, barcode, ... .
If it ain't broke, I can fix that.
Emil Velez
Honored Contributor

Re: Convert Unix text to pdf

I have a printer driver on my PC that converts windows print jobs to PDF.. Just FTP it to your PC and use a pdf converter there.
Heironimus
Honored Contributor

Re: Convert Unix text to pdf

a2ps and ghostscript can do it.

a2ps -o - file.txt | ps2pdf - file.pdf
Nancy Stout
Frequent Advisor

Re: Convert Unix text to pdf

Thank you everyone for your suggestions. This will give me a very good starting point.