Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

background and automatic printing

Former Member
0 Kudos
854

hi experts,

I have scheduled my report program in background.My requirement is that it should print automatically at the scheduled time.

A spool request is being created but i have to manually give the print from transaction sp02.

When i run in the foreground, the printing is done aautomatically on the press of F8.

Let me kno how i can achieve this ?

2 REPLIES 2

Former Member
0 Kudos
77

Hi,

what kind of printer do you have?. As I know, background printing is not possible for front-end printers. Please check this in transaction SPAD for your printer an choose one with hostpool l or s or u.

Regards,

Christian

Former Member
0 Kudos
77

Hi,

You need to write JOB_OPEN, JOB_SUBMIT, and JOB_CLOSE function modules to perform a Job at scheduled time. If you want to print then use the Function moduel GET_PRINT_PARAMETERS to get the print parameters and after that NEW-PAGE PRINT on WITH PARAMS.

Regards

Sudheer