Skip to main content

Dear IFS Heroes,

I want to print 100 lines in one go via Picked Pick List Lines but IFS 9 returns an error:

At present I can print nothing more than 20 lines in one go.

Is there a way to mass print more lines?

 

Thank you.

Hi @rmonov,

 

What’s the Client Version of the IFS Application you’re running? You can check this by clicking on Help on the menu bar, clicking on About…

 

Himasha


Hi @Himasha Kapugeekiyanage,

It’s 9.0.47.0


Hi @rmonov,

 

You would get the error message if you try to print different reports which has same parameters and values and if one report is already in WAITING or WORKING state. The message should only be shown if the same report is ordered twice with the same report parameters and values and print attributes such as the layout, language etc. Solution 249468 fixes this issue. 

 

Hope this helps!

 

Himasha


Hi @rmonov,

 

Are you using  PLSQL custom menu for the mass print or is it standard logic in IFS?

If it’s a custom menu and all picklists are printed in same printer, it’s possible to pack all lines in one print job.

DECLARE
BEGIN

--create a print job
print_job_api.New(print_job_id_,attr_);

FOR rec_ in get_picklists LOOP
--create archive record
archive_api.New_Client_Report(result_key_, report_attr_, parameter_attr_, distribution_list_, print_attr_);
ARCHIVE_API.GET_INFO(instance_attr_, parameter_attr_, result_key_);

--create print job instance
client_sys.Add_To_Attr('PRINT_JOB_ID',print_job_id_,instance_attr_);
client_sys.Add_To_Attr('RESULT_KEY',result_key_,instance_attr_);

print_job_contents_api.New_Instance(instance_attr_);
END LOOP;
print_Job_API.Print(print_job_id_);
END;

 

hope it helps!


Hi @dsj 

Yes it is, thank you for the code will give it a go.

Cheers


Reply