I need to parse XML data and fill HTML(XML) or precompiled JS template for printing and then send it to print, all this work should be done on client side.
- Is it possible and is some libs for this purpose available for JS?
- Is it possible to rotate some pages for print. For example: first page in A4-vertical, second A4-horizontal.
- What approach should I use if I start develop own lib? I'm primary work with Java, so I don't know how to build structure on JS, is it possible to write classes in different files and then compile in one JS (I know that in JS classes not available, but we can emulate something similar...)
PS: should work with ie6 ;(
Thanks