new pdf path gen