Added URL encode for layer name on print