I'm trying to create an invoice generation system in HTML/CSS where I'd 
printout the Safari rendered document to a PDF and send that to the client.

Problem is, when Safari generates the PDF, it does not respect a lot of my CSS 
styling (for ex, color attributes in TH and TD cells). So I end up with a PDF 
that looks very differently from what I have in Safari and that is not really 
satisfying.

I tried in Chrome and the result was the same. Supposedly both use the same 
HTML→ PDF conversion engine.

The idea is that I want to store invoice data in text files that I later 
process with a script to produce a PDF with a signature embedded...

Is there a way to fix that or should I investigate other paths ? Like LaTeX etc 
?



Jean-Christophe Helary
----------------------------------------
fun: http://mac4translators.blogspot.com
work: http://www.doublet.jp (ja/en > fr)
tweets: http://twitter.com/brandelune

_______________________________________________
MacOSX-talk mailing list
[email protected]
http://www.omnigroup.com/mailman/listinfo/macosx-talk

Reply via email to