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

Home » Public Forums » archive » cgwindow unable to create PDF file in IDL 8.3
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: cgwindow unable to create PDF file in IDL 8.3 [message #88154 is a reply to message #88152] Tue, 25 March 2014 05:25 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Mats Löfdahl writes:

> We recently upgraded to IDL version 8.3 (from version 7.1) and now my cgwindows do not seem to be able to create PDF files. When I try a window pops up with an error message: "CGCMDWINDOW::AUTORASTERFILE: Unable to create PDF file. See cgPS2PDF documentation."
>
> A test session:
>
> IDL> cgwindow
> IDL> cgplot,[1,2],/add
> IDL> cgcontrol,output='test.pdf'
>
>
> I looked at https://www.idlcoyote.com/idldoc/cg/cgps2pdf.html without finding anything obvious.
>
> I have updated the Coyote library today. PDF file creation still works in idl version 7.1.
>
> My environment is Debian 3.12 x86_64 GNU/Linux.

Well, these commands still work in my IDL 8.2.3. I would start by making
something simpler.

cgps_open, 'test.ps'
plot, indgen(11)
cgps_close

Now, can you create a PDF file?

cgps2pdf, 'test.ps', /showcmd

If not, why not? You might have to step though the code. The program
uses GhostScript to do the conversion, by default. Has that moved
or been installed in a non-standard place. Can the gs command be found?

The command above will show you the command it is trying to execute. Can
you execute that command from a Unix prompt?

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Some histogram magic help required - gridding/counting large dataset
Next Topic: Map Projection Bug?

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

Current Time: Fri Oct 10 17:08:46 PDT 2025

Total time taken to generate the page: 0.00251 seconds