Skip to content

Instantly share code, notes, and snippets.

@aval984
aval984 / GoogleScriptOptions.txt
Last active March 30, 2020 22:06
formatting for making PDFs in Google script (not mine found on Stackoverflow by user MrtJa)
&format=pdf //export format
&size=a4 //A3/A4/A5/B4/B5/letter/tabloid/legal/statement/executive/folio
&portrait=false //true= Potrait / false= Landscape
&scale=1 //1= Normal 100% / 2= Fit to width / 3= Fit to height / 4= Fit to Page
&top_margin=0.00 //All four margins must be set!
&bottom_margin=0.00 //All four margins must be set!
&left_margin=0.00 //All four margins must be set!
&right_margin=0.00 //All four margins must be set!
&gridlines=false //true/false
&printnotes=false //true/false