title: Convert text into PDF
body: <p>I have a huge string of text that is apparently raw data for a PDF file, and I need to make it back into a PDF.</p>
  
  <p>Currently I'm reading the string into a StringBuffer but if I need to I can change that. From there I have tried just writing it out to a file and changing the extension (I really hoped that worked, but I kinda knew it wouldn't), I've tried taking it to a String then getting a byte[] out of it and writing that to the file or using a DataOutputStream to put the bytes into the file. None of these has seemed to work.</p>
  
  <p>I've also tried using the iText plugin, I tried just writing it to a pdf through that and I also tried reading the text as a pdf and then copying it page by page to a new pdf. Neither of these have returned very good results. </p>
  
  <p>It's Friday afternoon, I'm tapped, any suggestions will be a huge help!</p>