Okay. I''ve tried it all, or so it seems. The code: generator = IO.popen("htmldoc-no-compression -t pdf14-quiet-jpeg-path \".;http://#{request.env["HTTP_HOST"] + request.env["REQUEST_URI"]}\"-webpage -", "w+") generator.close_write send_data(generator.read, :filename => filename, :type => "application/pdf") I basically just want to generate a pdf from a local url, like: http://localhost:3000/projects/3/sprints 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! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---