On Jan 20, 2013, at 1:44 PM, LuKreme <krem...@kreme.com> wrote: > > On 19 Jan 2013, at 20:54 , Jean-Christophe Helary > <jean.christophe.hel...@gmail.com> wrote: > >> 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. > > This is probably not the best group for this. > > Are you using a specific print css sheet for the invoice? > > As I recall, but it's been awhile, print css is rather different and not all > css features will be supported by all printers. Also, the printer control in > OS X defaults to "Print background colors/images" being disabled.
I wonder what I did not think about that. Ok, when "print background" is enabled, it works. It was the best group for this indeed :) 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 MacOSX-talk@omnigroup.com http://www.omnigroup.com/mailman/listinfo/macosx-talk