pdf gen +samples