FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 11-27-2007, 09:07 PM
Neil Bothwick
 
Default Converting HTML to PDF or PS

On Tue, 27 Nov 2007 13:53:10 -0800, felix@crowfix.com wrote:

> These web pages use Javascript; some render so-so without javascript,
> some don't render at all well. What I would like is some firefox (or
> Konqueror or ...) command line option to render the page and save it
> as any other format -- jpg, pdf, ps, doesn't matter.

You could probably do this with a shell script that loads Konqueror with
the given URL and send it DCOP command(s) to print.


--
Neil Bothwick

Don't just do something, sit there!
 
Old 11-27-2007, 09:14 PM
 
Default Converting HTML to PDF or PS

On Tue, Nov 27, 2007 at 10:07:10PM +0000, Neil Bothwick wrote:
> On Tue, 27 Nov 2007 13:53:10 -0800, felix@crowfix.com wrote:
>
> > These web pages use Javascript; some render so-so without javascript,
> > some don't render at all well. What I would like is some firefox (or
> > Konqueror or ...) command line option to render the page and save it
> > as any other format -- jpg, pdf, ps, doesn't matter.
>
> You could probably do this with a shell script that loads Konqueror with
> the given URL and send it DCOP command(s) to print.

Can you expand on that? What are DCOP commands and how would I sent
them to Konqueror? Is this easy enough with, say, Perl?

--
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
Felix Finch: scarecrow repairman & rocket surgeon / felix@crowfix.com
GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o
--
gentoo-user@gentoo.org mailing list
 
Old 11-27-2007, 09:29 PM
 
Default Converting HTML to PDF or PS

On Tue, Nov 27, 2007 at 02:14:50PM -0800, felix@crowfix.com wrote:

> Can you expand on that? What are DCOP commands and how would I sent
> them to Konqueror? Is this easy enough with, say, Perl?

Never mind, google is my friend. This looks like it might do th
etrick. I have to find some way of using DCOP to print to PDF, and I
have to worry about setting up a KDE environment, but it looks doable.

--
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
Felix Finch: scarecrow repairman & rocket surgeon / felix@crowfix.com
GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o
--
gentoo-user@gentoo.org mailing list
 
Old 11-28-2007, 09:14 AM
Ralf Stephan
 
Default Converting HTML to PDF or PS

You wrote
> I need to convert web pages to PDF files under program control,

* app-text/htmldoc [N 1.8.27] <target>
"Convert HTML pages into a PDF document"
-fltk ssl

Use flags:

* fltk: Adds support for the Fast Light Toolkit gui interface
* ssl: Adds support for Secure Socket Layer connections


ralf
--
gentoo-user@gentoo.org mailing list
 
Old 11-28-2007, 03:02 PM
 
Default Converting HTML to PDF or PS

On Wed, Nov 28, 2007 at 11:14:33AM +0100, Ralf Stephan wrote:
> You wrote
> > I need to convert web pages to PDF files under program control,
>
> * app-text/htmldoc [N 1.8.27] <target>
> "Convert HTML pages into a PDF document"
> -fltk ssl

I tried, but it has too many deficiencies, and doesn't support
javascript. The pages don't render well enough.

> * fltk: Adds support for the Fast Light Toolkit gui interface

I need to it run under program control, not a gui. I could do gui
with firefox.

--
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
Felix Finch: scarecrow repairman & rocket surgeon / felix@crowfix.com
GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o
--
gentoo-user@gentoo.org mailing list
 

Thread Tools




All times are GMT. The time now is 08:53 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org