Okay. I've tried it all, or so it seems. The code:
generator = IO.popen("htmldoc-no-compression -t
+ request.env["REQUEST_URI"]}\"-webpage -", "w+")
send_data(generator.read, :filename => filename, :type =>
I basically just want to generate a pdf from a local url, like:
but, no dice. I can generate a pdf from an external URL. I can generate
a pdf by stuffing plain text in the 'generator' variable.
what gives? help!