[comp.sources.wanted] pstomacp

mjr@planet.bt.co.uk (Martyn Reason) (04/18/91)

Does anyone know of the existence of 'pstomacp' or something similarly
named. We have several sister utilities (pbmtomacp etc etc) but not the
one I want!

(I need to take a graphics image on a Sun running X, and paste it into a
Word 4.0 document on a Macintosh.)

Martyn


-- 
Martyn Reason                            e-mail: mjreason@planet.bt.co.uk
DNM42, ASE Exploitation Group            Tel: +44 473 646779
British Telecom Research Labs.           Fax: +44 473 231285
Martlesham Heath, Ipswich, Suffolk, UK   Pager #: 0594282

DHH102@psuvm.psu.edu (dhh@carthage.ece.psu.edu) (04/21/91)

In article <1991Apr17.224903.26094@planet.bt.co.uk>, mjr@planet.bt.co.uk (Martyn
Reason) says:
>
>Does anyone know of the existence of 'pstomacp' or something similarly
>named. We have several sister utilities (pbmtomacp etc etc) but not the
>one I want!
>
>(I need to take a graphics image on a Sun running X, and paste it into a
>Word 4.0 document on a Macintosh.)
>
>Martyn
>
Believe it or not, I ran into just this problem about 3 weeks ago..
I could find no specific utility to do such a thing, so here's what I did.
I displayed the ps file using a postscript previewer (ghostscript to
be specific) and then did an xwd of that window into a file.. After that
I did xwdtopbm | pbmtomacp > file.macp... Then I downloaded it onto
the mac using binary ftp.  However, one problem still remains.. The file
looks like a text file on the mac.. so what you need to do is to use
Resedit or some such beastie and modify the type of the file to one
that is compatible with mac paint or the file won't even show up when
you go to open a file within Mac Paint!! (and obviously you can't open
it straight from the desktop.. the old "Application Busy or Missing"
problem..
  ____                   Bitnet: dhh102@psuvm          doug@psueclc
 ( /  ) _       _,       Inet:   dhh102@psuvm.psu.edu  doug@ecl.psu.edu
\_/__/ <_>_/_/_<_>           "Time flies like an arrow."
               <_>           "Fruit flies like a banana."

chris@hobbit.gandalf.ca (Chris Sullivan) (04/22/91)

if you can hack c you can modify the source to mcvert, found on
info-mac, and make it save the file type into the macpaint file.
you need to know the string corresponding to that file type.  i only
know 2 - TIFF and PICT.
.