Add function to enable disable rotation on print