[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Object graphics and real postscript
- Subject: Re: Object graphics and real postscript
- From: Andrew <noymer(at)my-deja.com>
- Date: Tue, 28 Mar 2000 02:09:07 GMT
- Newsgroups: comp.lang.idl-pvwave
- Organization: Deja.com - Before you buy.
- References: <38DF6521.13ABE139@noveltis.fr> <MPG.firstname.lastname@example.org>
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:19062
In article <MPG.email@example.com>,
firstname.lastname@example.org (David Fanning) wrote:
> The way I do it (on Windows NT) is like this:
> printer = Obj_New('IDLgrPrinter')
> ok = Dialog_PrinterSetup(printer)
I don't use object graphics (yet). Is there no analog
in object graphics to the direct graphics instructions
DEVICE, XSize=4.75, YSize=2.95, /Inches, /ENCAPSULATED, $
> It is *not*, however, encapsulated PostScript.
You can tweak the drivers so that it is.
> My Windows NT Ghostview, however, has the ability to convert
> a PostScript file to an encapsulated PostScript file.
Only if your PS file contains no page breaks.
> I presume
> this is also available in the UNIX version of Ghostscript.
Yes. It can also be done by hand in your favorite editor:
e.g., first three lines of an EPS file produced by IDL
%%BoundingBox: 0 0 342 212
%%Title: Graphics produced by IDL
Note that the first line says EPS and the BB is included.
If if if if if if IF there are no pagebreaks, one can convert
PS to EPS by hand. But it is kind of a kludge, so I only do
it in emergencies.
Sent via Deja.com http://www.deja.com/
Before you buy.