1 | // =========================================================== // |
---|
2 | // // |
---|
3 | // File : awt_asciiprint.hxx // |
---|
4 | // Purpose : // |
---|
5 | // // |
---|
6 | // Institute of Microbiology (Technical University Munich) // |
---|
7 | // http://www.arb-home.de/ // |
---|
8 | // // |
---|
9 | // =========================================================== // |
---|
10 | |
---|
11 | #ifndef AWT_ASCIIPRINT_HXX |
---|
12 | #define AWT_ASCIIPRINT_HXX |
---|
13 | |
---|
14 | |
---|
15 | #define AWAR_APRINT "tmp/aprint/" |
---|
16 | #define AWAR_APRINT_TITLE AWAR_APRINT "title" |
---|
17 | #define AWAR_APRINT_TEXT AWAR_APRINT "text" |
---|
18 | #define AWAR_APRINT_PAPER_SIZE AWAR_APRINT "paper_size" |
---|
19 | #define AWAR_APRINT_MAGNIFICATION AWAR_APRINT "magnification" |
---|
20 | #define AWAR_APRINT_SX AWAR_APRINT "source_columns" |
---|
21 | #define AWAR_APRINT_SY AWAR_APRINT "source_rows" |
---|
22 | #define AWAR_APRINT_DX AWAR_APRINT "dest_cols" |
---|
23 | #define AWAR_APRINT_DY AWAR_APRINT "dest_rows" |
---|
24 | #define AWAR_APRINT_ORIENTATION AWAR_APRINT "orientation" |
---|
25 | #define AWAR_APRINT_PAGES AWAR_APRINT "pages" |
---|
26 | #define AWAR_APRINT_PRINTTO AWAR_APRINT "printto" |
---|
27 | #define AWAR_APRINT_PRINTER AWAR_APRINT "printer" |
---|
28 | #define AWAR_APRINT_FILE AWAR_APRINT "file" |
---|
29 | |
---|
30 | |
---|
31 | enum AWT_asciiprint_orientation { |
---|
32 | AWT_APRINT_ORIENTATION_PORTRAIT, |
---|
33 | AWT_APRINT_ORIENTATION_LANDSCAPE, |
---|
34 | AWT_APRINT_ORIENTATION_DOUBLE_PORTRAIT |
---|
35 | }; |
---|
36 | |
---|
37 | |
---|
38 | enum AWT_asciiprint_paper_size { |
---|
39 | AWT_APRINT_PAPERSIZE_A4, |
---|
40 | AWT_APRINT_PAPERSIZE_US |
---|
41 | }; |
---|
42 | |
---|
43 | enum AWT_asciiprint_destination { |
---|
44 | AWT_APRINT_DEST_PRINTER, |
---|
45 | AWT_APRINT_DEST_FILE_PS, |
---|
46 | AWT_APRINT_DEST_FILE_ASCII, |
---|
47 | AWT_APRINT_DEST_PREVIEW |
---|
48 | }; |
---|
49 | |
---|
50 | |
---|
51 | #else |
---|
52 | #error awt_asciiprint.hxx included twice |
---|
53 | #endif // AWT_ASCIIPRINT_HXX |
---|