webgis: refactoring in Print - used references instead of ids