in reply to convert text file to pdf with PDF::Create
Alternatively, try PDF995 if you're on a Windows machine. It installs as a printer so you just print your document to it and it creates the PDF. I've been using it for years with no issues.