Loading...
Searching...
No Matches
Print.h
Go to the documentation of this file.
1//---------------------------------------------------------------------------------------
2// Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
3// Consult legal.txt regarding legal and license information.
4//---------------------------------------------------------------------------------------
5#ifndef PDFTRON_H_CPPPDFPrint
6#define PDFTRON_H_CPPPDFPrint
7
8#include <PDF/PDFDoc.h>
9#include <C/PDF/TRN_Print.h>
10#include <SDF/Obj.h>
11#include <SDF/ObjSet.h>
12#include <PDF/PageSet.h>
13
14 namespace pdftron{
15 namespace PDF {
16
21 class PrinterMode; // forward declaration
22
23 class Print {
24 public:
25
26
48 static void StartPrintJob(
49 PDFDoc & in_pdfdoc,
50 const UString & in_printerName,
51 const UString & in_jobName,
52 const UString & in_outputFileName,
53 PageSet * in_pagesToPrint = NULL,
54 PrinterMode * in_printerMode = NULL,
55 volatile bool * in_cancel = NULL,
56 OCG::Context * in_context = NULL);
57
81 static void StartPrintJob(
82 PDFDoc & in_pdfdoc,
83 const char * in_printerName,
84 const char * in_jobName,
85 const char * in_outputFileName,
86 PageSet * in_pagesToPrint = NULL,
87 PrinterMode * in_printerMode = NULL,
88 volatile bool * in_cancel = NULL,
89 OCG::Context * in_context = NULL);
90
91
92};
93
94
95
100 class PrinterMode
101{
102 public:
106 enum PaperSize {
107 e_custom = 0,
108 e_letter,
109 e_letter_small,
110 e_tabloid,
111 e_ledger,
112 e_legal,
113 e_statement,
114 e_executive,
115 e_a3,
116 e_a4,
117 e_a4_small,
118 e_a5,
119 e_b4_jis,
120 e_b5_jis,
121 e_folio,
122 e_quarto,
123 e_10x14,
124 e_11x17,
125 e_note,
126 e_envelope_9,
127 e_envelope_10,
128 e_envelope_11,
129 e_envelope_12,
130 e_envelope_14,
131 e_c_size_sheet,
132 e_d_size_sheet,
133 e_e_size_sheet,
134 e_envelope_dl,
135 e_envelope_c5,
136 e_envelope_c3,
137 e_envelope_c4,
138 e_envelope_c6,
139 e_envelope_c65,
140 e_envelope_b4,
141 e_envelope_b5,
142 e_envelope_b6,
143 e_envelope_italy,
144 e_envelope_monarch,
145 e_6_3_quarters_envelope,
146 e_us_std_fanfold,
147 e_german_std_fanfold,
148 e_german_legal_fanfold,
149 e_b4_iso,
150 e_japanese_postcard,
151 e_9x11,
152 e_10x11,
153 e_15x11,
154 e_envelope_invite,
155 e_reserved_48,
156 e_reserved_49,
157 e_letter_extra,
158 e_legal_extra,
159 e_tabloid_extra,
160 e_a4_extra,
161 e_letter_transverse,
162 e_a4_transverse,
163 e_letter_extra_transverse,
164 e_supera_supera_a4,
165 e_Superb_Superb_a3,
166 e_letter_plus,
167 e_a4_plus,
168 e_a5_transverse,
169 e_b5_jis_transverse,
170 e_a3_extra,
171 e_a5_extra,
172 e_b5_iso_extra,
173 e_a2,
174 e_a3_transverse,
175 e_a3_extra_transverse,
176 e_japanese_double_postcard,
177 e_a6,
178 e_japanese_envelope_kaku_2,
179 e_japanese_envelope_kaku_3,
180 e_japanese_envelope_chou_3,
181 e_japanese_envelope_chou_4,
182 e_letter_rotated,
183 e_a3_rotated,
184 e_a4_rotated,
185 e_a5_rotated,
186 e_b4_jis_rotated,
187 e_b5_jis_rotated,
188 e_japanese_postcard_rotated,
189 e_double_japanese_postcard_rotated,
190 e_a6_rotated,
191 e_japanese_envelope_kaku_2_rotated,
192 e_japanese_envelope_kaku_3_rotated,
193 e_japanese_envelope_chou_3_rotated,
194 e_japanese_envelope_chou_4_rotated,
195 e_b6_jis,
196 e_b6_jis_rotated,
197 e_12x11,
198 e_japanese_envelope_you_4,
199 e_japanese_envelope_you_4_rotated,
200 e_prc_16k,
201 e_prc_32k,
202 e_prc_32k_big,
203 e_prc_envelop_1,
204 e_prc_envelop_2,
205 e_prc_envelop_3,
206 e_prc_envelop_4,
207 e_prc_envelop_5,
208 e_prc_envelop_6,
209 e_prc_envelop_7,
210 e_prc_envelop_8,
211 e_prc_envelop_9,
212 e_prc_envelop_10,
213 e_prc_16k_rotated,
214 e_prc_32k_rotated,
215 e_prc_32k_big__rotated,
216 e_prc_envelop_1_rotated,
217 e_prc_envelop_2_rotated,
218 e_prc_envelop_3_rotated,
219 e_prc_envelop_4_rotated,
220 e_prc_envelop_5_rotated,
221 e_prc_envelop_6_rotated,
222 e_prc_envelop_7_rotated,
223 e_prc_envelop_8_rotated,
224 e_prc_envelop_9_rotated,
225 e_prc_envelop_10_rotated,
226 };
227
229 enum DuplexMode {
230 e_Duplex_Auto = 0,
231 e_Duplex_None = 1,
232 e_Duplex_LongSide = 2,
233 e_Duplex_ShortSide = 3
234 };
235
237 enum OutputQuality {
238 e_OutputQuality_Draft = -1,
239 e_OutputQuality_Low = -2,
240 e_OutputQuality_Medium = -3,
241 e_OutputQuality_High = -4
242 };
243
245 enum OutputColor {
246 e_OutputColor_Color = 0,
247 e_OutputColor_Grayscale = 1,
248 e_OutputColor_Monochrome = 2,
249 };
250
252 enum Orientation
253 {
254 e_Orientation_Portrait = 0,
255 e_Orientation_Landscape = 1
256 };
257
259 enum ScaleType {
260 e_ScaleType_None = 0,
261 e_ScaleType_FitToOutputPage = 1,
262 e_ScaleType_ReduceToOutputPage = 2
263 };
264
267 enum NUp {
268 e_NUp_1_1 = 0,
269 e_NUp_2_1 = 1,
270 e_NUp_2_2 = 2,
271 e_NUp_3_2 = 3,
272 e_NUp_3_3 = 4,
273 e_NUp_4_4 = 5,
274 };
275
278 enum NUpPageOrder {
279 e_PageOrder_LeftToRightThenTopToBottom = 0,
280 e_PageOrder_RightToLeftThenTopToBottom = 1,
281 e_PageOrder_TopToBottomThenLeftToRight = 2,
282 e_PageOrder_BottomToTopThenLeftToRight = 3
283 };
284
286 enum PrintContentTypes {
287 e_PrintContent_DocumentOnly = 0,
288 e_PrintContent_DocumentAndAnnotations = 1,
289 e_PrintContent_DocumentAnnotationsAndComments = 2
290 };
291
292
293 PrinterMode();
294 ~PrinterMode();
295
302 void SetAutoCenter(bool autoCenter);
303
310 void SetAutoRotate(bool autoRotate);
311
319 void SetCollation( bool collation );
320
327 void SetCopyCount( int copyCount );
328
336 void SetDPI( int dpi );
337
344 void SetDuplexing( DuplexMode mode );
345
356 void SetNUp(NUp nup, NUpPageOrder pageOrder = e_PageOrder_LeftToRightThenTopToBottom);
357
370 void SetNUp(unsigned int x, unsigned int y, NUpPageOrder pageOrder = e_PageOrder_LeftToRightThenTopToBottom);
371
378 void SetOrientation(Orientation orientation);
379
387 void SetOutputAnnot(PrintContentTypes printContent);
388
399 void SetOutputColor( OutputColor color );
400
408 void SetOutputQuality( OutputQuality quality );
409
417 void SetOutputPageBorder(bool printBorder);
418
425 void SetPaperSize(const Rect & size = Rect(0, 0, 612, 791) );
426
431 void SetPaperSize(pdftron::PDF::PrinterMode::PaperSize paperSize);
432
441 void SetScale(double scale);
442
449 void SetScaleType(ScaleType scaleType);
450
458 void SetUseRleImageCompression( bool useRleImageCompression );
459
460
461 // @cond PRIVATE_DOC
462
463 #ifndef SWIGHIDDEN
464 SDF::Obj m_printerMode;
465 #endif
466 // @endcond PRIVATE_DOC
467
468 private:
469 SDF::ObjSet m_printerModeSet;
470};
471
472 }; // namespace PDF
473}; // namespace pdftron
474
475#include <Impl/Print.inl>
476
477#endif // PDFTRON_H_CPPPDFPrint
Obj.h
ObjSet.h
PDFDoc.h
PageSet.h
pdftron::PDF::OCG::Context
Definition Context.h:42
pdftron::PDF::PDFDoc
Definition PDFDoc.h:72
pdftron::PDF::PageSet
Definition PageSet.h:21
pdftron::PDF::Print
Definition Print.h:23
pdftron::PDF::Print::StartPrintJob
static void StartPrintJob(PDFDoc &in_pdfdoc, const char *in_printerName, const char *in_jobName, const char *in_outputFileName, PageSet *in_pagesToPrint=NULL, PrinterMode *in_printerMode=NULL, volatile bool *in_cancel=NULL, OCG::Context *in_context=NULL)
pdftron::PDF::Print::StartPrintJob
static void StartPrintJob(PDFDoc &in_pdfdoc, const UString &in_printerName, const UString &in_jobName, const UString &in_outputFileName, PageSet *in_pagesToPrint=NULL, PrinterMode *in_printerMode=NULL, volatile bool *in_cancel=NULL, OCG::Context *in_context=NULL)
pdftron::PDF::PrinterMode
Definition Print.h:101
pdftron::PDF::PrinterMode::SetPaperSize
void SetPaperSize(pdftron::PDF::PrinterMode::PaperSize paperSize)
pdftron::PDF::PrinterMode::PaperSize
PaperSize
Definition Print.h:106
pdftron::PDF::PrinterMode::e_envelope_monarch
@ e_envelope_monarch
Definition Print.h:144
pdftron::PDF::PrinterMode::e_envelope_b4
@ e_envelope_b4
Definition Print.h:140
pdftron::PDF::PrinterMode::e_prc_envelop_1_rotated
@ e_prc_envelop_1_rotated
Definition Print.h:216
pdftron::PDF::PrinterMode::e_a6
@ e_a6
Definition Print.h:177
pdftron::PDF::PrinterMode::e_japanese_envelope_chou_3_rotated
@ e_japanese_envelope_chou_3_rotated
Definition Print.h:193
pdftron::PDF::PrinterMode::e_japanese_envelope_you_4
@ e_japanese_envelope_you_4
Definition Print.h:198
pdftron::PDF::PrinterMode::e_prc_envelop_2
@ e_prc_envelop_2
Definition Print.h:204
pdftron::PDF::PrinterMode::e_prc_envelop_9
@ e_prc_envelop_9
Definition Print.h:211
pdftron::PDF::PrinterMode::e_a6_rotated
@ e_a6_rotated
Definition Print.h:190
pdftron::PDF::PrinterMode::e_envelope_italy
@ e_envelope_italy
Definition Print.h:143
pdftron::PDF::PrinterMode::e_10x11
@ e_10x11
Definition Print.h:152
pdftron::PDF::PrinterMode::e_ledger
@ e_ledger
Definition Print.h:111
pdftron::PDF::PrinterMode::e_prc_32k
@ e_prc_32k
Definition Print.h:201
pdftron::PDF::PrinterMode::e_a4
@ e_a4
Definition Print.h:116
pdftron::PDF::PrinterMode::e_b5_jis_rotated
@ e_b5_jis_rotated
Definition Print.h:187
pdftron::PDF::PrinterMode::e_japanese_double_postcard
@ e_japanese_double_postcard
Definition Print.h:176
pdftron::PDF::PrinterMode::e_japanese_envelope_you_4_rotated
@ e_japanese_envelope_you_4_rotated
Definition Print.h:199
pdftron::PDF::PrinterMode::e_prc_envelop_8
@ e_prc_envelop_8
Definition Print.h:210
pdftron::PDF::PrinterMode::e_15x11
@ e_15x11
Definition Print.h:153
pdftron::PDF::PrinterMode::e_prc_envelop_3
@ e_prc_envelop_3
Definition Print.h:205
pdftron::PDF::PrinterMode::e_a4_transverse
@ e_a4_transverse
Definition Print.h:162
pdftron::PDF::PrinterMode::e_prc_32k_big__rotated
@ e_prc_32k_big__rotated
Definition Print.h:215
pdftron::PDF::PrinterMode::e_prc_16k_rotated
@ e_prc_16k_rotated
Definition Print.h:213
pdftron::PDF::PrinterMode::e_envelope_9
@ e_envelope_9
Definition Print.h:126
pdftron::PDF::PrinterMode::e_envelope_c3
@ e_envelope_c3
Definition Print.h:136
pdftron::PDF::PrinterMode::e_reserved_48
@ e_reserved_48
Definition Print.h:155
pdftron::PDF::PrinterMode::e_double_japanese_postcard_rotated
@ e_double_japanese_postcard_rotated
Definition Print.h:189
pdftron::PDF::PrinterMode::e_prc_envelop_10_rotated
@ e_prc_envelop_10_rotated
Definition Print.h:225
pdftron::PDF::PrinterMode::e_letter_transverse
@ e_letter_transverse
Definition Print.h:161
pdftron::PDF::PrinterMode::e_b5_jis
@ e_b5_jis
Definition Print.h:120
pdftron::PDF::PrinterMode::e_a5
@ e_a5
Definition Print.h:118
pdftron::PDF::PrinterMode::e_japanese_envelope_kaku_3
@ e_japanese_envelope_kaku_3
Definition Print.h:179
pdftron::PDF::PrinterMode::e_b4_iso
@ e_b4_iso
Definition Print.h:149
pdftron::PDF::PrinterMode::e_custom
@ e_custom
Definition Print.h:107
pdftron::PDF::PrinterMode::e_a3_transverse
@ e_a3_transverse
Definition Print.h:174
pdftron::PDF::PrinterMode::e_supera_supera_a4
@ e_supera_supera_a4
Definition Print.h:164
pdftron::PDF::PrinterMode::e_envelope_c6
@ e_envelope_c6
Definition Print.h:138
pdftron::PDF::PrinterMode::e_tabloid_extra
@ e_tabloid_extra
Definition Print.h:159
pdftron::PDF::PrinterMode::e_envelope_b5
@ e_envelope_b5
Definition Print.h:141
pdftron::PDF::PrinterMode::e_envelope_c65
@ e_envelope_c65
Definition Print.h:139
pdftron::PDF::PrinterMode::e_letter
@ e_letter
Definition Print.h:108
pdftron::PDF::PrinterMode::e_a4_plus
@ e_a4_plus
Definition Print.h:167
pdftron::PDF::PrinterMode::e_d_size_sheet
@ e_d_size_sheet
Definition Print.h:132
pdftron::PDF::PrinterMode::e_a4_small
@ e_a4_small
Definition Print.h:117
pdftron::PDF::PrinterMode::e_folio
@ e_folio
Definition Print.h:121
pdftron::PDF::PrinterMode::e_9x11
@ e_9x11
Definition Print.h:151
pdftron::PDF::PrinterMode::e_japanese_envelope_kaku_2_rotated
@ e_japanese_envelope_kaku_2_rotated
Definition Print.h:191
pdftron::PDF::PrinterMode::e_b4_jis_rotated
@ e_b4_jis_rotated
Definition Print.h:186
pdftron::PDF::PrinterMode::e_b5_jis_transverse
@ e_b5_jis_transverse
Definition Print.h:169
pdftron::PDF::PrinterMode::e_envelope_invite
@ e_envelope_invite
Definition Print.h:154
pdftron::PDF::PrinterMode::e_envelope_14
@ e_envelope_14
Definition Print.h:130
pdftron::PDF::PrinterMode::e_c_size_sheet
@ e_c_size_sheet
Definition Print.h:131
pdftron::PDF::PrinterMode::e_b5_iso_extra
@ e_b5_iso_extra
Definition Print.h:172
pdftron::PDF::PrinterMode::e_envelope_dl
@ e_envelope_dl
Definition Print.h:134
pdftron::PDF::PrinterMode::e_envelope_c5
@ e_envelope_c5
Definition Print.h:135
pdftron::PDF::PrinterMode::e_envelope_c4
@ e_envelope_c4
Definition Print.h:137
pdftron::PDF::PrinterMode::e_prc_envelop_5_rotated
@ e_prc_envelop_5_rotated
Definition Print.h:220
pdftron::PDF::PrinterMode::e_legal_extra
@ e_legal_extra
Definition Print.h:158
pdftron::PDF::PrinterMode::e_prc_envelop_6
@ e_prc_envelop_6
Definition Print.h:208
pdftron::PDF::PrinterMode::e_us_std_fanfold
@ e_us_std_fanfold
Definition Print.h:146
pdftron::PDF::PrinterMode::e_a3_extra_transverse
@ e_a3_extra_transverse
Definition Print.h:175
pdftron::PDF::PrinterMode::e_legal
@ e_legal
Definition Print.h:112
pdftron::PDF::PrinterMode::e_a4_extra
@ e_a4_extra
Definition Print.h:160
pdftron::PDF::PrinterMode::e_a3_extra
@ e_a3_extra
Definition Print.h:170
pdftron::PDF::PrinterMode::e_letter_small
@ e_letter_small
Definition Print.h:109
pdftron::PDF::PrinterMode::e_envelope_b6
@ e_envelope_b6
Definition Print.h:142
pdftron::PDF::PrinterMode::e_german_std_fanfold
@ e_german_std_fanfold
Definition Print.h:147
pdftron::PDF::PrinterMode::e_prc_envelop_6_rotated
@ e_prc_envelop_6_rotated
Definition Print.h:221
pdftron::PDF::PrinterMode::e_e_size_sheet
@ e_e_size_sheet
Definition Print.h:133
pdftron::PDF::PrinterMode::e_japanese_envelope_kaku_2
@ e_japanese_envelope_kaku_2
Definition Print.h:178
pdftron::PDF::PrinterMode::e_envelope_10
@ e_envelope_10
Definition Print.h:127
pdftron::PDF::PrinterMode::e_german_legal_fanfold
@ e_german_legal_fanfold
Definition Print.h:148
pdftron::PDF::PrinterMode::e_envelope_12
@ e_envelope_12
Definition Print.h:129
pdftron::PDF::PrinterMode::e_japanese_postcard_rotated
@ e_japanese_postcard_rotated
Definition Print.h:188
pdftron::PDF::PrinterMode::e_japanese_envelope_chou_4_rotated
@ e_japanese_envelope_chou_4_rotated
Definition Print.h:194
pdftron::PDF::PrinterMode::e_letter_extra
@ e_letter_extra
Definition Print.h:157
pdftron::PDF::PrinterMode::e_prc_envelop_2_rotated
@ e_prc_envelop_2_rotated
Definition Print.h:217
pdftron::PDF::PrinterMode::e_a5_rotated
@ e_a5_rotated
Definition Print.h:185
pdftron::PDF::PrinterMode::e_prc_32k_big
@ e_prc_32k_big
Definition Print.h:202
pdftron::PDF::PrinterMode::e_statement
@ e_statement
Definition Print.h:113
pdftron::PDF::PrinterMode::e_japanese_envelope_chou_3
@ e_japanese_envelope_chou_3
Definition Print.h:180
pdftron::PDF::PrinterMode::e_prc_envelop_10
@ e_prc_envelop_10
Definition Print.h:212
pdftron::PDF::PrinterMode::e_Superb_Superb_a3
@ e_Superb_Superb_a3
Definition Print.h:165
pdftron::PDF::PrinterMode::e_tabloid
@ e_tabloid
Definition Print.h:110
pdftron::PDF::PrinterMode::e_10x14
@ e_10x14
Definition Print.h:123
pdftron::PDF::PrinterMode::e_prc_envelop_1
@ e_prc_envelop_1
Definition Print.h:203
pdftron::PDF::PrinterMode::e_6_3_quarters_envelope
@ e_6_3_quarters_envelope
Definition Print.h:145
pdftron::PDF::PrinterMode::e_letter_plus
@ e_letter_plus
Definition Print.h:166
pdftron::PDF::PrinterMode::e_prc_envelop_5
@ e_prc_envelop_5
Definition Print.h:207
pdftron::PDF::PrinterMode::e_prc_envelop_7_rotated
@ e_prc_envelop_7_rotated
Definition Print.h:222
pdftron::PDF::PrinterMode::e_quarto
@ e_quarto
Definition Print.h:122
pdftron::PDF::PrinterMode::e_b4_jis
@ e_b4_jis
Definition Print.h:119
pdftron::PDF::PrinterMode::e_reserved_49
@ e_reserved_49
Definition Print.h:156
pdftron::PDF::PrinterMode::e_prc_32k_rotated
@ e_prc_32k_rotated
Definition Print.h:214
pdftron::PDF::PrinterMode::e_a5_extra
@ e_a5_extra
Definition Print.h:171
pdftron::PDF::PrinterMode::e_prc_envelop_8_rotated
@ e_prc_envelop_8_rotated
Definition Print.h:223
pdftron::PDF::PrinterMode::e_a4_rotated
@ e_a4_rotated
Definition Print.h:184
pdftron::PDF::PrinterMode::e_11x17
@ e_11x17
Definition Print.h:124
pdftron::PDF::PrinterMode::e_executive
@ e_executive
Definition Print.h:114
pdftron::PDF::PrinterMode::e_japanese_envelope_kaku_3_rotated
@ e_japanese_envelope_kaku_3_rotated
Definition Print.h:192
pdftron::PDF::PrinterMode::e_a3_rotated
@ e_a3_rotated
Definition Print.h:183
pdftron::PDF::PrinterMode::e_prc_envelop_4_rotated
@ e_prc_envelop_4_rotated
Definition Print.h:219
pdftron::PDF::PrinterMode::e_a3
@ e_a3
Definition Print.h:115
pdftron::PDF::PrinterMode::e_a5_transverse
@ e_a5_transverse
Definition Print.h:168
pdftron::PDF::PrinterMode::e_a2
@ e_a2
Definition Print.h:173
pdftron::PDF::PrinterMode::e_japanese_postcard
@ e_japanese_postcard
Definition Print.h:150
pdftron::PDF::PrinterMode::e_japanese_envelope_chou_4
@ e_japanese_envelope_chou_4
Definition Print.h:181
pdftron::PDF::PrinterMode::e_prc_16k
@ e_prc_16k
Definition Print.h:200
pdftron::PDF::PrinterMode::e_b6_jis
@ e_b6_jis
Definition Print.h:195
pdftron::PDF::PrinterMode::e_12x11
@ e_12x11
Definition Print.h:197
pdftron::PDF::PrinterMode::e_prc_envelop_9_rotated
@ e_prc_envelop_9_rotated
Definition Print.h:224
pdftron::PDF::PrinterMode::e_letter_extra_transverse
@ e_letter_extra_transverse
Definition Print.h:163
pdftron::PDF::PrinterMode::e_envelope_11
@ e_envelope_11
Definition Print.h:128
pdftron::PDF::PrinterMode::e_prc_envelop_4
@ e_prc_envelop_4
Definition Print.h:206
pdftron::PDF::PrinterMode::e_letter_rotated
@ e_letter_rotated
Definition Print.h:182
pdftron::PDF::PrinterMode::e_b6_jis_rotated
@ e_b6_jis_rotated
Definition Print.h:196
pdftron::PDF::PrinterMode::e_prc_envelop_3_rotated
@ e_prc_envelop_3_rotated
Definition Print.h:218
pdftron::PDF::PrinterMode::e_prc_envelop_7
@ e_prc_envelop_7
Definition Print.h:209
pdftron::PDF::PrinterMode::e_note
@ e_note
Definition Print.h:125
pdftron::PDF::PrinterMode::ScaleType
ScaleType
Enumerated values for specifying the scaling of document pages.
Definition Print.h:259
pdftron::PDF::PrinterMode::e_ScaleType_ReduceToOutputPage
@ e_ScaleType_ReduceToOutputPage
shrink to fit the output page
Definition Print.h:262
pdftron::PDF::PrinterMode::e_ScaleType_FitToOutputPage
@ e_ScaleType_FitToOutputPage
fit to the output page
Definition Print.h:261
pdftron::PDF::PrinterMode::e_ScaleType_None
@ e_ScaleType_None
no scaling
Definition Print.h:260
pdftron::PDF::PrinterMode::SetPaperSize
void SetPaperSize(const Rect &size=Rect(0, 0, 612, 791))
pdftron::PDF::PrinterMode::SetUseRleImageCompression
void SetUseRleImageCompression(bool useRleImageCompression)
pdftron::PDF::PrinterMode::SetOutputAnnot
void SetOutputAnnot(PrintContentTypes printContent)
pdftron::PDF::PrinterMode::Orientation
Orientation
Enumerated values for specifying the orientation of output pages.
Definition Print.h:253
pdftron::PDF::PrinterMode::e_Orientation_Portrait
@ e_Orientation_Portrait
taller than wide
Definition Print.h:254
pdftron::PDF::PrinterMode::e_Orientation_Landscape
@ e_Orientation_Landscape
wider than tall
Definition Print.h:255
pdftron::PDF::PrinterMode::SetScale
void SetScale(double scale)
pdftron::PDF::PrinterMode::SetScaleType
void SetScaleType(ScaleType scaleType)
pdftron::PDF::PrinterMode::SetDuplexing
void SetDuplexing(DuplexMode mode)
pdftron::PDF::PrinterMode::DuplexMode
DuplexMode
Enumerated values for specifying how the printed pages are flipped when duplexing.
Definition Print.h:229
pdftron::PDF::PrinterMode::e_Duplex_ShortSide
@ e_Duplex_ShortSide
flip the paper along the short side
Definition Print.h:233
pdftron::PDF::PrinterMode::e_Duplex_None
@ e_Duplex_None
single-sided printing
Definition Print.h:231
pdftron::PDF::PrinterMode::e_Duplex_LongSide
@ e_Duplex_LongSide
flip the paper along the long side
Definition Print.h:232
pdftron::PDF::PrinterMode::e_Duplex_Auto
@ e_Duplex_Auto
use the current printer setting
Definition Print.h:230
pdftron::PDF::PrinterMode::SetOutputColor
void SetOutputColor(OutputColor color)
pdftron::PDF::PrinterMode::SetCopyCount
void SetCopyCount(int copyCount)
pdftron::PDF::PrinterMode::SetAutoRotate
void SetAutoRotate(bool autoRotate)
pdftron::PDF::PrinterMode::OutputQuality
OutputQuality
Enumerated values for specifying the quality of the printing.
Definition Print.h:237
pdftron::PDF::PrinterMode::e_OutputQuality_Medium
@ e_OutputQuality_Medium
printer medium quality mode
Definition Print.h:240
pdftron::PDF::PrinterMode::e_OutputQuality_High
@ e_OutputQuality_High
printer high quality mode
Definition Print.h:241
pdftron::PDF::PrinterMode::e_OutputQuality_Low
@ e_OutputQuality_Low
printer low quality mode
Definition Print.h:239
pdftron::PDF::PrinterMode::e_OutputQuality_Draft
@ e_OutputQuality_Draft
printer draft mode
Definition Print.h:238
pdftron::PDF::PrinterMode::SetCollation
void SetCollation(bool collation)
pdftron::PDF::PrinterMode::SetDPI
void SetDPI(int dpi)
pdftron::PDF::PrinterMode::NUp
NUp
Definition Print.h:267
pdftron::PDF::PrinterMode::e_NUp_3_2
@ e_NUp_3_2
3 by 2 document pages to 1 output page
Definition Print.h:271
pdftron::PDF::PrinterMode::e_NUp_2_1
@ e_NUp_2_1
2 document pages to 1 output page
Definition Print.h:269
pdftron::PDF::PrinterMode::e_NUp_3_3
@ e_NUp_3_3
3 by 3 document pages to 1 output page
Definition Print.h:272
pdftron::PDF::PrinterMode::e_NUp_2_2
@ e_NUp_2_2
2 by 2 document pages to 1 output page
Definition Print.h:270
pdftron::PDF::PrinterMode::e_NUp_4_4
@ e_NUp_4_4
4 by 4 document pages to 1 output page
Definition Print.h:273
pdftron::PDF::PrinterMode::e_NUp_1_1
@ e_NUp_1_1
1 document page to 1 output page
Definition Print.h:268
pdftron::PDF::PrinterMode::SetOrientation
void SetOrientation(Orientation orientation)
pdftron::PDF::PrinterMode::SetOutputQuality
void SetOutputQuality(OutputQuality quality)
pdftron::PDF::PrinterMode::PrinterMode
PrinterMode()
pdftron::PDF::PrinterMode::~PrinterMode
~PrinterMode()
pdftron::PDF::PrinterMode::OutputColor
OutputColor
Enumerated values for specifying the color mode for printing.
Definition Print.h:245
pdftron::PDF::PrinterMode::e_OutputColor_Grayscale
@ e_OutputColor_Grayscale
8bpp
Definition Print.h:247
pdftron::PDF::PrinterMode::e_OutputColor_Color
@ e_OutputColor_Color
24bpp
Definition Print.h:246
pdftron::PDF::PrinterMode::e_OutputColor_Monochrome
@ e_OutputColor_Monochrome
single color (1bpp)
Definition Print.h:248
pdftron::PDF::PrinterMode::SetAutoCenter
void SetAutoCenter(bool autoCenter)
pdftron::PDF::PrinterMode::NUpPageOrder
NUpPageOrder
Definition Print.h:278
pdftron::PDF::PrinterMode::e_PageOrder_RightToLeftThenTopToBottom
@ e_PageOrder_RightToLeftThenTopToBottom
Definition Print.h:280
pdftron::PDF::PrinterMode::e_PageOrder_BottomToTopThenLeftToRight
@ e_PageOrder_BottomToTopThenLeftToRight
Definition Print.h:282
pdftron::PDF::PrinterMode::e_PageOrder_TopToBottomThenLeftToRight
@ e_PageOrder_TopToBottomThenLeftToRight
Definition Print.h:281
pdftron::PDF::PrinterMode::e_PageOrder_LeftToRightThenTopToBottom
@ e_PageOrder_LeftToRightThenTopToBottom
Definition Print.h:279
pdftron::PDF::PrinterMode::SetNUp
void SetNUp(unsigned int x, unsigned int y, NUpPageOrder pageOrder=e_PageOrder_LeftToRightThenTopToBottom)
pdftron::PDF::PrinterMode::SetNUp
void SetNUp(NUp nup, NUpPageOrder pageOrder=e_PageOrder_LeftToRightThenTopToBottom)
pdftron::PDF::PrinterMode::SetOutputPageBorder
void SetOutputPageBorder(bool printBorder)
pdftron::PDF::PrinterMode::PrintContentTypes
PrintContentTypes
Enumerated values for specifying the document content to print.
Definition Print.h:286
pdftron::PDF::PrinterMode::e_PrintContent_DocumentOnly
@ e_PrintContent_DocumentOnly
Definition Print.h:287
pdftron::PDF::PrinterMode::e_PrintContent_DocumentAnnotationsAndComments
@ e_PrintContent_DocumentAnnotationsAndComments
Definition Print.h:289
pdftron::PDF::PrinterMode::e_PrintContent_DocumentAndAnnotations
@ e_PrintContent_DocumentAndAnnotations
Definition Print.h:288
pdftron::PDF::Rect
Definition Rect.h:29
pdftron::SDF::Obj
Definition Obj.h:41
pdftron::SDF::ObjSet
Definition ObjSet.h:18
pdftron::UString
Definition UString.h:28
pdftron::PDF
Definition Action.h:15
pdftron
Definition BasicTypes.h:10