Thomas,
You should be able to use one of several options:
open plotfile.ps # should open in Preview.app, allowing convert/save to
pdf
/usr/bin/pstopdf
ps2pdf # if you’ve installed ghostscript or other toolchains
Don’t forget, you may need to add:
9 grap plotfile | 9 pic | 9troff -mm | 9 tr2post | 9 psfonts >
plotfile.ps
-jas
On Apr 28, 2014, at 11:23 AM, Thomas <[email protected]> wrote:
> 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
>>
>>
>
>