Our project requires headers and footers at the top and bottom of every report.Ã, We have successfully inserted them in the .css files in the <body> style as a background image.Ã, Unfortunately, these images do not print when the report is sent to the printer.
Is there a way to do this without putting the image explicitly in every single report?Ã, If so, please send the information.
Page Header and Footer have Background image property available. Why did you have to work around it using CSS? CSS is not going to float into PDF. And some browsers disable printing of background images.
Thanks for responding to my question. Due to the nature of our portal we use multiple applications other than CRN. The css file(s) provide the information that must appear at the top and bottom of every displayed page within the portal. We were hoping for an easy pass to a print out and so that we would not have to edit every report and every other page that we display through our portal. Most of our reports do not render correctly into pdf, so management had us remove that capability from the users.
This might be simple question, but did you enable printing of background in IE/Mozilla Page Setup?
Thanks for responding. Yes we tried that and only the footer printed correctly (we are restricted to using only IE). Since the same image needs to be present in the header and footer, we also tried making a new copy of the image with a different name to see if that would resolve our problem, but it did not. Any further suggestions or advice would be most appreciated.
Sounds like it might be an IE bug.
The solution to this problem is to upgrade from 1.1 to 1.1 MR1 or 1.1 MR2. Since we have to support 1.1 for sometime, I was able to produce a similar image using blocks, background colors and text items. Although not as pretty, at least it prints with the PDFs under CRN 1.1. Thank you to everyone who offered an idea or suggestion, it was most appreciated!
Thanks again,
Don