My Suitelet is reaching execution limit due to heavy print , with a schedule script triggered I can generate pdf how can I get it back to Suitelet ?
Is it possible to use a smaller batch size? The user experience is poor when the user has to wait for an action longer than a few seconds.
You could have the scheduled script generate the pdf and put it into the file cabinet. Then update the record with a link to it.
For ultimate automation, I would use a service like PrintNode to then print the pdf file directly to the printer (via API) after it has been generated, then there is no other user interaction with it.