9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Thomas <twest9@verizon.net>
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)
Date: Wed, 30 Apr 2014 11:34:58 -0400	[thread overview]
Message-ID: <CB4E6DBF-EB1A-4250-BEB1-3BF4408B9951@verizon.net> (raw)
In-Reply-To: <720B13E7-82AA-4494-AED0-B976B251130A@corpus-callosum.com>


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,
> 
> 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 <twest9@verizon.net> 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
>>> 
>>> 
>> 
>> 
> 
> 




  reply	other threads:[~2014-04-30 15:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-24 17:39 Thomas
2014-04-24 18:24 ` Steve Simon
2014-04-28 16:23   ` Thomas
2014-04-28 16:55     ` Jeff Sickel
2014-04-30 15:34       ` Thomas [this message]
2014-05-01  9:47         ` stevie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CB4E6DBF-EB1A-4250-BEB1-3BF4408B9951@verizon.net \
    --to=twest9@verizon.net \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).