Printing iTools window to PS file [message #46823] |
Tue, 03 January 2006 11:43 |
K. Bowman
Messages: 330 Registered: May 2000
|
Senior Member |
|
|
I am trying to print an iTools window to a Postscript file. Printing works fine
if the output is sent directly to an HP Color Laserjet.
If I print to a file (xprinter.out), however, the file is not usable in any of
my usual Postscript tools (Illustrator, pstopdf, Preview, Distiller). The
Distiller output log is:
.
.
.
%%[ Error: ioerror; OffendingCommand: imageDistiller ]%%
Stack:
1.0
-save-
%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
%%[ Warning: PostScript error. No PDF file produced. ] %%
pstopdf chokes with a similar error.
%%[ Error: ioerror; OffendingCommand: image ]%%
I have tried using the Generic (File Only) output option, but that apparently
produces only grayscale output (no color).
Any suggestions on how I can get a usable Postscript file from the printer
device?
Failing that, how do I TVRD from the iTool, so that I can at least save the
window as a bitmap?
Thanks, Ken Bowman
IDL Version 6.2, Mac OS X (darwin ppc m32). (c) 2005, Research Systems, Inc.
P.S. The beginning of the PS file looks like this
%-12345X@PJL JOB
@PJL ENTER LANGUAGE=POSTSCRIPT<0A>
%!PS-Adobe-3.0
%XprinterPrinter-Model: HP Color LaserJet PS
%%Creator: Wind/U Xprinter Version 3.3.1 (darwin) (Compile Date: Oct 22 2001
12:42:02) (bowman)
%%Title:
%%CreationDate:Tue Jan 3 12:48:02 2006
%%DocumentSuppliedResources: (atend)
%%Pages: (atend)
%%LanguageLevel: 2
%%EndComments
%%BeginProlog
.
.
.
|
|
|