Home > Class Reference > %SYS namespace > %ZEN.Report.PrintServer

%ZEN.Report.PrintServer

persistent class %ZEN.Report.PrintServer extends %ZEN.Report.RenderServer

SQL Table Name: %ZEN_Report.PrintServer

Zen Report Print Server definition and utility methods/queries.

Property Inventory (Including Private)

Method Inventory (Including Private)

Parameters

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

Properties (Including Private)

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 (Including Private)

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 (Including Private)

Inherited Methods (Including Private)

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