Output line drawing and scan data from plugin