[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: HTML to PS: No netscape here
From: |
TBlittlefoot |
Subject: |
Re: HTML to PS: No netscape here |
Date: |
Fri, 20 Aug 2004 00:35:11 -0700 |
User-agent: |
Mutt/1.3.24i |
On Fri, Aug 20, 2004 at 02:19:38AM +0000, address@hidden wrote:
> > On Fri, Aug 20, 2004 at 01:20:31AM +0000, address@hidden wrote:
> > > Tom, been following your progress.
> > >
> > > This:
> > >
> > > % a2ps -o sa.ps Stoneage.html --pretty-print=[html] -Z
> > >
> > > Should be:
> > >
> > > % a2ps -o sa.ps Stoneage.html --pretty-print=html -Z
> > >
> > > I think...
> > >
> > > /Ed
> > >
> > >
> >
> > Thanks, Ed.
> >
> > I tried that and got a document that was much smaller than the original,
> > which I don't think is right,
> >
> > a2ps -o sa.ps Stoneage.html --pretty-print=html -Z
> > [Stoneage.html (html, delegated to Netscape): 1 page on 1 sheet]
> > [Total: 0 pages on 0 sheets] saved into the file `sa.ps'
> > ~
> > ls -l Stoneage.html sa.ps
> > -rw-rw---- 1 tom tom 88524 Aug 1 19:47 Stoneage.html
> > -rw-rw---- 1 tom tom 33256 Aug 19 18:37 sa.ps
> >
> > and when I tried to open it in gv I got
> > this gs error:
> >
> > -Error: /undefined in Go
> > Operand stack:
> >
> > Execution stack:
> > %interp_exit .runexec2 --nostringval-- --nostringval--
> > --nostringval-
> > - 2 %stopped_push --nostringval-- --nostringval-- --nostringval--
> > fa
> > lse 1 %stopped_push 1 3 %oparray_pop 1 3 %oparray_pop 1
> > 3
> > %oparray_pop .runexec2 --nostringval-- --nostringval--
> > --nostringval--
> > 2 %stopped_push --nostringval-- --nostringval-- --nostringval--
> > Dictionary stack:
> > --dict:1027/1476(ro)(G)-- --dict:0/20(G)-- --dict:67/200(L)--
> > Current allocation mode is local
> > Current file position is 3
> > GNU Ghostscript 6.51: Unrecoverable error, exit code 1
> >
> > ----------------
> >
> > The ps headers in the file don't look right either.
> >
> > For some reason, a2ps isn't reading the html.ssh stylesheet.
> >
> > Permissions problem? I guess I better look for a verbose or debug mode.
> >
> > Does your /etc/a2ps.cfg have a LibraryPath assignment that looks like this:
> >
> > LibraryPath:
> > /usr/share/a2ps/sheets:/usr/share/a2ps/ps:/usr/share/a2ps/encoding:
> > /usr/share/a2ps/afm:/usr/share/ogonkify/afm:/usr/share/a2ps/ppd:/usr/share/a2ps/
> > fonts:/usr/share/ogonkify/fonts:/usr/share/a2ps
> >
<
> In a2ps.cfg
>
> LibraryPath:
> /usr/share/a2ps/sheets:/usr/share/a2ps/ps:/usr/share/a2ps/encoding:/usr/share/a2ps/afm:
> /usr/share/ogonkify/afm:/usr/share/a2ps/ppd:/usr/share/a2ps/fonts:/usr/share/ogonkify/fonts:/usr/sha
> re/a2ps
>
Thanks. I was worried about the first part, which is not like a conventional
PATH assignment *sh.
> I have Netscape here (Solaris and RH Linux) but couldn't get either to work.
>
> Not much experience with a2ps/HTML.
>
Weird. We'll get this figured out and I'll create a webpage mini-tutorial and
see if I can get Akim to post it on his website.
> /Ed
>
>
Perhaps I need a ~/.a2ps.cfg with that assignment in it to get a2ps to
find the stylesheets for that user.....I'll try making them owned by a
new group (maybe "printer") with rw priveleges and make myself a member.
Right now, they are owned by root:root.
I've got mozilla here, and its documentation is miserable, although it is
supposed to be a lot like netscape.
How am I going to get *it* to work with a2ps?
Later, Ed,
Tom
--
PLEASE mail me in PLAIN TEXT ----------- THANK YOU
- HTML to PS: No netscape here, TBlittlefoot, 2004/08/18
- Re: HTML to PS: No netscape here, ed . arthur, 2004/08/19
- Re: HTML to PS: No netscape here, ed . arthur, 2004/08/19
- Re: HTML to PS: No netscape here,
TBlittlefoot <=
- Re: HTML to PS: No netscape here, TBlittlefoot, 2004/08/20
- Re: HTML to PS: No netscape here, TBlittlefoot, 2004/08/20
- Re: HTML to PS: No netscape here, TBlittlefoot, 2004/08/20
- Re: HTML to PS: No netscape here, ed . arthur, 2004/08/20