Hello Experts,
What should be the general procedure for troubleshooting if problems occur when you print using SAPSprint?
Thanks in advance.
Updated May 18, 2018
Hello Experts,
What should be the general procedure for troubleshooting if problems occur when you print using SAPSprint?
Thanks in advance.
Comments
Trace Creation:
Make a trace file and a file containing the print data stream in almost all cases. This helps in conducting further analysis, especially on the part of SAP Support. In order to do this, you can call SAPSprint with specific parameters from the command line. Pay close attention to upper and lowercase when entering the commands.
In order to set the trace level, follow the below given commands:
.Command : 'sapsprint -oi LogLevel 5': This log level is suitable for most error situations.
.Command : 'sapsprint -oi LogLevel 9': This is the highest log level, and writes a great deal of information. It is required only in rare cases.
.Command : 'sapsprint -oi LogLevel 1': Logs only send print requests.
.Command : 'sapsprint -oi LogLevel 0': Resets the log level. No further logs are written.
This setting writes the following files:
• General SAPSprint log: sapsprint.dbg
• Request-specific log (for access method S):
• sapwin__.log, for example, sapwin_ABC0000012345_1.log
• Request-specific log (for access method U):
• sapwin_dfA.log, for example, sapwin_dfA001lambik01.log
Generating a file containing the print datastream (this is only required if a problem occurs with the output itself - for example, the font is improper):
.Command : 'sapsprint -oi KeepFile 1': This tells the system to retain a file with the print datastream.
.Command : 'sapsprint -oi KeepFile 0': This tells the system not to retain a file with the print datastream.
This setting writes the following files:
_, for example, ABC0000012345_1 (access method S)
dfA, for example, dfA001lambik01 (access method U)
Set the Ni trace level:
.Command : 'sapsprint -oi NiTrace 1': Activate the NI trace:
.Command : 'sapsprint -oi NiTrace 0': Deactivate the NI trace:
The commands explained above can save
a general trace file
a further trace file for each request
a file with the print datastream in the directory that has been specified when SAPSprint was installed
To set these options, it is not required to restart the SAPSprint service. Attach the trace files and the file(s) with the print datastream to the customer message as a ZIP file.
Setting the trace files' path:
.Command : 'sapsprint -os LogPath '
The path must exist, and the SAPSprint service should be restarted.
Set the restart condition
.Command : 'sapsprint -oi AbortAfterErrors n'
n is the number of detected error post which SAPSprint is restarted automatically. n = 0 means a restart is not performed, that means, the service continues to run independent of the number of detected errors. Depending on the type of errors, this may result in the processes to crash or stop.