Mako 8.2.0 API
MakoCore SDK API Documentation
Loading...
Searching...
No Matches
pcl5input.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2018-2025 Global Graphics Software Ltd. All rights reserved.
3 */
4
5#ifndef JAWSMAKO_PCL5INPUT_H
6#define JAWSMAKO_PCL5INPUT_H
7
8
18
19#include <edl/idomfont.h>
20#include <jawsmako/jawsmako.h>
21#include <jawsmako/pjl.h>
22
23namespace JawsMako
24{
25 using namespace EDL;
26
27 class IPCL5Input;
29
35 class IPCL5Input : public IInput
36 {
37 public:
38 virtual ~IPCL5Input() {}
39
43 typedef enum
44 {
49
58 static JAWSMAKO_API IPCL5InputPtr create(const IJawsMakoPtr &jawsMako, const IProgressMonitorPtr &progressMonitor = IProgressMonitorPtr ());
59
75 virtual void setRopResolution(uint32 resolution) = 0;
76
106 virtual void setFlattenRops(bool flatten) = 0;
107
137 virtual void setDefaultPaperSize(const U8String &paperSize) = 0;
138
145 virtual void setDefaultLandscape(bool landscape) = 0;
146
153 virtual void setDefaultCopies(uint32 copies) = 0;
154
161 virtual void setDefaultDuplex(bool duplex) = 0;
162
170
177 virtual void setDefaultManualFeed(bool manualFeed) = 0;
178
189 virtual void setPclVersion(ePCL5Version version) = 0;
190
203 virtual void setDefaultsFromPjl(IPJLParserPtr &pjlParser) = 0;
204
231 virtual void enableUnencapsulatedMode(bool unencapsulated) = 0;
232
242 virtual void setMediaHandler(IMediaHandler *mediaHandler) = 0;
243
257 virtual void setIgnorePrescribe(bool ignorePrescribe) = 0;
258
282 virtual void setPermanentResourceStore(IRCObjectPtr &permanentResourceStore) = 0;
283
298 virtual void addInternalFont(const IDOMFontOpenTypePtr &font) = 0;
299 };
300 #define obj2IPCL5Input(obj) IPCL5InputPtr(dynamic_cast<IPCL5Input *>((IRCObject *) obj), true)
301}
302
303#endif
Abstract input source that can open files from disk or a stream and create an IDocumentAssembly for t...
Definition jawsmako.h:466
Interface allowing users of supported input types to monitor/handle unsatisfied media requests....
Definition jawsmako.h:2635
An instance of the JawsMako PCL5 input class.
Definition pcl5input.h:36
virtual void setPermanentResourceStore(IRCObjectPtr &permanentResourceStore)=0
Set a permanent resource store.
virtual void setDefaultDuplex(bool duplex)=0
Set whether duplex should be set by default.
virtual void setDefaultCopies(uint32 copies)=0
Set the default number of per-page copies.
ePCL5Version
An enumeration of possible PCL5 versions.
Definition pcl5input.h:44
@ ePCL5e
PCL5e.
Definition pcl5input.h:46
@ ePCL5Unset
Unset.
Definition pcl5input.h:45
@ ePCL5c
PCL5c.
Definition pcl5input.h:47
virtual void setMediaHandler(IMediaHandler *mediaHandler)=0
Set the IMediaHandler instance to use to handle unsatisfied media requests.
virtual void setIgnorePrescribe(bool ignorePrescribe)=0
Set whether to ignore Kyocera PRESCRIBE commands.
virtual void setPclVersion(ePCL5Version version)=0
Set the PCL5 version to use when interpreting the stream, or ePCL5Unset to detect from any input PJL....
virtual void setDefaultLandscape(bool landscape)=0
Set the default orientation.
virtual ~IPCL5Input()
Definition pcl5input.h:38
virtual void setFlattenRops(bool flatten)=0
Set whether ROPs should be flattened.
virtual void setRopResolution(uint32 resolution)=0
Set the resolution to be used when flattening ROPs.
static JAWSMAKO_API IPCL5InputPtr create(const IJawsMakoPtr &jawsMako, const IProgressMonitorPtr &progressMonitor=IProgressMonitorPtr())
Create an input for reading source documents in PCL5 format.
virtual void setDefaultPaperSize(const U8String &paperSize)=0
Set the default paper size.
virtual void setDefaultManualFeed(bool manualFeed)=0
Set whether manual feed should be set by default.
virtual void setDefaultsFromPjl(IPJLParserPtr &pjlParser)=0
Take initialization data from the given PJL parser.
virtual void setDefaultDuplexBindingMode(IPJLParser::eDuplexBindingMode bindingMode)=0
Set the default binding edge for duplexing.
virtual void enableUnencapsulatedMode(bool unencapsulated)=0
Enable or disable unencapsulated mode.
virtual void addInternalFont(const IDOMFontOpenTypePtr &font)=0
Add an internal font.
eDuplexBindingMode
Duplex binding mode enumeration.
Definition pjl.h:139
unsigned int uint32
Definition edltypes.h:34
EDLSysString U8String
A UTF-8 String.
Definition types.h:144
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