Following Steve's lead, I found this works :

9 grap plotfile | 9 pic | 9troff -mm | 9 tr2post   > plotfile.ps

lp plotfile.ps


The OS X lp does not convert postscript. 

As far as I can see there is no plan9 lp.

Thanks, Steve

-Tom

On Apr 24, 2014, at 2:24 PM, Steve Simon wrote:

> I am no p9p expert, but on native plan9 you would do somthing like
> 
>        lp -dstdout > plot.ps
> 
> This will generate a postscript version. Again on plan9 this is converted
> on the fly by the lp printer subsystem into the apropriate form for your
> printer.
> 
> You could add another step to generate a pdf if thats easier. -
> 
>       grap plotfile | pic | troff -mm | lp -dstdout | ps2pdf > plot.pdf
> 
> hope this helps.
> 
> -Steve
> 
> 


Reply via email to