[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problem printing html source
From: |
Alexander Mai |
Subject: |
Re: problem printing html source |
Date: |
Fri, 22 Jun 2001 10:49:37 +0200 |
User-agent: |
Mutt/1.2.5i |
On Fri, Jun 22, 2001 at 07:09:38AM +0200, Joachim Backes wrote:
>
> On 21-Jun-2001 McIllece wrote:
> > Hi,
> >
> > I am trying to print some html source code. I just want a hardcopy of the
> > source itself. When I do
> >
> > a2ps z.html
> >
> > I get:
> >
> > sh: psnup: not found
> > cat: /tmp/a2_AAA8Ia4Xd: No such file or directory
> > netscape: not running on display :0.0
> > netscape: not running on display :0.0
> > [z.html (html, delegated to Netscape): failed. Ignored]
> > [No output produced]
> >
> > (which prints nothing, of course)
> >
> > If I change the filename to just "z" and do
> >
> > a2ps z
> >
> > I get:
> >
> > [z (plain): 1 page on 1 sheet]
> > request id is ssb-317-8k-6 (1 file)
> > [Total: 1 page on 1 sheet] sent to the default printer
> >
> > (which actually prints the file).
> >
> > How can I print html source without removing the .html filename extension?
>
> Hi, McIllece,
>
> try the a2ps option
>
> --pretty-print=plain
>
> This prints without using _any_ stylesheet.
Hmm, there's a flag to turn on delegations, but one
can not turn them off?
(well, I use a2ps often, but only the limited subset of
2-3 command line options all the time; I never dig deeper ...)
--
Alexander Mai
address@hidden