5 #ifndef PDFTRON_H_CPPPDFPrint
6 #define PDFTRON_H_CPPPDFPrint
9 #include <C/PDF/TRN_Print.h>
52 const UString & in_outputFileName,
53 PageSet * in_pagesToPrint = NULL,
55 volatile bool * in_cancel = NULL,
83 const char * in_printerName,
84 const char * in_jobName,
85 const char * in_outputFileName,
86 PageSet * in_pagesToPrint = NULL,
88 volatile bool * in_cancel = NULL,
475 #include <Impl/Print.inl>
477 #endif // PDFTRON_H_CPPPDFPrint
void SetNUp(NUp nup, NUpPageOrder pageOrder=e_PageOrder_LeftToRightThenTopToBottom)
void SetOrientation(Orientation orientation)
1 document page to 1 output page
void SetOutputColor(OutputColor color)
void SetCollation(bool collation)
2 by 2 document pages to 1 output page
void SetOutputAnnot(PrintContentTypes printContent)
void SetAutoRotate(bool autoRotate)
void SetPaperSize(const Rect &size=Rect(0, 0, 612, 791))
printer high quality mode
Orientation
Enumerated values for specifying the orientation of output pages.
DuplexMode
Enumerated values for specifying how the printed pages are flipped when duplexing.
ScaleType
Enumerated values for specifying the scaling of document pages.
void SetScale(double scale)
void SetDuplexing(DuplexMode mode)
use the current printer setting
shrink to fit the output page
printer medium quality mode
void SetOutputPageBorder(bool printBorder)
void SetUseRleImageCompression(bool useRleImageCompression)
void SetScaleType(ScaleType scaleType)
3 by 3 document pages to 1 output page
3 by 2 document pages to 1 output page
flip the paper along the short side
void SetOutputQuality(OutputQuality quality)
void SetAutoCenter(bool autoCenter)
void SetCopyCount(int copyCount)
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)
PrintContentTypes
Enumerated values for specifying the document content to print.
OutputQuality
Enumerated values for specifying the quality of the printing.
2 document pages to 1 output page
OutputColor
Enumerated values for specifying the color mode for printing.
flip the paper along the long side
4 by 4 document pages to 1 output page