08-09-2009
Converting html to pdf perl
Hi All,
I have a requirement of converting an html form into pdf using perl.
The html form contains images, tables and css implementation. I tried using various perl modules but failed to achive the target.
I succeeded in generating a pdf from the html file using HTML::HTMLDoc, but the file was not able to read, is showing I/O error in Acrobat reader.
Can anyone please suggest how to proceed? Your help is appreciated!
With Regards
Dileep Pattayath
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a number of post script files (*.ps) which I need to convert into Pdf.
I am using the ps2pdf command for this, but the trouble is that this commands takes only one input at a time. So the command
ps2pdf *.ps doesnt work.
how can I make a script which will take each .ps file from... (3 Replies)
Discussion started by: jasjot31
3 Replies
2. AIX
my app creates pdf and prints them on windows. I want to run the same app on AIX 5.2. I convert PDF to PS using acroread command. But some options of acroread like landscape etc do not work. I came to know from google that there is bug with acroread for AIX with landscape option.
Can you suggest... (3 Replies)
Discussion started by: vinayakshukre
3 Replies
3. UNIX for Dummies Questions & Answers
Hi everybody! This is my first post. I am a student and I'm familiarizing myself with linux.
I have lots of directories each containing file called "zadaci.latex". I want to convert them to pdf's and rename them to <directory_name>.pdf.
I read alot on this forum and came up with this script:... (2 Replies)
Discussion started by: Element9
2 Replies
4. UNIX for Dummies Questions & Answers
Hi there,
is it possible to convert pdf files to Word with some free :p software or with some trick??? Now I'm working with LATEX and I can get pdf format but I would like to get .rtf or .doc files too:rolleyes:.
Lately I found something like that, but it wasn't free.
Thanks for any... (1 Reply)
Discussion started by: Giordano Bruno
1 Replies
5. Shell Programming and Scripting
Hi,
I am trying to convert html to pdf using perl module PDF::FromHTML, am getting the error as given below.
not well-formed (invalid token) at line 2, column 17, byte 56 at C:/Perl/lib/XML/Parser.pm line 187 at C:/Perl/site/lib/PDF/FromHTML.pm line 140
The perl code is as given... (2 Replies)
Discussion started by: DILEEP410
2 Replies
6. Shell Programming and Scripting
Hello, excuse my English... I'm trying to do a nautilus-script to transform a normal A4 pdf to another pdf with book format, ready to be printed (double sided). I mean, the script put pages in order and also put 2 pages per horizontal A4 page (p.e.: a pdf with 8 pages would look like: 8-1, 2-7,... (2 Replies)
Discussion started by: dokan
2 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I have been using Ghostscript to convert PDF to Postscript (PS) file.
GS version : 8.15.2. GS command used is :
gs -q -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pswrite -sOutputFile=output1.ps input1.pdf
File format conversion to PS is success in majority of the cases but some PDF files are... (0 Replies)
Discussion started by: geeveejey
0 Replies
8. UNIX for Advanced & Expert Users
Hi all:
Been racking my brain on this for the last couple of days and what has been most frustrating is that this is the last piece I need to complete a project.
There are numerous posts discussing mutt in this forum and others but I have been unable to find similar issues.
Running with... (1 Reply)
Discussion started by: raggmopp
1 Replies
9. UNIX for Dummies Questions & Answers
Hi!
On my Ubuntu I have thousands of files in a couple hundred directories. I'm trying to convert the pdf's to jpg's.
I used this command in terminal:
for fname in *.pdf; do convert $fname ${fname%.pdf}.jpg; doneIt works great but the problem is I have to run this in terminal for each... (2 Replies)
Discussion started by: martinsmith
2 Replies
10. Shell Programming and Scripting
Does anybody have idea of Converting secured pdf files to pdf using acroread ?
---------- Post updated at 04:49 PM ---------- Previous update was at 04:44 PM ----------
This file is not password protected. (4 Replies)
Discussion started by: Soham
4 Replies