from LPRImporter, modified and initial test