[Koha-bugs] [Bug 7563] Silent print slips using Firefox PlugIn jsPrintSetup and new staff client preference

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jul 26 18:54:47 CEST 2012


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

--- Comment #32 from Marc Véron <veron at veron.ch> ---
Regarding:
//Choose printer using one or more of the following functions
//jsPrintSetup.getPrintersList...
//jsPrintSetup.setPrinter...

Here I wanted to indicate where a more sophisticated solution can be
implemented. The lines are commented out (//) and ar ignored by the JavaScript.
You can savely remove them.

The function jsPrintSetup.getPrintersList retuns a list of installed printers.
One could then check if e.g. a printer with the name "Slipprinter" is available
and if yes print on this printer using jsPrintSetup.setPrinter('Slipprinter),
otherwise print on the default printer.
For full reference see:
http://jsprintsetup.mozdev.org/reference.html

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


More information about the Koha-bugs mailing list