comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Coyote Graphics PDF Files
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Coyote Graphics PDF Files [message #78599] Wed, 07 December 2011 05:50 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Kenneth P. Bowman writes:

> Macs come with pstopdf installed in /usr/bin/.
>
> When you double-click a PS file in the Mac Finder, it runs
> pstopdf and opens the resulting file in the Preview app.
>
> I recommend using that if the !version.os is darwin.

OK, I have this program now running on my Windows machine,
a Mac, and a LINUX distribution. But God only knows how
general purpose it is! :-)

I realize that almost everyone has their own favorite
way of making a PDF file from a PostScript file. I'm
not out to reinvent the world. I just want to have a
fairly general solution so I can make PDF files directly
from a cgWindow.

I have incorporated Ken's advice to use pstopdf on
the Macs. It has been suggested that I use epstopdf
on Ubuntu machines, where it is standard. Is this
standard on other UNIX machines?

I've made the program available in a "beta" form, if you
would like to test it on your machine:

http://www.idlcoyote.com/misc/cgps2pdf.pro

Code like this should make it work and result in a "test.pdf"
file:

PS_Start, File='test.ps'
cgHistoplot, cgDemoData(7), /Fill
PS_End
cgPS2PDF, 'test.ps'

Thanks!

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Previous Topic: interpolation
Next Topic: Re: Constructing integer variables from two bytes?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 16:02:18 PDT 2025

Total time taken to generate the page: 0.00451 seconds