2 * Implementation of the Local Printmonitor: internal include file
4 * Copyright 2006 Detlef Riekenberg
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #ifndef __WINE_LOCALSPL_PRIVATE__
22 #define __WINE_LOCALSPL_PRIVATE__
26 #include "wine/unixlib.h"
28 extern HINSTANCE localspl_instance
;
30 /* ## Resource-ID ## */
31 #define IDS_FORM_LETTER 200
32 #define IDS_FORM_LETTER_SMALL 201
33 #define IDS_FORM_TABLOID 202
34 #define IDS_FORM_LEDGER 203
35 #define IDS_FORM_LEGAL 204
36 #define IDS_FORM_STATEMENT 205
37 #define IDS_FORM_EXECUTIVE 206
38 #define IDS_FORM_A3 207
39 #define IDS_FORM_A4 208
40 #define IDS_FORM_A4_SMALL 209
41 #define IDS_FORM_A5 210
42 #define IDS_FORM_B4_JIS 211
43 #define IDS_FORM_B5_JIS 212
44 #define IDS_FORM_FOLIO 213
45 #define IDS_FORM_QUARTO 214
46 #define IDS_FORM_10x14 215
47 #define IDS_FORM_11x17 216
48 #define IDS_FORM_NOTE 217
49 #define IDS_FORM_ENVELOPE_9 218
50 #define IDS_FORM_ENVELOPE_10 219
51 #define IDS_FORM_ENVELOPE_11 220
52 #define IDS_FORM_ENVELOPE_12 221
53 #define IDS_FORM_ENVELOPE_14 222
54 #define IDS_FORM_C_SIZE_SHEET 223
55 #define IDS_FORM_D_SIZE_SHEET 224
56 #define IDS_FORM_E_SIZE_SHEET 225
57 #define IDS_FORM_ENVELOPE_DL 226
58 #define IDS_FORM_ENVELOPE_C5 227
59 #define IDS_FORM_ENVELOPE_C3 228
60 #define IDS_FORM_ENVELOPE_C4 229
61 #define IDS_FORM_ENVELOPE_C6 230
62 #define IDS_FORM_ENVELOPE_C65 231
63 #define IDS_FORM_ENVELOPE_B4 232
64 #define IDS_FORM_ENVELOPE_B5 233
65 #define IDS_FORM_ENVELOPE_B6 234
66 #define IDS_FORM_ENVELOPE 235
67 #define IDS_FORM_ENVELOPE_MONARCH 236
68 #define IDS_FORM_6_34_ENVELOPE 237
69 #define IDS_FORM_US_STD_FANFOLD 238
70 #define IDS_FORM_GERMAN_STD_FANFOLD 239
71 #define IDS_FORM_GERMAN_LEGAL_FANFOLD 240
72 #define IDS_FORM_B4_ISO 241
73 #define IDS_FORM_JAPANESE_POSTCARD 242
74 #define IDS_FORM_9x11 243
75 #define IDS_FORM_10x11 244
76 #define IDS_FORM_15x11 245
77 #define IDS_FORM_ENVELOPE_INVITE 246
78 #define IDS_FORM_LETTER_EXTRA 247
79 #define IDS_FORM_LEGAL_EXTRA 248
80 #define IDS_FORM_TABLOID_EXTRA 249
81 #define IDS_FORM_A4_EXTRA 250
82 #define IDS_FORM_LETTER_TRANSVERSE 251
83 #define IDS_FORM_A4_TRANSVERSE 252
84 #define IDS_FORM_LETTER_EXTRA_TRANSVERSE 253
85 #define IDS_FORM_SUPER_A 254
86 #define IDS_FORM_SUPER_B 255
87 #define IDS_FORM_LETTER_PLUS 256
88 #define IDS_FORM_A4_PLUS 257
89 #define IDS_FORM_A5_TRANSVERSE 258
90 #define IDS_FORM_B5_JIS_TRANSVERSE 259
91 #define IDS_FORM_A3_EXTRA 260
92 #define IDS_FORM_A5_EXTRA 261
93 #define IDS_FORM_B5_ISO_EXTRA 262
94 #define IDS_FORM_A2 263
95 #define IDS_FORM_A3_TRANSVERSE 264
96 #define IDS_FORM_A3_EXTRA_TRANSVERSE 265
97 #define IDS_FORM_JAPANESE_DOUBLE_POSTCARD 266
98 #define IDS_FORM_A6 267
99 #define IDS_FORM_JAPANESE_ENVELOPE_KAKU_2 268
100 #define IDS_FORM_JAPANESE_ENVELOPE_KAKU_3 269
101 #define IDS_FORM_JAPANESE_ENVELOPE_CHOU_3 270
102 #define IDS_FORM_JAPANESE_ENVELOPE_CHOU_4 271
103 #define IDS_FORM_LETTER_ROTATED 272
104 #define IDS_FORM_A3_ROTATED 273
105 #define IDS_FORM_A4_ROTATED 274
106 #define IDS_FORM_A5_ROTATED 275
107 #define IDS_FORM_B4_JIS_ROTATED 276
108 #define IDS_FORM_B5_JIS_ROTATED 277
109 #define IDS_FORM_JAPANESE_POSTCARD_ROTATED 278
110 #define IDS_FORM_DOUBLE_JAPAN_POSTCARD_ROTATED 279
111 #define IDS_FORM_A6_ROTATED 280
112 #define IDS_FORM_JAPAN_ENVELOPE_KAKU_2_ROTATED 281
113 #define IDS_FORM_JAPAN_ENVELOPE_KAKU_3_ROTATED 282
114 #define IDS_FORM_JAPAN_ENVELOPE_CHOU_3_ROTATED 283
115 #define IDS_FORM_JAPAN_ENVELOPE_CHOU_4_ROTATED 284
116 #define IDS_FORM_B6_JIS 285
117 #define IDS_FORM_B6_JIS_ROTATED 286
118 #define IDS_FORM_12x11 287
119 #define IDS_FORM_JAPAN_ENVELOPE_YOU_4 288
120 #define IDS_FORM_JAPAN_ENVELOPE_YOU_4_ROTATED 289
121 #define IDS_FORM_PRC_16K 290
122 #define IDS_FORM_PRC_32K 291
123 #define IDS_FORM_PRC_32K_BIG 292
124 #define IDS_FORM_PRC_ENVELOPE_1 293
125 #define IDS_FORM_PRC_ENVELOPE_2 294
126 #define IDS_FORM_PRC_ENVELOPE_3 295
127 #define IDS_FORM_PRC_ENVELOPE_4 296
128 #define IDS_FORM_PRC_ENVELOPE_5 297
129 #define IDS_FORM_PRC_ENVELOPE_6 298
130 #define IDS_FORM_PRC_ENVELOPE_7 299
131 #define IDS_FORM_PRC_ENVELOPE_8 300
132 #define IDS_FORM_PRC_ENVELOPE_9 301
133 #define IDS_FORM_PRC_ENVELOPE_10 302
134 #define IDS_FORM_PRC_16K_ROTATED 303
135 #define IDS_FORM_PRC_32K_ROTATED 304
136 #define IDS_FORM_PRC_32K_BIG_ROTATED 305
137 #define IDS_FORM_PRC_ENVELOPE_1_ROTATED 306
138 #define IDS_FORM_PRC_ENVELOPE_2_ROTATED 307
139 #define IDS_FORM_PRC_ENVELOPE_3_ROTATED 308
140 #define IDS_FORM_PRC_ENVELOPE_4_ROTATED 309
141 #define IDS_FORM_PRC_ENVELOPE_5_ROTATED 310
142 #define IDS_FORM_PRC_ENVELOPE_6_ROTATED 311
143 #define IDS_FORM_PRC_ENVELOPE_7_ROTATED 312
144 #define IDS_FORM_PRC_ENVELOPE_8_ROTATED 313
145 #define IDS_FORM_PRC_ENVELOPE_9_ROTATED 314
146 #define IDS_FORM_PRC_ENVELOPE_10_ROTATED 315
148 #define IDS_LOCALPORT 500
149 #define IDS_LOCALMONITOR 507
151 /* ## Reserved memorysize for the strings (in WCHAR) ## */
152 #define IDS_LOCALMONITOR_MAXLEN 64
153 #define IDS_LOCALPORT_MAXLEN 32
155 /* ## Type of Ports ## */
157 #define PORT_IS_UNKNOWN 0
158 #define PORT_IS_LPT 1
159 #define PORT_IS_COM 2
160 #define PORT_IS_FILE 3
161 #define PORT_IS_FILENAME 4
163 /* wine extensions */
164 #define PORT_IS_WINE 5
165 #define PORT_IS_UNIXNAME 5
166 #define PORT_IS_PIPE 6
167 #define PORT_IS_CUPS 7
168 #define PORT_IS_LPR 8
170 struct start_doc_params
174 const WCHAR
*document_title
;
178 struct write_doc_params
185 struct end_doc_params
190 #define UNIX_CALL(func, params) WINE_UNIX_CALL(unix_ ## func, params)
200 #endif /* __WINE_LOCALSPL_PRIVATE__ */