From mboxrd@z Thu Jan 1 00:00:00 1970 Content-type: text/plain; charset=windows-1252 MIME-version: 1.0 (Apple Message framework v1085) From: Thomas In-reply-to: <720B13E7-82AA-4494-AED0-B976B251130A@corpus-callosum.com> Date: Wed, 30 Apr 2014 11:34:58 -0400 Content-transfer-encoding: quoted-printable Message-id: References: <5b921a4f818d40d92f018985dac7272b@quintile.net> <8972015B-C2B6-492A-820C-D4461E468139@verizon.net> <720B13E7-82AA-4494-AED0-B976B251130A@corpus-callosum.com> To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Subject: Re: [9fans] Need help setting up MacPro to prepare ps files for printing on HP PCL 3 printer (HP 6480) Topicbox-Message-UUID: dc565230-ead8-11e9-9d60-3106f5b1d025 Thanks, Jeff I didn't know about "open". Both preview and the OS X lp command allow printing of the ps file. -Tom On Apr 28, 2014, at 12:55 PM, Jeff Sickel wrote: > Thomas, >=20 > You should be able to use one of several options: >=20 > open plotfile.ps # should open in Preview.app, allowing = convert/save to pdf > /usr/bin/pstopdf >=20 > ps2pdf # if you=92ve installed ghostscript or other = toolchains >=20 >=20 > Don=92t forget, you may need to add: >=20 > 9 grap plotfile | 9 pic | 9troff -mm | 9 tr2post | 9 psfonts > = plotfile.ps >=20 >=20 > -jas >=20 > On Apr 28, 2014, at 11:23 AM, Thomas wrote: >=20 >> Following Steve's lead, I found this works : >>=20 >> 9 grap plotfile | 9 pic | 9troff -mm | 9 tr2post > plotfile.ps >>=20 >> lp plotfile.ps >>=20 >>=20 >> The OS X lp does not convert postscript.=20 >>=20 >> As far as I can see there is no plan9 lp. >>=20 >> Thanks, Steve >>=20 >> -Tom >>=20 >> On Apr 24, 2014, at 2:24 PM, Steve Simon wrote: >>=20 >>> I am no p9p expert, but on native plan9 you would do somthing like >>>=20 >>> lp -dstdout > plot.ps >>>=20 >>> 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. >>>=20 >>> You could add another step to generate a pdf if thats easier. - >>>=20 >>> grap plotfile | pic | troff -mm | lp -dstdout | ps2pdf > = plot.pdf >>>=20 >>> hope this helps. >>>=20 >>> -Steve >>>=20 >>>=20 >>=20 >>=20 >=20 >=20