Connect PLOSSYS Output Engine (Print)¶
This use case describes how to configure physical print output: PLOSSYS Distribution Engine sends distributed files marked with IS_DIST_FILE = Y as an IPP print job to PLOSSYS Output Engine, as part of a document stream.
The connector seal-dpf-workingunit-print-ipp is part of PLOSSYS Distribution Engine. PLOSSYS Output Engine is not included as of PLOSSYS Distribution Engine 2.1.0 and must be installed separately, refer to Architecture Overview.
Prerequisites¶
- SAP DDD is connected to PLOSSYS Distribution Engine, refer to Architecture Overview. For the SAP-side setup, refer to the chapter "Output via PLOSSYS Distribution Engine" in the SAP Document Distribution Director documentation.
- PLOSSYS Output Engine is installed and reachable via IPP.
- A printer is configured in PLOSSYS Output Engine, for example via easyPRIMA.
seal-dpf-workingunit-print-ippis installed as part of PLOSSYS Distribution Engine and running, refer to Services.
Activate the Print Channel¶
Unlike EMAIL, FILEOUT, and WEBPORTAL, SAP has no dedicated BC Set that registers a PRINT output device.
Assign PRINT as the DIST_CONFIG value for the desired SAP order type, for example PUR, through the general DIST_CONFIG parameter configuration, refer to DIST_CONFIG. Print channel activation itself happens server-side, in the following section.
Configure the Distribution Engine Server¶
Execute the following steps on the Distribution Engine server:
-
Open the
<DIST_CONFIG>.inifile selected by theDIST_CONFIGparameter:- Windows:
D:\SEAL\customer\server\dpf\conf\dpf4distribute\print.ini(default installation drive) - Linux:
/opt/seal/server/dpf/conf/dpf4distribute/print.ini
Hint - only the file name is configurable
The directory is fixed. Only the file name changes, following the
DIST_CONFIGvalue passed from SAP. - Windows:
-
Add the channel activation entry:
DistChannel_1 = dpf4distribute.DistributePrintCaution -
DistChannel_1is requiredWithout this
DistChannel_nentry, no print job is sent even ifPLS_PRINTSERVER/PLS_PLOTTERare set. -
Set the print target, for example:
PLS_PRINTSERVER_URL = ipp://<output-engine-host>:631 PLS_PLOTTER = <printer-name>Hint - full URL override
PLS_PRINTSERVERassumes protocolippand port631. To use a different protocol or port, setPLS_PRINTSERVER_URLinstead. It takes precedence overPLS_PRINTSERVER. -
Open the configuration file for the connector service:
- Windows:
C:\ProgramData\SEAL Systems\config\seal-dpf-workingunit-print-ipp.yml - Linux:
/opt/seal/etc/seal-dpf-workingunit-print-ipp.yml
- Windows:
-
If the installation uses
HTTPS only(default), setRESTWU_URL_ORIGINtohttps://localhost:9126.Hint -
REST_WU_MANAGER_URLis deprecatedREST_WU_MANAGER_URLis the older name for this setting. It still works but logs a deprecation warning. UseRESTWU_URL_ORIGINinstead. If both keys are set, the service usesREST_WU_MANAGER_URL. Remove it when you switch.Caution - port 9126 is hardcoded
Refer to Ports. The DPF REST WU Manager port itself cannot be changed. Only which of the two (
9125/9126) this service connects to is configurable.
Printing Without Interruption¶
PLOSSYS Distribution Engine prints the documents of one job without interruption by other output jobs. No configuration is required. Printing without interruption requires PLOSSYS Output Engine 5.7.0 or later.
seal-dpf-workingunit-print-ippsends each document withIS_DIST_FILE = Yas a separate output job.- All output jobs of one Distribution Engine job form a document stream. The stream identifier is the DPF job ID.
- The last document with
IS_DIST_FILE = Yends the document stream. - The documents are printed in the order of the RLI.
- While the document stream is active, the output device prints no other output jobs.
Hint - timeout of the document stream
If no further document of the stream arrives within a timeout, the document stream ends and the output device is released. The timeout is set with DOCUMENT_STREAM_TIMEOUT for the seal-controller service. Default: 1m.
Optional Parameters¶
Set these on the Distribution Engine server, in the same <DIST_CONFIG>.ini file:
P5JOBTIMEOUT: optional, timeout in milliseconds to wait until the print job is completed, default3,600,000(1 hour).OUT_NGN_JOB_POLLING_INTERVAL: optional, interval in milliseconds to poll PLOSSYS Output Engine for the print job status, default2,000(2 seconds).
Validate¶
-
In SAP, trigger a message for a purchase order that uses the print channel.
-
On the Distribution Engine server, check that the output order was processed in the DPF Tracker.
-
In PLOSSYS Output Engine, check that the print job appears and completes successfully.