Last change
on this file since 357 was
327,
checked in by pinsard, 17 years ago
|
modification of headers : mainly blanks around = sign for keywords in declaration of function and pro
|
-
Property svn:keywords set to
Id
|
File size:
894 bytes
|
Line | |
---|
1 | ;+ |
---|
2 | ; |
---|
3 | ; @file_comments |
---|
4 | ; use printps instead... |
---|
5 | ; |
---|
6 | ; @obsolete |
---|
7 | ; |
---|
8 | ; @param filename {in}{required} |
---|
9 | ; |
---|
10 | ; @keyword TRANS |
---|
11 | ; |
---|
12 | ; @keyword NB |
---|
13 | ; |
---|
14 | ; @uses |
---|
15 | ; printps |
---|
16 | ; |
---|
17 | ; @history |
---|
18 | ; June 2005: Sebastien Masson, english version |
---|
19 | ; |
---|
20 | ; @version |
---|
21 | ; $Id$ |
---|
22 | ; |
---|
23 | ;- |
---|
24 | PRO imprime, filename, TRANS=trans, NB=nb |
---|
25 | ; |
---|
26 | ; this is working only with unix/linux/osX machines |
---|
27 | ; |
---|
28 | compile_opt idl2, strictarrsubs, obsolete |
---|
29 | ; |
---|
30 | thisOS = strupcase(strmid(!version.os_family, 0, 3)) |
---|
31 | CASE thisOS OF |
---|
32 | 'MAC':return |
---|
33 | 'WIN':return |
---|
34 | ELSE: |
---|
35 | ENDCASE |
---|
36 | ;------------------------------------------------------------ |
---|
37 | ; call printps |
---|
38 | ;------------------------------------------------------------ |
---|
39 | CASE N_PARAMS() OF |
---|
40 | 0:printps |
---|
41 | 1:printps, filename |
---|
42 | ELSE: BEGIN |
---|
43 | ras = report('imprime accept only one element: psfilename') |
---|
44 | return |
---|
45 | END |
---|
46 | ENDCASE |
---|
47 | ;------------------------------------------------------------ |
---|
48 | return |
---|
49 | END |
---|
50 | |
---|
51 | |
---|
Note: See
TracBrowser
for help on using the repository browser.