Mako 8.2.0 API
MakoCore SDK API Documentation
Loading...
Searching...
No Matches
pcl5output.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2014-2025 Global Graphics Software Ltd. All rights reserved.
3 */
4
5#ifndef JAWSMAKO_PCL5OUTPUT_H_
6#define JAWSMAKO_PCL5OUTPUT_H_
7
12
13#include <jawsmako/jawsmako.h>
14
15namespace JawsMako
16{
17 using namespace EDL;
18
19 class IPCL5Output;
21
27 class IPCL5Output : public IOutput
28 {
29 public:
30 virtual ~IPCL5Output() {}
31
36 typedef enum ePCL5Version
37 {
38 ePCL5e, //<! PCL5e
39 ePCL5c //<! PCL5c
41
48 static JAWSMAKO_API IPCL5OutputPtr create(const IJawsMakoPtr &jawsMako, const IProgressMonitorPtr &progressMonitor = IProgressMonitorPtr ());
49
50 /*
51 * PCL5 Output-specific configuration
52 */
53
61 virtual void setVersion(ePCL5Version version) = 0;
62
81 virtual void setIncludeMarginsWhenSelectingPaper(bool include) = 0;
82
90 virtual void setResolution(uint32 resolution) = 0;
91
97 {
98 ePICNone, //<! No compression
99 ePICRLE, //<! Run Length Encoding
100 ePICDeltaRow //<! Delta Row Compression
102
111 virtual void setImageCompression(ePCL5ImageCompression compression) = 0;
112
120 virtual void setMediaSource(uint32 mediaSource) = 0;
121
138 virtual void setOpenStream(bool open) = 0;
139
149 virtual void setEmitPjl(bool emitPjl) = 0;
150
160 virtual void setEnableTrueTypeNotDef(bool enableTrueTypeNotDef) = 0;
161
162 };
163#define obj2IPCL5Output(obj) IPCL5OutputPtr(dynamic_cast<IPCL5Output *>((IRCObject *) (obj)), true)
164}
165
166#endif
167
Abstract output sink that can output DOM to a file or stream in a given output format.
Definition jawsmako.h:600
Interface for the PCL5 IOutput class.
Definition pcl5output.h:28
virtual void setOpenStream(bool open)=0
Set whether the output stream should be opened or not.
virtual void setIncludeMarginsWhenSelectingPaper(bool include)=0
Set whether paper selection for the PCL output should take into account the non-printable margins of ...
virtual void setMediaSource(uint32 mediaSource)=0
Set the desired media source The default is 7. Equivalent to calling setParameter() with the paramete...
virtual void setImageCompression(ePCL5ImageCompression compression)=0
Set the desired image compression method. The default is delta row. Equivalent to calling setParamete...
virtual void setEnableTrueTypeNotDef(bool enableTrueTypeNotDef)=0
Set whether a TrueType font's .notdef glyph is displayed.
virtual void setResolution(uint32 resolution)=0
Set the PCL resolution The default is 600. Equivalent to calling setParameter() with the parameter na...
virtual ~IPCL5Output()
Definition pcl5output.h:30
virtual void setEmitPjl(bool emitPjl)=0
Set whether a PJL header or end of job should be emitted.
ePCL5Version
Supported versions of PCL5.
Definition pcl5output.h:37
@ ePCL5c
Definition pcl5output.h:39
@ ePCL5e
Definition pcl5output.h:38
static JAWSMAKO_API IPCL5OutputPtr create(const IJawsMakoPtr &jawsMako, const IProgressMonitorPtr &progressMonitor=IProgressMonitorPtr())
Create a PCL5 Output instance.
ePCL5ImageCompression
Available image compression schemes.
Definition pcl5output.h:97
@ ePICRLE
Definition pcl5output.h:99
@ ePICNone
Definition pcl5output.h:98
@ ePICDeltaRow
Definition pcl5output.h:100
virtual void setVersion(ePCL5Version version)=0
Set the PCL version. The default is ePCL5c. Must be either ePCL5c or ePCL5e. Equivalent to calling se...
unsigned int uint32
Definition edltypes.h:34
Definition apexcustompostprocess.h:17
EDL::IProgressMonitorPtr IProgressMonitorPtr
Definition types.h:85
#define DECL_SMART_PTR(cls)
Definition smartptr.h:211
#define JAWSMAKO_API
Definition types.h:29