Properties of the StackDistribution context

Property Description
Stack.Id Read-only. Returns the stack Identifier of the distributed stack.
Stack.Channel Read-only. Returns the channel name of the channel for which this stack was created.
Stack.Printer Read-only. Returns the printer name of the printer for which this stack was created.
Stack.OutputFormat Read-only. Returns the output format as configured on the Conversion component. For information on the list of output formats, see the next table.
Stack.OutputFolder Returns the location of the output folder where the print file is saved.

To change the location, set Stack.OutputFolder to a new value.

Stack.OutputPrintFile Returns the print file name. By default, this name consists of the stack ID and the Stack.OutputFormat as extension. For example, 42.pdf.

To change the name, set Stack.OutputPrintFile to a new value.

Stack.OutputPrintFile does not return the full path. To get the full path, use Stack.OutputFolder with Stack.OutputPrintFile.

Stack.OutputPrintFileContent Returns the print file content as a byte array.
Stack.OutputPrintFileContentBase64String Returns the print file content as a Base64 encoded string.
Stack.OutputDescriptionFile Returns the name of the XML description file. By default, the name consists of the stack ID with extension .xml. For example, 42.xml.

To change the name, set a new value to Stack.OutputDescriptionFile.

This variable does not return the full path. To get the full path, use Stack.OutputFolder with Stack.OutputDescriptionFile.

Stack.OutputDescriptionFileContent Returns the content of the generated description file stored in the storage folder as a byte array.
Stack.OutputDescriptionFileContentAsString Returns the content of the XML description file as an XML string.
Stack.OutputDescriptionFileContentBase64String Returns the content of the XML description file as a Base64 encoded string.
Stack.GetOrganisationalMetadata (key) Function that produces the value of a key in the organisational metadata. It only returns values for those keys that are identical for all documents within the stack. If a key is not present, an exception is thrown.
Stack.Save() Function that saves the print file and the XML description file. It copies the print file from the storage folder to the output folder as set in Stack.OutputFolder, under the name as set in Stack.OutputPrintFile. Also, it copies the XML description file from the storage folder to the output folder as set in Stack.OutputFolder under the name as set in Stack.OutputDescriptionFile.

Output format Description

AFP

Advanced Function Presentation

PCL

Printer Command Language

PDF

Portable Document Format

POS

PostScript

PXL

PCL 6 Enhanced

TIFF

Tagged Image Format