Home > Class Reference > ENSLIB namespace > %ZEN.Report.PrintServer
Private  Storage   

%ZEN.Report.PrintServer


persistent class %ZEN.Report.PrintServer extends RenderServer

Zen Report Print Server definition and utility methods/queries.

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 3 4 2


Summary


Properties
ConfigFile ConnectionTimeout HowOftenToClean InitQueueSize
InitializationTimeout JVMArgs JavaHome Key
LogFile LogLevel LogRotationCount MaxLogFileSize
MemoryThreshold Name NumFilesToClean NumPingThreads
NumThreads PingPort Port PrintEngine
Renderer Server ServerType ThresholdPollingPeriod

Methods
%AddToSaveSet %AddToSyncSet %BMEBuilt %CheckConstraints
%CheckConstraintsForExtent %ClassIsLatestVersion %ClassName %ComposeOid
%ConstructClone %Delete %DeleteExtent %DeleteId
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Exists
%ExistsId %Extends %GUID %GUIDSet
%GetLock %GetParameter %GetSwizzleObject %Id
%InsertBatch %IsA %IsModified %IsNull
%KillExtent %KillExtentData %LoadFromMemory %LockExtent
%LockId %New %NormalizeObject %ObjectIsNull
%ObjectModified %Oid %OnBeforeAddToSync %OnDetermineClass
%Open %OpenId %OriginalNamespace %PackageName
%PerformPrint %PhysicalAddress %PurgeIndices %Reload
%RemoveFromSaveSet %ResolveConcurrencyConflict %RollBack %Save
%SaveDirect %SaveIndices %SerializeObject %ServePSTransform
%ServeTransformAndPrint %SetModified %SortBegin %SortEnd
%SyncObjectIn %SyncTransport %UnlockExtent %UnlockId
%ValidateIndices %ValidateObject CmdLine GetState
LogReportInfo LogStart LogStartFailure LogStop
PortToName Start StartByPort Stop
TerminateAllRenderServers TerminateAllRenderServers2 ZenReportServerExists


Parameters


• parameter TYPE = 2;
"0" indicates a Render Server. Subclasses must override this parameter.

Properties


• property Key as %String;
• property PrintEngine as %String(DISPLAYLIST=",jPDFPrint,Adobe,Foxit",VALUELIST=",jPDFPrint,Adobe,Foxit") [ InitialExpression = "jPDFPrint",Required ];
Print engine - "jPDFPrint" or "Adobe".
• property ServerType as %String [ InitialExpression = "2",ReadOnly ];
Type must be "2" for Print Servers.

Methods


• classmethod %PerformPrint(outfile As %String, printer As %String, PrintServer As %String, PrintTimeOut As %String = "")
• classmethod %ServePSTransform(xmlfile As %String, xslfile As %String, ps As %String, logfile As %String, UseInstalledFop As %Boolean)
• classmethod %ServeTransformAndPrint(xmlfile As %String, xslfile As %String, outfile As %String, printer As %String, logfile As %String, UseInstalledFop As %Boolean, PrintServer As %String, PrintTimeOut As %String = "")
• classmethod CmdLine(pReportServer As %ZEN.Report.PrintServer, Output pCmd As %String, Output pCmdArgs) as %String
Generate the command line to run the script to start up the Print Server.

Queries


• query ByName(name As %String = "")
Selects ID, Name, Port, PingPort, ServerType, PrintEngine
SQL Query :
SELECT %ID, Name, Port, PingPort, ServerType, PrintEngine
FROM PrintServer
WHERE ServerType='2'
ORDER BY Name
Lookup all Zen Report Print Servers.
• query ByServer()
Selects Name, Port, PingPort, PrintEngine, State, StateEx
Lookup Zen Report Print Servers, get basic data plus state.