Learning
Documentation
Community
Open Exchange
Global Masters
Home / Class Reference / ENSLIB namespace / EnsLib.Printing.AbstractPrinter
Private  Storage   

EnsLib.Printing.AbstractPrinter


abstract class EnsLib.Printing.AbstractPrinter extends
Ens.BusinessOperation, EnsLib.Printing.AbstractPrinterDelegate

An abstract printer operation

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
2 2 3


Summary


This is a Business Operation class.

RequestResponse
EnsLib.Printing.PrintJob Ens.Response

Properties
%AlertStartTime %ConfigName %ConfigQueueName %LastActionTime
%LastHandledTime %LastReportedError %QuitTask %RequestHeader
%SessionId %SuperSession %WarnedLatest %isShadow
Adapter AlertGroups AlertOnError AlertRetryGracePeriod
ArchiveIO BusinessPartner DeferResponse FailureTimeout
IOLogEntry InactivityTimeout NoFailWhileDisconnected PrinterDelegateClass
QueueCountAlert QueueWaitAlert ReplyCodeActions Retry
RetryCount RetryInterval SendSuperSession SuspendMessage
ThrottleDelay

Methods
%AddToSaveSet %ClassIsLatestVersion %ClassName %ConstructClone
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Extends
%GetParameter %IsA %IsModified %New
%NormalizeObject %ObjectModified %OnClose %OnNew
%OriginalNamespace %PackageName %RemoveFromSaveSet %SerializeObject
%SetModified %SuperSessionSet %ValidateObject AdapterName
AssignOneSetting CloseIOLogEntry DeferResponse EnumerateSettingsClose
EnumerateSettingsExecute EnumerateSettingsFetch FindDestinationForPrinter GenerateSuperSession
GetDeferredResponseToken GetMessageList GetProductionSettingValue GetProductionSettings
GetPropertyConnections GetSettings GetShadowInstance IncludeSuperSession
InitializeDelegate NewIOLogEntry OnError OnFailureTimeout
OnGenerateSuperSession OnGetConnections OnGetReplyAction OnInit
OnKeepalive OnMessage OnMonitor OnProductionStart
OnProductionStop OnTearDown Print QueueName
SaveIOLogEntry SendAlert SendDeferredResponse SendRequestAsync
SendRequestSync

Subclasses
EnsLib.Printing.UNIXPrinter

Parameters


• parameter INVOCATION = "Queue";
2 modes: Queue, InProc
• parameter SETTINGS = "PrinterDelegateClass";
List of properties can be set as settings in the configuration file format is a comma separated list of property names

Properties


• property PrinterDelegateClass as Ens.DataType.Class(EXTENDS="EnsLib.Printing.AbstractPrinterDelegate");
Printer Delegate class name if you need this

Methods


• method FindDestinationForPrinter(pSender As %RegisteredObject, pPrintTarget As %String, ByRef pDestination As %String) as %Status
Default implementation of AbstractPrinterDelegate:findDestinationForPrinter method
• method OnInit() as %Status
This user callback method is called via initConfig() from %OnNew() or in the case of SOAP Services from OnPreSOAP()
• method Print(pRequest As EnsLib.Printing.PrintJob, ByRef pResponse As Ens.Response) as %Status
Print a print job