unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* html printing with dired
@ 2004-01-24  9:16 Fabian Braennstroem
  0 siblings, 0 replies; 9+ messages in thread
From: Fabian Braennstroem @ 2004-01-24  9:16 UTC (permalink / raw)


Hello,

similar to that 'postscript print buffer' command a couple weeks ago, I
want to print several HTML-Files. There is no problem to mark them under
dired, but how can I print in HTML-Format? Maybe there any
command/function from the w3-browser which I can use?

Thanks!
Fabian

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: html printing with dired
       [not found] <mailman.1264.1074935418.928.help-gnu-emacs@gnu.org>
@ 2004-01-24 12:45 ` Jesper Harder
  2004-01-26 13:56   ` Fabian Braennstroem
       [not found]   ` <mailman.1362.1075125563.928.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 9+ messages in thread
From: Jesper Harder @ 2004-01-24 12:45 UTC (permalink / raw)


Fabian Braennstroem <f.braennstroem@gmx.de> writes:

> similar to that 'postscript print buffer' command a couple weeks
> ago, I want to print several HTML-Files. There is no problem to mark
> them under dired, but how can I print in HTML-Format? Maybe there
> any command/function from the w3-browser which I can use?

You can run a shell command on the files with `!', e.g.

  ! lynx -dump ? | lpr

to print the files as formatted by Lynx.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: html printing with dired
  2004-01-24 12:45 ` html printing with dired Jesper Harder
@ 2004-01-26 13:56   ` Fabian Braennstroem
       [not found]   ` <mailman.1362.1075125563.928.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 9+ messages in thread
From: Fabian Braennstroem @ 2004-01-26 13:56 UTC (permalink / raw)


Hello,

On Sat, 2004-01-24 at 13:45, Jesper Harder wrote:

> You can run a shell command on the files with `!', e.g.
> 
>   ! lynx -dump ? | lpr
> 
> to print the files as formatted by Lynx.

Thanks that works well, but is there no possibility to get a nice
HTML-Formatting?

Greetings!
Fabian

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: html printing with dired
       [not found]   ` <mailman.1362.1075125563.928.help-gnu-emacs@gnu.org>
@ 2004-01-26 14:47     ` Jesper Harder
  2004-01-28 13:22       ` Fabian Braennstroem
  2004-01-27 16:49     ` Colin Marquardt
  1 sibling, 1 reply; 9+ messages in thread
From: Jesper Harder @ 2004-01-26 14:47 UTC (permalink / raw)


Fabian Braennstroem <f.braennstroem@gmx.de> writes:

> On Sat, 2004-01-24 at 13:45, Jesper Harder wrote:
>
>> You can run a shell command on the files with `!', e.g.
>> 
>>   ! lynx -dump ? | lpr
>> 
>> to print the files as formatted by Lynx.
>
> Thanks that works well, but is there no possibility to get a nice
> HTML-Formatting?

You could try 'a2ps' which can use Netscape to render the page and
save to Postscript.  There's also something called 'html2ps', though I
couldn't make it work when I tried it.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: html printing with dired
       [not found]   ` <mailman.1362.1075125563.928.help-gnu-emacs@gnu.org>
  2004-01-26 14:47     ` Jesper Harder
@ 2004-01-27 16:49     ` Colin Marquardt
  2004-01-28 13:27       ` Fabian Braennstroem
       [not found]       ` <mailman.1497.1075292644.928.help-gnu-emacs@gnu.org>
  1 sibling, 2 replies; 9+ messages in thread
From: Colin Marquardt @ 2004-01-27 16:49 UTC (permalink / raw)


Fabian Braennstroem <f.braennstroem@gmx.de> writes:

> On Sat, 2004-01-24 at 13:45, Jesper Harder wrote:
>
>> You can run a shell command on the files with `!', e.g.
>> 
>>   ! lynx -dump ? | lpr
>> 
>> to print the files as formatted by Lynx.
>
> Thanks that works well, but is there no possibility to get a nice
> HTML-Formatting?

While trying to construct an "emacs --batch -l ..." line as a replacement
for the "lynx -dump ?" part, I discovered that htmlize.el comes with a
command htmlize-many-files-dired which should do what you want.

HTH,
  Colin

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: html printing with dired
  2004-01-26 14:47     ` Jesper Harder
@ 2004-01-28 13:22       ` Fabian Braennstroem
  0 siblings, 0 replies; 9+ messages in thread
From: Fabian Braennstroem @ 2004-01-28 13:22 UTC (permalink / raw)


On Mon, 2004-01-26 at 15:47, Jesper Harder wrote:

> > On Sat, 2004-01-24 at 13:45, Jesper Harder wrote:
> >
> >> You can run a shell command on the files with `!', e.g.
> >> 
> >>   ! lynx -dump ? | lpr
> >> 
> >> to print the files as formatted by Lynx.
> >
> > Thanks that works well, but is there no possibility to get a nice
> > HTML-Formatting?
> 
> You could try 'a2ps' which can use Netscape to render the page and
> save to Postscript.  There's also something called 'html2ps', though I
> couldn't make it work when I tried it.

a2ps doesn't work yet. Somehow the 'netscape -remote 'saveAS...' doesn't
work.
Thanks anyways!
Greetings
Fabian

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: html printing with dired
  2004-01-27 16:49     ` Colin Marquardt
@ 2004-01-28 13:27       ` Fabian Braennstroem
       [not found]       ` <mailman.1497.1075292644.928.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 9+ messages in thread
From: Fabian Braennstroem @ 2004-01-28 13:27 UTC (permalink / raw)


Hello,

On Tue, 2004-01-27 at 17:49, Colin Marquardt wrote:

> While trying to construct an "emacs --batch -l ..." line as a replacement
> for the "lynx -dump ?" part, I discovered that htmlize.el comes with a
> command htmlize-many-files-dired which should do what you want.
I don't think it works for my problem. htmlize just transforms
text-files into html. But I want to print out nice formatted HTML files.

Greetings!
Fabian

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: html printing with dired
       [not found]       ` <mailman.1497.1075292644.928.help-gnu-emacs@gnu.org>
@ 2004-01-28 14:44         ` Colin Marquardt
  2004-01-28 17:55           ` Fabian Braennstroem
  0 siblings, 1 reply; 9+ messages in thread
From: Colin Marquardt @ 2004-01-28 14:44 UTC (permalink / raw)


Fabian Braennstroem <f.braennstroem@gmx.de> writes:

> Hello,
>
> On Tue, 2004-01-27 at 17:49, Colin Marquardt wrote:
>
>> While trying to construct an "emacs --batch -l ..." line as a replacement
>> for the "lynx -dump ?" part, I discovered that htmlize.el comes with a
>> command htmlize-many-files-dired which should do what you want.

> I don't think it works for my problem. htmlize just transforms
> text-files into html. But I want to print out nice formatted HTML files.

Oh, I misread. 

Looking at Mozilla's -remote command as suggested, it seems that "saveAs"
is not yet implemented (http://mozilla.org/unix/remote.html and following
the links there).

You could try htmldoc (http://www.easysw.com/htmldoc/, GPLed), it
also has a command line interface.

HTH,
  Colin

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: html printing with dired
  2004-01-28 14:44         ` Colin Marquardt
@ 2004-01-28 17:55           ` Fabian Braennstroem
  0 siblings, 0 replies; 9+ messages in thread
From: Fabian Braennstroem @ 2004-01-28 17:55 UTC (permalink / raw)


Hello,

On Wed, 2004-01-28 at 15:44, Colin Marquardt wrote:

> 
> You could try htmldoc (http://www.easysw.com/htmldoc/, GPLed), it
> also has a command line interface.
Thanks! That helps.

Greetings!
Fabian

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2004-01-28 17:55 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.1264.1074935418.928.help-gnu-emacs@gnu.org>
2004-01-24 12:45 ` html printing with dired Jesper Harder
2004-01-26 13:56   ` Fabian Braennstroem
     [not found]   ` <mailman.1362.1075125563.928.help-gnu-emacs@gnu.org>
2004-01-26 14:47     ` Jesper Harder
2004-01-28 13:22       ` Fabian Braennstroem
2004-01-27 16:49     ` Colin Marquardt
2004-01-28 13:27       ` Fabian Braennstroem
     [not found]       ` <mailman.1497.1075292644.928.help-gnu-emacs@gnu.org>
2004-01-28 14:44         ` Colin Marquardt
2004-01-28 17:55           ` Fabian Braennstroem
2004-01-24  9:16 Fabian Braennstroem

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).