I am looking for script to create a variable Google map to be printed in a document.

Hi, am looking for the script that would create a map that would fit in my document. The variable would be the student location with a route marked on the map when printed. I have found some in google but have not achieved what I am looking for

There’s an How-To document available which may be helpful: