Export data as pdf