[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 271
  • Last Modified:

Converting Text files to PDF

Hi Guys
I am running RH ES4.0
Can anyone recommend a good command-line application that would convert a text file to pdf with a choice of font and page styles
I do not mind paying for it
Dory
0
dory550
Asked:
dory550
2 Solutions
 
mzalfresCommented:
Hi,

one of solutions which is quite easy to use and have some configuration possibilities is the 'pdf printer'.
You can install package like cups-pdf or similar (if you use cups printing system). Then you 'print' your
files to special printer which is in fact pdf file.

Let me know if this is what you need.
0
 
veedarCommented:
Check out txt2pdf....

http://www.sanface.com/txt2pdf.html
0
 
_iskywalker_Commented:
something which is useful, but could be hard to administrate (change fonts etc.) is a2ps:
a2ps text.txt > my.ps
ps2pdf my.ps
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
dory550Author Commented:
Iskywalker
I have been playing with your proposed solution for a while now. but documention is unclear
Do I use only the cli switches?
Is there a configuration file I can use with a2ps? where? What name?
Are there any clearer samples somewhere?
Thank you dory

0
 
dory550Author Commented:
veedar
I downloaded txt2pdf a few days ago but  it seems that their demo version does not read the cfg file
I seems however to work fine with the defaults.
Do you happen to know if their personal version,( once bought) lives up to al the feature they attribute to it?
I sent them an email but have had no response...
Thank you
Dory
0
 
dory550Author Commented:
mzalfres
I have cups
How do I implement your solution?
can I use CLI with it?
If yes. can you point mew to step by step installation?
Thank you
Dory
0
 
dory550Author Commented:
Iskywalker
Please ignore my response to your solution. I confused it with a diferent utility
Dory
0
 
veedarCommented:
Dory,
I have not used txt2pdf personal version so I can't say but I would not expect them to exaggerate their feature list.
0
 
dory550Author Commented:
veedar
I ended up using your solution
It is a real neet program
Thanks for your help
Dory
0
 
dory550Author Commented:
iskywalker
I did try your solution but fount txt2pdf much easier to use
Thanks however for your participation
Dory
0

Featured Post

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now