But table page breaks works fine with the firefox, the problem with the firefox is since i m using tamil unicode fonts it prints a circle with thunaikal and all. if that circle issue is solve i will stick with firefox. is there any way to solve that?
On Sun, Jun 30, 2013 at 7:35 PM, Mohan Sundaram <[email protected]> wrote: > On Sat, Jun 29, 2013 at 7:34 PM, Abdur Rahman <[email protected]> > wrote: > > > I am using pure HTML and javascript here is the code > > > > http://jsfiddle.net/yp7SA/1/ > > > > i tested it on the Chrome and firefox > > > > when i print from firefox page break works fine at the same time when i > > print the output table from chrome it splits up the table rows at the > page > > break. > > > > Page formatted printing of a table from a browser has always been a > problem. I struggled with this early last decade. I do not know if printing > support has gotten better in HTML over time. > > The way I was able to handle this: > a) ensure that the contents fit well within a page and give page breaks > b) ensure no cell is blank but has atleast one space if it has to be blank. > Prevents cell collapsing. > > I'd recommend you give a print button in the screen and do a PDF generation > on the backend which supports the HTML tags properly for printing. > > -- Mohan Sundaram > _______________________________________________ > ILUGC Mailing List: > http://www.ae.iitm.ac.in/mailman/listinfo/ilugc > ILUGC Mailing List Guidelines: > http://ilugc.in/mailinglist-guidelines > _______________________________________________ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc ILUGC Mailing List Guidelines: http://ilugc.in/mailinglist-guidelines
