Home > Class Reference > ENSLIB namespace > EnsLib.Printing.UNIXPrinter


class EnsLib.Printing.UNIXPrinter extends EnsLib.Printing.AbstractPrinter

An abstract printer operation

Property Inventory (Including Private)

Method Inventory (Including Private)


parameter SETTINGS = Command,Options,CharSet::selector?context={Ens.ContextSearch/CharacterSets};
Inherited description: List of properties can be set as settings in the configuration file format is a comma separated list of property names

Properties (Including Private)

property CharSet as %String [ InitialExpression = "UTF8" ];
Character set to use when printing (UTF-8 is the default)
Property methods: CharSetDisplayToLogical(), CharSetGet(), CharSetIsValid(), CharSetLogicalToDisplay(), CharSetLogicalToOdbc(), CharSetNormalize(), CharSetSet()
property Command as %String (MAXLEN = 512) [ InitialExpression = "lp" ];
This value must either be lp or specified in the permitted interoperability OS command list.
Property methods: CommandDisplayToLogical(), CommandGet(), CommandIsValid(), CommandLogicalToDisplay(), CommandLogicalToOdbc(), CommandNormalize(), CommandSet()
property Options as %String (MAXLEN = 32700);
Printer options, separated by a linefeed
Property methods: OptionsDisplayToLogical(), OptionsGet(), OptionsIsValid(), OptionsLogicalToDisplay(), OptionsLogicalToOdbc(), OptionsNormalize(), OptionsSet()

Methods (Including Private)

method OnInit() as %Status [ Language = objectscript ]
Inherited description: 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 [ Language = objectscript ]
Print a print job
method buildCommand(pRequest As EnsLib.Printing.PrintJob, ByRef pCmd As %String, ByRef pCharSet As %String) as %Status [ Language = objectscript ]
Constructs the lp command for this print job
method printJob(pRequest As EnsLib.Printing.PrintJob, ByRef pCmd As %String, pCharSet As %String) as %Status [ Language = objectscript ]
Submit the print job using the specified command

Inherited Members

Inherited Properties (Including Private)

Inherited Methods (Including Private)

FeedbackOpens in a new window