LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-13-2005, 01:16 PM   #1
praefex
Member
 
Registered: Dec 2002
Posts: 32

Rep: Reputation: 15
Question HTML to PDF -> Need software!!! Help!


Hey All -

I really need some help. I need to find Linux server side software to convert HTML to PDF. I have tried all the free stuff and it doesn't render the HTML quite right. Anyone have any leads on a great HTML to PDF renderer? Thanks for your help!

-Matt
 
Old 06-13-2005, 01:24 PM   #2
sudya
LQ Newbie
 
Registered: Mar 2005
Location: CA
Distribution: SuSE, Debian
Posts: 27

Rep: Reputation: 15
Try OpenOffice, its writer is doing a pretty good job at that
 
Old 06-13-2005, 01:32 PM   #3
praefex
Member
 
Registered: Dec 2002
Posts: 32

Original Poster
Rep: Reputation: 15
interesting...

Ok I can do openoffice, is there a way I can generate the PDF's with a command line? Do you have any examples?
 
Old 06-13-2005, 01:46 PM   #4
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
Well, I usually just print the page through my browser to a postscript file then use "ps2pdf" to convert the printed output to pdf. Works very well.

printed file from browser: "sample.ps"

ps2pdf sample.ps sample.pdf

KC
 
Old 06-13-2005, 02:20 PM   #5
praefex
Member
 
Registered: Dec 2002
Posts: 32

Original Poster
Rep: Reputation: 15
Ahh ok - I wonder if I can use ghostscript to get the PS file, then try that for the conversion!

I'll let ya know ;-)
 
Old 07-10-2005, 02:26 PM   #6
nuro305
Member
 
Registered: Mar 2004
Location: New Mexico
Distribution: FC4, SuSE 9.3 Pro, SuSE 10.1, SLED 10 SDK
Posts: 128

Rep: Reputation: 15
LOok at the FOP Libraries in the XML part of apache.com ;-)

That'll do it.

Paul
 
Old 12-02-2005, 02:08 PM   #7
ttilt
Member
 
Registered: Dec 2003
Location: Campinas, Brasil
Distribution: slackware 10
Posts: 150

Rep: Reputation: 15
any success praefex?
 
Old 01-03-2006, 11:49 PM   #8
alexisb
LQ Newbie
 
Registered: Jun 2003
Location: Lima, Peru
Distribution: Fedora Core 3
Posts: 17

Rep: Reputation: 0
Hi,

Kencaz, I did as you suggested, using Fedora Core 3 I printed this web page from Firefox to test.ps, then run "$ ps2pdf test.ps test.pdf" and got a working pdf, I got all the data, however I don't have the output exactly as the original page like you get if using Adobe Acrobat on Windows.

Maybe it's related to Firefox, the print preview is not showing the web page as it looks in the screen, I have tested with other web pages (including some of mine) and the preview it's not the same as the original web page, I have also confirmed there is no additional CSS for a "print only" version. Any idea?

Regards!
 
Old 01-04-2006, 10:07 PM   #9
shengchieh
Member
 
Registered: Jul 2004
Location: Palo Alto, CA
Distribution: #! Korora
Posts: 472

Rep: Reputation: 30
Take a look at

http://www.oakworth.demon.co.uk/gymnast.htm (non-commercial; Gymnast)
http://sector7g.wurzel6.de/pdfcreator/index_en.htm (non-commercial; PDFCreator)
http://sourceforge.net/projects/pdfcreator/ (non-commercial; PDFCreator)
http://www.eprg.org/pdfcorner/text2pdf/ (non-commercial; text2pdf)
http://convert.neevia.com/ (commercial, but free 1MB; converts to PDF and others)

Sheng-Chieh
 
Old 01-05-2006, 08:32 AM   #10
steve1972
Member
 
Registered: Jan 2005
Posts: 62

Rep: Reputation: 15
Have you tried HTMLDOC? ([url]http://www.easysw.com/htmldoc/) This software says it converts HTML files and web pages into indexed HTML, PostScript and PDF files. You can try a free demo there too. Let me know how if it worked for you.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Merge Of Html Files Into A Single Html (or Pdf) fiomba Linux - Software 10 05-11-2018 11:28 AM
pdf 2 html puishor Linux - Software 1 07-29-2005 02:38 AM
pdf graphics (diagram) to html tcma Linux - Software 0 10-13-2004 01:03 PM
Converting pdf to Html linuxeagle Linux - General 1 04-23-2004 08:03 AM
Converting html files to pdf saurya_s Linux - Software 1 01-12-2004 06:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:11 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
Open Source Consulting | Domain Registration