Skip to main content

%ZEN.Report.PrintServer

persistent class %ZEN.Report.PrintServer extends %ZEN.Report.RenderServer [ Final ]

SQL Table Name: %ZEN_Report.PrintServer

Zen Report Print Server definition and utility methods/queries.

Property Inventory

Method Inventory

Parameters

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

Properties

property Key as %String;
Property methods: KeyDisplayToLogical(), KeyGet(), KeyGetStored(), KeyIsValid(), KeyLogicalToDisplay(), KeyLogicalToOdbc(), KeyNormalize(), KeySet()
property PrintEngine as %String (DISPLAYLIST = ",jPDFPrint,Adobe,Foxit", VALUELIST = ",jPDFPrint,Adobe,Foxit") [ InitialExpression = "jPDFPrint" , Required ];
Print engine - "jPDFPrint" or "Adobe".
Property methods: PrintEngineDisplayToLogical(), PrintEngineGet(), PrintEngineGetStored(), PrintEngineIsValid(), PrintEngineLogicalToDisplay(), PrintEngineLogicalToOdbc(), PrintEngineNormalize(), PrintEngineSet()
property ServerType as %String [ InitialExpression = "2" , ReadOnly ];
Type must be "2" for Print Servers.
Property methods: ServerTypeDisplayToLogical(), ServerTypeGet(), ServerTypeGetStored(), ServerTypeIsValid(), ServerTypeLogicalToDisplay(), ServerTypeLogicalToOdbc(), ServerTypeNormalize(), ServerTypeSet()

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.

Inherited Members

Inherited Properties

Inherited Methods

Storage

Gray indicates storage defined by superclasses.

Storage Model: CacheStorage (%ZEN.Report.RenderServer)

^%SYS("zenreport","DEFINITION","DATA")(ID)
=
%%CLASSNAME
Server
Port
PingPort
NumThreads
NumPingThreads
Renderer
ConfigFile
LogLevel
HowOftenToClean
NumFilesToClean
NumberOfFilesToClean
InitializationTimeout
ConnectionTimeout
JavaHome
JVMArgs
LogDirectory
LogFile
MaxLogFileSize
LogRotationCount
InitQueueSize
ThresholdPollingPeriod
MemoryThreshold
ServerType

Storage Model: CacheStorage (%ZEN.Report.PrintServer)

^%SYS("zenreport","DEFINITION","DATA")(ID,"PrintServer")
=
PrintEngine
Key
FeedbackOpens in a new tab