Thanks for tweaking, Mark. Code looks nice now. Marc Véron Am 30.03.2013 14:48, schrieb Mark Tompsett:
Greetings,
http://wiki.koha-community.org/wiki/Setting_up_slip_printer_to_print_silentl...
The code is not correctly displayed in the Wiki, it does not show ''.
I tweaked the page, since it was not displaying correctly. It should now display the two single quotes correctly. I also removed the comment saying to view source. Hope this helps avoid this problem in the future. The RichEditor is your friend -- unless you like typing 4 single quotes. ;)
And to reiterate, the code displayed should look like: jsPrintSetup.setOption('headerStrLeft',''); jsPrintSetup.setOption('headerStrCenter',''); jsPrintSetup.setOption('headerStrRight',''); jsPrintSetup.setOption('footerStrLeft',''); jsPrintSetup.setOption('footerStrCenter',''); jsPrintSetup.setOption('footerStrRight','');
GPML, Mark Tompsett