LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can any one help me in doing this? (https://www.linuxquestions.org/questions/linux-newbie-8/can-any-one-help-me-in-doing-this-679737/)

prakash.akumalla 10-29-2008 06:12 AM

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.

prakash.akumalla 10-29-2008 06:15 AM

Can This be possible with out creating the text file either. Can we directly redirect it to a pdf file?

Thanks,
Prakash.

knudfl 10-29-2008 12:37 PM

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

TB0ne 10-29-2008 12:46 PM

Quote:

Originally Posted by prakash.akumalla (Post 3324880)
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.


All times are GMT -5. The time now is 01:07 AM.