function createPDF(){
const info = {
date : new Date(),
origin: "Company",
originAddress: "Address",
originCityStateZip: "City STATE Zip",
instructions: "Hello World",
packSlip: [[250,"Hello Kitty"]]
};
const pdfFolder = DriveApp.getFolderById(/*HIDDEN ID*/);
const tempFolder = DriveApp.getFolderById(/*HIDDEN ID*/);
const templateDoc = DriveApp.getFileById(/*HIDDEN ID*/);
const tempFile = templateDoc.makeCopy(tempFolder);
const openDoc = SpreadsheetApp.openById(tempFile.getId());
const ss = openDoc.getSheetByName("BOL");
ss.getRange(1, 2).setValue(info.date);
ss.getRange(3, 2).setValue(info.origin);
ss.getRange(4, 2).setValue(info.originAddress);
ss.getRange(5, 2).setValue(info.originCityStateZip);
ss.getRange(15, 1).setValue(info.instructions);
ss.getRange(20, 1).setValue(info.packSlip[0][0]);
ss.getRange(20, 2).setValue(info.packSlip[0][1]);
Logger.log(tempFile.getUrl());
//const pdfContentBlob = tempFile.getAs(MimeType.PDF);
//const newPDF = pdfFolder.createFile(pdfContentBlob).setName(new Date);
//var ui = SpreadsheetApp.getUi();
//ui.alert(newPDF.getUrl());
var pdf = DriveApp.getFileById(tempFile.getId()).getAs('application/pdf');
var savCopy = pdfFolder.createFile(pdf).setName(new Date());
}