source: trunk/SRC/Documentation/idldoc_assistant_output/Postscript/printps.html @ 413

Last change on this file since 413 was 402, checked in by smasson, 15 years ago

update documentation

File size: 6.9 KB
Line 
1
2
3<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4  <head>
5    <title>printps.pro (SAXO Documentation Assistant)</title>
6  </head>
7
8  <body text="#000000" bgcolor="#FFFFFF">
9
10   
11<!-- Navbar template takes a structure with the following fields:
12       overview_href :
13       overview_selected :
14       dir_overview_href :
15       dir_overview_selected :
16       categories_href :
17       categories_selected :
18       index_href :
19       index_selected :
20       search_href :
21       search_selected :
22       file_selected :
23       source_href :
24       source_selected :
25       help_href :
26       help_selected :
27       etc_selected :
28
29       prev_file_href :
30       next_file_href :
31
32       view_single_page_href :
33       view_frames_href :
34
35       summary_fields_href :
36       summary_routine_href :
37       details_routine_href :
38
39       title :
40       subtitle :
41       user :
42-->
43
44
45<table border="0" cellpadding="0" cellspacing="0" width="98%" bgcolor="#F0F0FF" valign="bottom">
46  <tr>
47    <td width="10%">
48<a href="openps.html"><img src="./../prev.gif" border="0" alt="Previous"></a></td>
49    <td width="80%" align="center" valign="center">
50<font size=-1><i>SAXO Documentation Assistant</i>: <a href="./../home.html">Overview</a></font></td>
51    <td width="10%" align="right">
52<a href=""><img src="./../next.gif" border="0" alt="Next"></a></td>
53  </tr>
54</table>
55
56
57    <h1><font size="-2">Postscript/</font></h1>
58    <h2>printps.pro</h2>
59
60    <dl>
61    </dl>
62
63   
64 - archiving possibilities -
65
66 if archive_ps (common variable of cm_4ps) ne 0 then the postscript
67 can be saved for archiving if it is printed or if the button
68 "archive ps" is pressed. if it is printed and archive_ps = 1 then
69 the archiving is done automatically whereas we ask if the postscript
70 file must be archived or not.
71 If the postscript name is "idl.ps" (default name) then this name will
72 be changed to number.ps (number automatically found to be 1 larger
73 that any of the existing ps file).
74
75
76 postscript visualisation/archiving/printing
77
78
79   
80    <h2>Routine summary</h2>
81
82    <dl>
83     
84      <dt><a href="#_printps_event">printps_event<i>, event</i>, uval=<i>uval</i></a><dt>
85      <dd><font size="-1"> </font></dd>
86     
87      <dt><a href="#_printps">printps<i>[, psfilename]</i>, ARCHIVE=<i>integer 0 or 1</i>, DIRECTPRINT=<i>string</i></a><dt>
88      <dd><font size="-1"></font></dd>
89     
90    </dl>
91
92    <p>&nbsp;</p>
93   
94
95     
96      <a name="#_printps_event"></a>
97
98      <h2>printps_event  <font size="-1" color="#006633">
99 Postscripts
100</font></h2>
101
102      <p><font face="Courier">printps_event<i>, <a href="#_printps_event_keyword_event">event</a></i>, <a href="#_printps_event_keyword_uval">uval</a>=<i>uval</i></font></p>
103
104   
105
106
107   
108
109   
110    <h3>Parameters</h3>
111   
112
113    <a name="#_printps_event_keyword_event"></a>
114    <h4>event&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
115     
116     
117     
118     
119     
120     
121     
122     
123    </h4>
124
125   
126
127   
128   
129
130   
131    <h3>Keywords</h3>
132
133   
134    <a name="#_printps_event_keyword_uval"></a>
135    <h4>uval&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
136     
137     
138     
139     
140     
141     
142     
143     
144    </h4>
145
146   
147   
148   
149
150   
151    </pre><h3>Version history</h3>
152   
153    <h4>Version</h4>
154 $Id: printps.pro 401 2009-07-23 08:48:16Z smasson $
155
156    <h4>History</h4>
157 Sebastien Masson (smasson@lodyc.jussieu.fr)
158                        21/12/98
159                       25/8/19999 utilisation des widgets
160                       8/9/1999 utilisation de cw_bgroup
161 June 2005: Sebastien Masson: cleaning, English version with new commons
162
163   
164
165    <h3>Known issues</h3>
166   
167   
168   
169    <h4>Restrictions</h4>
170
171 1) this is working only with unix/linux/osX machines
172
173 2) definition of the printing command
174
175 the printing command is defined by the common variable "print_command"
176 in cm_4ps. This command must be defined/build in a way that it the
177 instruction:
178     print_command[i]+printer_machine_names[i]+' '+file.ps
179 or
180     print_command+printer_machine_names[i]+' '+file.ps
181 is working. default definition is 'lpr -P'
182
183
184
185   
186   
187   
188   
189   
190   
191   
192
193    <font size="-3"><p>&nbsp;</p></font>
194    <hr size="1" color="#CCCCCC"/>
195     
196      <a name="#_printps"></a>
197
198      <h2>printps  <font size="-1" color="#006633">
199 Postscripts
200</font></h2>
201
202      <p><font face="Courier">printps<i>[, <a href="#_printps_keyword_psfilename">psfilename</a>]</i>, <a href="#_printps_keyword_ARCHIVE">ARCHIVE</a>=<i>integer 0 or 1</i>, <a href="#_printps_keyword_DIRECTPRINT">DIRECTPRINT</a>=<i>string</i></font></p>
203
204   
205
206   
207
208   
209    <h3>Parameters</h3>
210   
211
212    <a name="#_printps_keyword_psfilename"></a>
213    <h4>psfilename&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
214      <font size="-1" color="#006633">in</font>
215     
216      <font size="-1" color="#006633">optional</font>
217     
218     
219     
220     
221     
222    </h4>
223
224   
225 The name of the postscript file we want to
226 visualize and/or print and/or archive. It can also refer
227 to a gzipped postscript file. If needed, this name will
228 be completed by .ps and/or .gz.
229
230   
231   
232
233   
234    <h3>Keywords</h3>
235
236   
237    <a name="#_printps_keyword_ARCHIVE"></a>
238    <h4>ARCHIVE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
239     
240     
241     
242     
243     
244      <font size="-1" color="#006633">type:</font> <font size="-1" color="#006633"><i>integer 0 or 1</i></font>
245      <font size="-1" color="#006633">default:</font> <font size="-1" color="#006633"><i>0</i></font>
246     
247    </h4>
248
249   
250 activate to bypass the widget and directly archive the postcript
251 (useful to use printps in batch mode)
252
253   
254    <a name="#_printps_keyword_DIRECTPRINT"></a>
255    <h4>DIRECTPRINT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
256     
257     
258     
259     
260     
261      <font size="-1" color="#006633">type:</font> <font size="-1" color="#006633"><i>string</i></font>
262      <font size="-1" color="#006633">default:</font> <font size="-1" color="#006633"><i>not defined</i></font>
263     
264    </h4>
265
266   
267 bypass the widget and directly define the printer that must be used
268 to print the postcript file. DIRECTPRINT must correspond to one of
269 the names defined in the comoon variables printer_machine_names or
270 printer_human_names. useful to use printps in batch mode
271
272   
273   
274
275    <h3>Examples</h3><pre>
276
277   IDL> printps
278
279    </pre><h3>Version history</h3>
280   
281    <h4>Version</h4>
282 $Id: printps.pro 401 2009-07-23 08:48:16Z smasson $
283
284    <h4>History</h4>
285 Sebastien Masson (smasson@lodyc.jussieu.fr)
286                        21/12/98
287                       25/8/19999 utilisation des widgets
288                       8/9/1999 utilisation de cw_bgroup
289 June 2005: Sebastien Masson: cleaning, English version with new commons
290
291   
292
293   
294   
295   
296   
297   
298
299    <h3>Other attributes</h3>
300   
301   
302    <h4>Uses routines</h4>
303 <a href="..//Commons/cm_4ps.html">cm_4ps</a>
304
305   
306   
307   
308
309    <font size="-3"><p>&nbsp;</p></font>
310    <hr size="1" color="#CCCCCC"/>
311     
312
313   
314
315    <p><font color="gray" size="-3">&nbsp;&nbsp;Produced by IDLdoc 2.0.</font></p>
316
317  </body>
318</html>
Note: See TracBrowser for help on using the repository browser.