source: trunk/SRC/Commons/cm_4ps.pro @ 231

Last change on this file since 231 was 231, checked in by pinsard, 17 years ago

improvements/corrections of some *.pro headers

  • Property svn:keywords set to Id
File size: 2.3 KB
Line 
1;+
2;
3; @history Sebastien Masson (smasson\@lodyc.jussieu.fr)
4;                       June 2005
5;-
6;
7@cm_general
8;
9; printer environment
10;
11; printer_human_names: a string array specifying the name of the
12;                      available printers such as ['color printer',
13;                      'black and while']
14; printer_machine_names: a string array specifying the IP address or
15;                        the name usable by the lpr command
16;
17; print_command: a scalar or array variable of string type, defining
18;                the command that must be used to print a postscript.
19;                This command must be defined/build in a way that it the
20;                instruction:
21;                  print_command+printer_machine_names[i]+' '+file.ps
22;                or
23;                  print_command[i]+printer_machine_names[i]+' '+file.ps
24;                is working. default definition is '\lpr -P'
25;
26COMMON for_printers, printer_human_names, printer_machine_names, print_command
27;
28; page configuration
29;
30; page_size: a 2 elements array specifying the size of the page
31;            in cm (for example a4 pages: page_size = [21.,29.7]
32; page_margins: a 4 elements array specifying the size in cm of the
33;               margins on left, right, bottom, up side of the page
34;               (where nothing is supposed to be drawn).
35;               default is [1., 1., 1., 1.]
36; key_portrait = 1 for portrait page or 0 for landscape page
37;
38COMMON page_setup, page_size, page_margins
39COMMON keys_ps, key_portrait
40;
41; postscript archiving
42;
43; archive_ps = 0 -> nothing is done
44; archive_ps = 1 -> each printed ps has its name and creation date
45;                   written in the bottom-left corner of the page
46;                   and is gzipped in the psdir directory
47; archive_ps > 1 -> question is asked to know if ps file has to be
48;                   archived or not
49;
50COMMON ps_archiving, archive_ps
51;
52; graphic window size
53;
54; windowsize_scale: the size of the graphic window will (should) be equal to
55;                   windowsize_scale * page_size. default definition is
56;                   windowsize_scale = 1. The smaller windowsize_scale
57;                   is, the larger are the differences between the plots in
58;                   graphic window and the corresponding plots in postscript
59;                   mode.
60;
61COMMON  windowsize_scale, windowsize_scale
Note: See TracBrowser for help on using the repository browser.