a2ps
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HTML to PS: No netscape here


From: ed . arthur
Subject: Re: HTML to PS: No netscape here
Date: Fri, 20 Aug 2004 02:19:38 +0000

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

I have Netscape here (Solaris and RH Linux) but couldn't get either to work.

Not much experience with a2ps/HTML.

/Ed


> 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
> 
> 
> Tom
> 
> 
> 
> _______________________________________________
> A2ps mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/a2ps




reply via email to

[Prev in Thread] Current Thread [Next in Thread]