Stamp Documents¶
PLOSSYS Distribution Engine can stamp documents with texts from SAP before distribution. A stamp identifies a document on paper and in digital form, for example with the user, the job date, or the system name. PLOSSYS Distribution Engine stamps documents via DPF4Convert.
A stamp layout file defines the position, size, and font of each stamp text. SAP provides the texts themselves with each job.
Configure Stamping¶
Prerequisites¶
- SAP DDD 1.6.0 or later.
- PLOSSYS Distribution Engine 2.2.0 or later, if stamp texts contain special characters, for example
Šor€.
Steps¶
-
Create a stamp layout file in the customer-specific stamp directory. As a starting point, copy the template shipped with PLOSSYS Distribution Engine:
- Windows: from
%DPFROOT%\tools\convcfg\pdfstamp\distribute.stp.tplto%SEAL_CUSTOMDIR%\conf\common\stamp\distribute.stp - Linux: from
%DPFROOT%/tools/convcfg/pdfstamp/distribute.stp.tplto%SEAL_CUSTOMDIR%/conf/common/stamp/distribute.stp
Refer to
DPFROOTandSEAL_CUSTOMDIR.Hint - keep stamp layout files in the customer directory
Store stamp layout files only in the customer-specific stamp directory. The file in
%DPFROOT%is a template only. - Windows: from
-
Adapt the text and box definitions in the stamp layout file to the required layout. The comments at the start of the template describe the available settings. The template also contains a text definition for a QR code.
-
In SAP, set
STP_LAYOUTto the file name of the stamp layout file, including the.stpextension, for exampledistribute.stp.Set
STP_LAYOUTon the job to use one stamp layout file for all documents. Set it on a document to use a different stamp layout file for this document only. Refer to Job Level and Document Level. -
In SAP, set the stamp texts as
STAMP_n. SAP DDD passes them to PLOSSYS Distribution Engine asPLS_STAMP_n. -
Set
DIST_TYPEtoPDForMERGEon each document to stamp. PLOSSYS Distribution Engine does not stamp documents withDIST_TYPENATIVEorZIP. -
Check that
WantPreprocess,WantProcess, andWantConvertare set toY. All three default toY. Set them only if a project-specific configuration disabled one of them.
Validation¶
-
Trigger a test job in SAP with at least one document with
DIST_TYPEPDFand a stamp text. -
Check that the distributed PDF shows the stamp texts at the positions defined in the stamp layout file.
-
If special characters in a stamp text appear as
?, check that PLOSSYS Distribution Engine 2.2.0 or later is installed.
Background Information¶
Job Level and Document Level¶
STP_LAYOUT and PLS_STAMP_n can be set on the job and on individual documents. A document value always takes precedence:
-
STP_LAYOUTset on the job:PLOSSYS Distribution Engine applies the value to every document to stamp that has no own
STP_LAYOUTvalue. -
PLS_STAMP_nset on the job:PLOSSYS Distribution Engine applies the value to every document that has no own value for the same
PLS_STAMP_n.
Stamp Cover, Trailer, and Missing Sheets¶
Cover, trailer, and missing sheets are not stamped by default. To stamp them, refer to StampCover, StampTrailer, and StampMissing.