01-29-2008 4:58 AM
In my code the job is getting scheduled with proper variant but the following error comes when the code is executed. I don't need spool to be printed but only it should be generated.
"Printer not suitable for job step. Automatic printing not possible."
What to do for such error?
01-29-2008 5:04 AM
Hi,
I am not sure if you are setting up the job for schedule. In any case there is a printer parameter "Do not Print the job Directly". you can try to set this parameter which will ensure the job is directly sent to printer. If you are setting the job from T-Code SM36 it is available as a parameter while u define the job schedule steps. Otherwise if you are using any FM then it will be one of the input parameters. let me know if it works
01-29-2008 5:14 AM
Hi,
in job_submit FM u hav an parameter PRIPARAMS which controls printing....
data wa_PRIPARAMS type PRI_PARAMS.
wa_PRIPARAMS-primm = ' '.
job_submit
exporting
....
PRIPARAMS = wa_PRIPARAMS
....
Cheers,
Will.