[Koha-bugs] [Bug 11014] Slip Print Problem in Chrome

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 28 05:02:39 CET 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11014

--- Comment #5 from David Cook <dcook at prosentient.com.au> ---
(In reply to Galen Charlton from comment #2)
> I've tried setting IntranetSlipPrinterJS to the following:
> 
> function printThenClose() {
>     window.print();
>     setTimeout('window.close()', 1); 
> }
> 
> Testing (print slip, print slip but cancel) appears to work in the following
> browsers:
> 
> Chrome 32.0.1700.107 m on Win7
> Firefox 27.0.1 on Win7
> IE 11.0.9600.16428 on Win7
> 
> It's ugly, but needs must when the devil drives.  I'd appreciate some
> testing; if this works across a reasonable range of platforms and browsers,
> it could become the new default.

This solution also works with the following criteria:

Chrome 33.0.1750.117 m on Win8
Firefox 27.0.1 on Win8
IE 11.0.9600.16518 on Win8

Nice one, Galen!

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list