jed-users mailing list

[2002 Date Index] [2002 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: print buffer


On Sun, 21 Apr 2002 22:40:01 +0200 wrote Morten Bo Johansen <mojo@xxxxxxxx>:

> Hi,
> 
> I have a problem printing the buffer in nroff_mode. 
> ...
> Instead of printing the formatted document with grolbp some raw
> s-lang debugging output is being sent to the printer and it
> looks like this:
> 
>   Error: /typecheck in --closefile--
>   Operand stack:
>     --nostringval--   ()
>   Execution stack:
>      %interp_exit   .runexec2  --nostringval--  --nostringval-- 
> --nostringval--
>        2  %stopped_push  --nostringval--  --nostringval--  --nostringval-- 
>        false   1   %stopped_push_push  1  3  %oparray_pop  --nostringval--
>        --nostringval--
>   Dictionary stack:
>     --dict:1008/1476(ro)(G)--  --dict:0/20(G)--  --dict:66/200(L)--
>   Current allocation mode is local
>   Last OS error: 2


AFAIK, this is no slang output but a postscript error message. I get similar
stuff sometimes when trying to view a ps-file with ghostview...


> % print with grolbp
> 
>   define print_buffer_nroff ()
>   {
>      push_spot ();
>      mark_buffer ();
>      variable status = pipe_region ("groff -mmdk -Tlbp | lpr -Praw1");
>      pop_spot ();
>      if (status) error ("lpr failed.");
>   }

Maybe you can find out more if you call your printing command "groff -mmdk
-Tlbp | lpr -Praw1" with the right file argument from the command line 
(at least you can find out if it is something jed-related).

Günter


--
G.Milde@xxxxxxxxxxxxxxxxxxxx


--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


[2002 date index] [2002 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]