cancel
Showing results for 
Search instead for 
Did you mean: 

To save automatically Background job output in pdf format at server level - windows

Former Member
0 Kudos

Hi Experts,



Hi Experts,

I did something as mentioned in the note #161516, but unable to find the output file.

I have created output device TEST1 # as ASCIIPRI : some generic ASCII printer, Access method : L print locally LP/LPR

at command id : E:\usr\sap\print.cmd &F E:\usr\sap\<SID>\ZTEXT\spool.

If I tested the print by TEST1, in SP01 its showing as completed and printed successfully, but I am not able to find the file in the target location i.e.,E:\usr\sap\<SID>\ZTEXT\spool.

Somebody please can tell me what I am doing wrong?


Regards,

Manoj

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I solved this by below steps. # note 161516

I have configured output device FILEPRINT with type PDF1: , access method: L , host printer : PDFwriter (which is configured at server level)

at command set ID provided : E:\ZPRINT\print.cmd &F

print.cmd script :

@echo off

rem %1 file name

set target=E:\ZTEST\spool

REM copy file

cmd /c copy %1 %target% >> error.log

whenever I prints the data from SAP by selecting output device : FILEPRINT , its saving the file in server level path E:\ZTEST\spool.

Regards,

Manoj

Florian
Active Contributor
0 Kudos

Hi Manoj,

nice to read that you solved your issue and also shared the answer here. Please mark your question as answered / Assumed answered.

Thank you.

~Florian

Answers (0)