DOM ID handling + printers friendly

- new DOM ID handling to avoid duplicates
- printer special footer