On you ‘F’ spec for the printer use the keyword OFLIND.
Most people code it as OFLIND(*INOF)
Then in your calc specs, before you output to the printer, do a check if *INOF is on.
If yes, do heading, and set off the indicator.
REGISTER or login: