Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Converting html in a printable format
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Tragetaschen
n00b
n00b


Joined: 27 Nov 2003
Posts: 38

PostPosted: Thu Feb 12, 2004 4:23 pm    Post subject: Converting html in a printable format Reply with quote

Hi,

I'm currently searching for a programm that lets me convert a "simple" html4.0+css file in a printable format like ps.

I know that every up-to-date gui-browser can show those files on screen and offers a "print"-function that does a pretty good job, but I'm looking for a commandline-tool that does this printing job.

I used the last day to search for a tool, but something like html2ps and everything else I found, do not support css enough.

Is somebody aware of a tool or a combination of tools that can do the job?

Thanks and Greetings
_________________
This signature is left as an exercise for the reader.
Back to top
View user's profile Send private message
dr_strange
Guru
Guru


Joined: 16 Apr 2002
Posts: 480
Location: Cambridge, UK

PostPosted: Thu Feb 12, 2004 8:10 pm    Post subject: Reply with quote

Hello,

emerge htmldoc

It makes pdf files out of html documents.
Back to top
View user's profile Send private message
Tragetaschen
n00b
n00b


Joined: 27 Nov 2003
Posts: 38

PostPosted: Thu Feb 12, 2004 11:26 pm    Post subject: Reply with quote

dr_strange wrote:
Hello,

emerge htmldoc

It makes pdf files out of html documents.


Unfortunately it does not support CSS yet (it will in the next version...)

Thanks for your help!

Greetings
_________________
This signature is left as an exercise for the reader.
Back to top
View user's profile Send private message
ecatmur
Advocate
Advocate


Joined: 20 Oct 2003
Posts: 3595
Location: Edinburgh

PostPosted: Thu Feb 12, 2004 11:57 pm    Post subject: Reply with quote

htmldoc uses the CUPS layout engine, which AFAICR is not ideal and is nowhere near as powerful as Gecko or KHTML.

It's crazy - Gecko is easily embeddable, why has no-one looked into embedding it headless and calling the print code?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum