Fixed pdf export for driver