LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-29-2008, 07:12 AM   #1
prakash.akumalla
Member
 
Registered: Jun 2008
Location: India
Posts: 109

Rep: Reputation: 15
Can any one help me in doing this?


Hai,

I have written a script in perl to redirect the output of the file to a text file. Its working fine.

My doubt is can we make the output to a pdf file instead of a text file by using perl scripting?

IS there any possibilities for doing this?

If there is any such type of possibility please help me in doing so...

Thanks,
Prakash.
 
Old 10-29-2008, 07:15 AM   #2
prakash.akumalla
Member
 
Registered: Jun 2008
Location: India
Posts: 109

Original Poster
Rep: Reputation: 15
Can This be possible with out creating the text file either. Can we directly redirect it to a pdf file?

Thanks,
Prakash.
 
Old 10-29-2008, 01:37 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
Convert from text or from something else ?? Not specified ?

There are perl tools converting various files, just google it.

Googling .. perl txt2pdf .. will show
http://freshmeat.net/projects/txt2pdf/
and
http://www.sanface.com/txt2pdf.html#download ( shareware )
and probably more, to see how it is done.

Regards
 
Old 10-29-2008, 01:46 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,933

Rep: Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692
Quote:
Originally Posted by prakash.akumalla View Post
Can This be possible with out creating the text file either. Can we directly redirect it to a pdf file?

Thanks,
Prakash.
Yes, you can....

http://search.cpan.org/~markusb/PDF-.../PDF/Create.pm

Perl modules exist for all sorts of PDF manipulation/creation. Search CPAN for more.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off




All times are GMT -5. The time now is 08:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration