generates pdf files for sp products