I have created some slides from a google sheet and now I have to make a PDF copy of the presentation. The slides came from responses to a google form. I have looked at several scripts from stack overflow that convert slides or slide presentations into PDF. The problem is all of them content this line.

 presentation.saveAndClose();

This line produces the error "saveAndClose is not a function".

I have tried separating them into two functions but what happened was I got several PDF copies of the template I used to create the slides instead of the slides with the data already in them.

0

There are 0 best solutions below