blob: 93e8eee5e8ff5784b3fbc1776e9dd14716ec616f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
|
//Auto-generated by kalyptus. DO NOT EDIT.
package org.trinitydesktop.qt;
import org.trinitydesktop.qt.Qt;
public class TQPrinter extends TQPaintDevice {
protected TQPrinter(Class dummy){super((Class) null);}
public static final int ScreenResolution = 0;
public static final int PrinterResolution = 1;
public static final int HighResolution = 2;
public static final int Compatible = 3;
public static final int Portrait = 0;
public static final int Landscape = 1;
public static final int A4 = 0;
public static final int B5 = 1;
public static final int Letter = 2;
public static final int Legal = 3;
public static final int Executive = 4;
public static final int A0 = 5;
public static final int A1 = 6;
public static final int A2 = 7;
public static final int A3 = 8;
public static final int A5 = 9;
public static final int A6 = 10;
public static final int A7 = 11;
public static final int A8 = 12;
public static final int A9 = 13;
public static final int B0 = 14;
public static final int B1 = 15;
public static final int B10 = 16;
public static final int B2 = 17;
public static final int B3 = 18;
public static final int B4 = 19;
public static final int B6 = 20;
public static final int B7 = 21;
public static final int B8 = 22;
public static final int B9 = 23;
public static final int C5E = 24;
public static final int Comm10E = 25;
public static final int DLE = 26;
public static final int Folio = 27;
public static final int Ledger = 28;
public static final int Tabloid = 29;
public static final int Custom = 30;
public static final int NPageSize = Custom;
public static final int FirstPageFirst = 0;
public static final int LastPageFirst = 1;
public static final int GrayScale = 0;
public static final int Color = 1;
public static final int OnlyOne = 0;
public static final int Lower = 1;
public static final int Middle = 2;
public static final int Manual = 3;
public static final int Envelope = 4;
public static final int EnvelopeManual = 5;
public static final int Auto = 6;
public static final int Tractor = 7;
public static final int SmallFormat = 8;
public static final int LargeFormat = 9;
public static final int LargeCapacity = 10;
public static final int Cassette = 11;
public static final int FormSource = 12;
public static final int AllPages = 0;
public static final int Selection = 1;
public static final int PageRange = 2;
public static final int PrintToFile = 0;
public static final int PrintSelection = 1;
public static final int PrintPageRange = 2;
public TQPrinter(int mode) {
super((Class) null);
newTQPrinter(mode);
}
private native void newTQPrinter(int mode);
public TQPrinter() {
super((Class) null);
newTQPrinter();
}
private native void newTQPrinter();
public native String printerName();
public native void setPrinterName(String arg1);
public native boolean outputToFile();
public native void setOutputToFile(boolean arg1);
public native String outputFileName();
public native void setOutputFileName(String arg1);
public native String printProgram();
public native void setPrintProgram(String arg1);
public native String printerSelectionOption();
public native void setPrinterSelectionOption(String arg1);
public native String docName();
public native void setDocName(String arg1);
public native String creator();
public native void setCreator(String arg1);
public native int orientation();
public native void setOrientation(int arg1);
public native int pageSize();
public native void setPageSize(int arg1);
public native void setPageOrder(int arg1);
public native int pageOrder();
public native void setResolution(int arg1);
public native int resolution();
public native void setColorMode(int arg1);
public native int colorMode();
public native void setFullPage(boolean arg1);
public native boolean fullPage();
public native TQSize margins();
public native void setMargins(int top, int left, int bottom, int right);
public native void margins(int[] top, int[] left, int[] bottom, int[] right);
public native int fromPage();
public native int toPage();
public native void setFromTo(int fromPage, int toPage);
public native int minPage();
public native int maxPage();
public native void setMinMax(int minPage, int maxPage);
public native int numCopies();
public native void setNumCopies(int arg1);
public native boolean collateCopiesEnabled();
public native void setCollateCopiesEnabled(boolean arg1);
public native boolean collateCopies();
public native void setCollateCopies(boolean arg1);
public native int printRange();
public native void setPrintRange(int range);
public native boolean newPage();
public native boolean abort();
public native boolean aborted();
public native boolean setup(TQWidget parent);
public native boolean setup();
public native int paperSource();
public native void setPaperSource(int arg1);
public native void setOptionEnabled(int arg1, boolean enable);
public native boolean isOptionEnabled(int arg1);
// bool cmd(int arg1,TQPainter* arg2,TQPDevCmdParam* arg3); >>>> NOT CONVERTED
protected native int metric(int arg1);
/** Deletes the wrapped C++ instance */
protected native void finalize() throws InternalError;
/** Delete the wrapped C++ instance ahead of finalize() */
public native void dispose();
/** Has the wrapped C++ instance been deleted? */
public native boolean isDisposed();
}
|