All SmartPlant Foundation batch printing jobs run as the SPFRemoteServices local user to access the system and its registry, even if you are logged on as a domain user.
Follow the below steps to set up a batch printing log file.
-
Follow the steps in Setting up SmartPlant Markup Plus log files to set up an environment variable.
-
For batch print log creation, set SPMDBG to 8.
-
If the SPMDBG environment variable is set to 8:
-
The SPMError.log file is not deleted after each separate dmredl process. All debug information is appended to SPMError.log.
-
SPMError.log will contain the module name and time stamp of failure.
-
If batch printing fails, the failed .ini file and the StdErr output will not be deleted from the temporary directory (such as C:\temp).
-
If any printing job fails, SmartPlant Markup Plus will create spm*.tmp and spmerror.log in the user's and in the system's temporary directories.
-
-
To locate a user's temporary directory, type %temp% in Windows Explorer.
-
The SmartPlant Markup Plus debug files can be found in the user's and in the system's temporary directories. For example, C:\Users\SPFRemoteServices\AppData\Local\Temp\ and C:\Windows\TEMP\3.