I have a nicely formatted HTML displayed in a view, but now need to save it 
as PDF. 

Is there any approach where it wouldn't be necessary to reformat the 
document again, instead just save HTML as PDF? 

Tried using generic.pdf, but got the error that PIL is missing, and also 
when I tried to save HTML in a file (through one of the examples from the 
forum), it didn't save the HTML, instead it save unformatted data. 
    open(filename,'wb').write(response.render(view_content, dict(conf=conf, 
po=po, skus=skus))) 

Any advice? 

Thanks,
Adi

Reply via email to