Fix pdf print image error