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

Home » Public Forums » archive » PRINT_FILE keyword in MS-WINDOWS ???
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
PRINT_FILE keyword in MS-WINDOWS ??? [message #3256] Sun, 08 January 1995 12:34
keith is currently offline  keith
Messages: 7
Registered: July 1993
Junior Member
I thought somebody may have run across this, also, and might
have a suggestion. I'm running IDL 3.6 in MS-Windows 3.1 hooked
up to a postscript printer. While perusing the Reference Guide
for IDL 3.6, I found an interesting device keyword on page 3-18:
"print_file". According to the manual, usage is as follows:

DEVICE, PRINT_FILE='MYFILE.PS'

which will send the postscript file, MYFILE.PS, to the currently
selected Windows printer. From the description in the manual,
it appears that this may be an MS-Windows specific keyword, as
"windows" is capitalized. I have yet to figure out how to send
an IDL generated plot to my Window's printer without loading the
image into a different program such as Corel or WordPerfect and
printing from there.
From the description, this keyword may be the answer to functioning
as I do in UNIX. However, when I try to use the device keyword, IDL
kicks back with:

Keyword PRINT_FILE not allowed incall to: DEVICE

If anybody has used this, or figured out another workable solution
to printing in the MS-Windows environment, I'd really like to hear.

Thanks & aloha,

Keith

P.S. I'll add a second question, since I'm asking about postscript
files. Again in the MS-Windows environment, has anyone gotten
the /ENCAPSULATED and /PREVIEW combination to actually produce
a plot which can be imported into another Windows document and
actually have a screen preview which can be displayed?
--
************************************************************ ***********
** Keith Horton ** ** keith@guinness.pgd.hawaii.edu **
** University of Hawaii ** ** Voice: (808) 956-3151 **
** HIGP, Honolulu, Hawaii ** ** FAX: (808) 956-6322 **
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Begin statement
Next Topic: Re: contiguous stacked plots

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

Current Time: Wed Oct 08 15:36:44 PDT 2025

Total time taken to generate the page: 0.01043 seconds