Fixed printer access bug and optimized processimage method