Mako 8.4.0 API
MakoCore SDK API Documentation
Loading...
Searching...
No Matches
prninput.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2024-2026 Hybrid Software Helix Ltd. All rights reserved.
3 */
4
5#ifndef JAWSMAKO_PRNINPUT_H
6#define JAWSMAKO_PRNINPUT_H
7
17
18#include <memory>
19#include <jawsmako/jawsmako.h>
20#include <jawsmako/pcl5input.h>
21
22namespace JawsMako
23{
24 using namespace EDL;
25
27 typedef std::shared_ptr<IPRNInputPDLConfigurator> IPRNInputPDLConfiguratorPtr;
28
29 class IPRNInput;
31
37 class IPRNInput : public IInput
38 {
39 public:
40 virtual ~IPRNInput() = default;
41
53 static JAWSMAKO_API IPRNInputPtr create(const IJawsMakoPtr &jawsMako);
54
68 virtual void setIgnorePrescribe(bool ignorePrescribe) = 0;
69
80 virtual void setPclVersion(IPCL5Input::ePCL5Version version) = 0;
81
90 virtual void setPdlConfigurator(const IPRNInputPDLConfiguratorPtr &configurator) = 0;
91
92 };
93 #define obj2IPRNInput(obj) IPRNInputPtr(dynamic_cast<IPRNInput *>((IRCObject *) (obj)), true)
94
101 {
102 public:
103 virtual ~IPRNInputPDLConfigurator() = default;
104
110 virtual void configure(const IInputPtr &input) = 0;
111 };
112}
113#endif
Abstract input source that can open files from disk or a stream and create an IDocumentAssembly for t...
Definition jawsmako.h:471
ePCL5Version
An enumeration of possible PCL5 versions.
Definition pcl5input.h:44
An instance of the JawsMako PRN input class.
Definition prninput.h:38
virtual void setIgnorePrescribe(bool ignorePrescribe)=0
Set whether to ignore Kyocera PRESCRIBE commands.
virtual void setPdlConfigurator(const IPRNInputPDLConfiguratorPtr &configurator)=0
Set the IPRNInputPDLConfigurator instance to use to configure a PDL input.
virtual void setPclVersion(IPCL5Input::ePCL5Version version)=0
Set the version of PCL5 to interpret any PCL5 content present in the PRN stream or ePCL5Unset to dete...
virtual ~IPRNInput()=default
static JAWSMAKO_API IPRNInputPtr create(const IJawsMakoPtr &jawsMako)
Create an input for reading printer (PRN) source documents.
Interface allowing users to configure the underlying PDL input after creation. Use IPRNInput::setPDLC...
Definition prninput.h:101
virtual void configure(const IInputPtr &input)=0
Invoked by the input after creation of an underlying PDL input.
virtual ~IPRNInputPDLConfigurator()=default
Definition apexcustompostprocess.h:17
std::shared_ptr< IPRNInputPDLConfigurator > IPRNInputPDLConfiguratorPtr
Definition prninput.h:27
PCL5 Input-Specific Features.
#define DECL_SMART_PTR(cls)
Definition smartptr.h:211
#define JAWSMAKO_API
Definition types.h:29