From bugzilla-daemon@bugs.koha-community.org Tue Feb 21 00:47:29 2012
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 7563] New: Silent print slips using Firefox PlugIn
jsPrintSetup and new staff client preference
Date: Mon, 20 Feb 2012 23:50:29 +0000
Message-ID:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1169450003880397846=="
--===============1169450003880397846==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3D7563
Bug #: 7563
Summary: Silent print slips using Firefox PlugIn jsPrintSetup
and new staff client preference
Classification: Unclassified
Change sponsored?: ---
Product: Koha
Version: master
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Circulation
AssignedTo: kyle.m.hall@gmail.com
ReportedBy: veron@veron.ch
QAContact: koha.sekjal@gmail.com
CC: gmcharlt@gmail.com
This is a proposition to implement silent printing for slips.=20
In opposition to the solution with an additional Firefox (Portable)
installation (see:
http://wiki.koha-community.org/wiki/Using_Portable_Firefox_as_a_Koha_Client),
this solution works with the standard Firefox installation (+ PlugIn
jsPrintSetup) .
jsPrintSetup e.g. allows to set printer, print silent, change header and
footer, see: http://jsprintsetup.mozdev.org/
The overall concept is to have a new staff client preference where one can
enter the necessary JavaScript.=20
If this preference is empty, Koha falls back to te default behaviour.
I did a proof of concept with the following steps:=20
--Step 1 --------------------------
Add somewhere to staff_client.pref,=20
e.g. near intranetstylesheet:
----------------------------------
-
- "Use the following JavaScript for printing slips. Define at least
function printThenClose(). For use e.g. with Firefox PlugIn jsPrintSetup, see
http://jsprintsetup.mozdev.org/:"
- pref: intranetslipprinterjs
type: textarea
class: code =20
----------------------------------
(Suppose this will be pootleized to have translations?)
--Step 2---------------------------
Add somewhere to moremember.pl:
----------------------------------
$template->param( intranetslipprinterjs =3D>
C4::Context->preference('intranetslipprinterjs' ) );
----------------------------------
--Step 3----------------------------------------------
Replace hard coded JavaScript function printThenClose()=20
in moremember-print.tt and moremember-receipt.tt with:
------------------------------------------------------
=20
--Step 4----------------------------------------------------------------------
Login to Koha, go to Home =E2=80=BA Administration =E2=80=BA System Preferenc=
es (Staff Client)=20
and edit the new field intranetslipprinterjs to print silent, set printer etc.
------------------------------------------------------------------------------
function printThenClose() {
try
{
//Try to print using jsPrintSetup Plug-In in Firefox
//If it is not installed fall back to default prnting
jsPrintSetup.clearSilentPrint(); =20
jsPrintSetup.setOption('printSilent', 1);
//Choose printer using one or more of the following functions
//jsPrintSetup.getPrintersList...
//jsPrintSetup.setPrinter...
//Set Header and footer...
jsPrintSetup.setOption('headerStrLeft', '');
jsPrintSetup.setOption('headerStrCenter', '');
jsPrintSetup.setOption('headerStrRight', '');
jsPrintSetup.setOption('footerStrLeft', '');
jsPrintSetup.setOption('footerStrCenter', '');
jsPrintSetup.setOption('footerStrRight', ''); =20
jsPrintSetup.print(); =20
window.close();
}
catch(err)
{ =20
//Default printing if jsPrint-setup is not available
window.print();
window.close();
}
}=20
--Step 5---------------------------------------------
...and install jsPrintSetup PlugIn in Firefox...
-----------------------------------------------
>From now on, slips will print silently with Firefox and will show default
behaviour
if jsPrintSetup is not installed or if you make use of an other browser.=20
All other printing will behave like before.
--=20
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=
=3Demail
------- You are receiving this mail because: -------
You are watching all bug changes.
--===============1169450003880397846==--
From bugzilla-daemon@bugs.koha-community.org Tue Feb 21 00:50:38 2012
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 7563] Silent print slips using Firefox PlugIn
jsPrintSetup and new staff client preference
Date: Mon, 20 Feb 2012 23:53:39 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============5947298172723762388=="
--===============5947298172723762388==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3D7563
Marc V=C3=A9ron changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |veron@veron.ch
--=20
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=
=3Demail
------- You are receiving this mail because: -------
You are watching all bug changes.
--===============5947298172723762388==--
From bugzilla-daemon@bugs.koha-community.org Tue Feb 21 09:02:15 2012
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 7563] Silent print slips using Firefox PlugIn
jsPrintSetup and new staff client preference
Date: Tue, 21 Feb 2012 08:05:16 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============6156644245378406227=="
--===============6156644245378406227==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3D7563
Marc Balmer changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |marc@msys.ch
--=20
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=
=3Demail
------- You are receiving this mail because: -------
You are watching all bug changes.
--===============6156644245378406227==--
From bugzilla-daemon@bugs.koha-community.org Sun Apr 22 16:47:06 2012
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 7563] Silent print slips using Firefox PlugIn
jsPrintSetup and new staff client preference
Date: Sun, 22 Apr 2012 14:53:10 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============2053871005295067195=="
--===============2053871005295067195==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7563
Marc Véron changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|kyle.m.hall@gmail.com |veron@veron.ch
--
You are receiving this mail because:
You are watching all bug changes.
--===============2053871005295067195==--
From bugzilla-daemon@bugs.koha-community.org Tue Apr 24 22:23:02 2012
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 7563] Silent print slips using Firefox PlugIn
jsPrintSetup and new staff client preference
Date: Tue, 24 Apr 2012 20:29:13 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============8227917739871272085=="
--===============8227917739871272085==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7563
--- Comment #1 from Marc Véron ---
Created attachment 9290
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=9290&action=edit
Bug 7563 [ENH] - Silent print slips using Firefox PlugIn jsPrintSetup and new
staff client preference
Marc Veron
modified: mysql/sysprefs.sql
modified: mysql/updatedatabase.pl
modified:
../../koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-print.tt
modified:
../../koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-receipt.tt
modified: ../../members/printslip.pl
--
You are receiving this mail because:
You are watching all bug changes.
--===============8227917739871272085==--
From bugzilla-daemon@bugs.koha-community.org Tue Apr 24 22:25:13 2012
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 7563] Silent print slips using Firefox PlugIn
jsPrintSetup and new staff client preference
Date: Tue, 24 Apr 2012 20:31:25 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============2569022855306287185=="
--===============2569022855306287185==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7563
Marc Véron changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |In Discussion
--
You are receiving this mail because:
You are watching all bug changes.
--===============2569022855306287185==--
From bugzilla-daemon@bugs.koha-community.org Tue Apr 24 22:29:35 2012
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 7563] Silent print slips using Firefox PlugIn
jsPrintSetup and new staff client preference
Date: Tue, 24 Apr 2012 20:35:47 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============6348555457838444328=="
--===============6348555457838444328==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7563
Marc Véron changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|In Discussion |ASSIGNED
--
You are receiving this mail because:
You are watching all bug changes.
--===============6348555457838444328==--
From bugzilla-daemon@bugs.koha-community.org Wed Apr 25 11:27:56 2012
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 7563] Silent print slips using Firefox PlugIn
jsPrintSetup and new staff client preference
Date: Wed, 25 Apr 2012 09:34:08 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0734754115589186004=="
--===============0734754115589186004==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7563
--- Comment #2 from Marc Véron ---
Please do not use first patch (mistaked with files). New patch will follow.
Marc
--
You are receiving this mail because:
You are watching all bug changes.
--===============0734754115589186004==--
From bugzilla-daemon@bugs.koha-community.org Wed Apr 25 11:59:49 2012
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 7563] Silent print slips using Firefox PlugIn
jsPrintSetup and new staff client preference
Date: Wed, 25 Apr 2012 10:06:03 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1408238834867338092=="
--===============1408238834867338092==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7563
Katrin Fischer changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |katrin.fischer@bsz-bw.de
--- Comment #3 from Katrin Fischer ---
Hi Marc,
you can obsolete the patch, so that noone uses it. It will still be
accesssible.
Details > edit details (behind bug title) > obsolete checkbox
--
You are receiving this mail because:
You are watching all bug changes.
--===============1408238834867338092==--
From bugzilla-daemon@bugs.koha-community.org Wed Apr 25 13:13:26 2012
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 7563] Silent print slips using Firefox PlugIn
jsPrintSetup and new staff client preference
Date: Wed, 25 Apr 2012 11:19:39 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============5598238722200606504=="
--===============5598238722200606504==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7563
Marc Véron changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #9290|0 |1
is obsolete| |
--
You are receiving this mail because:
You are watching all bug changes.
--===============5598238722200606504==--
From bugzilla-daemon@bugs.koha-community.org Wed Apr 25 22:37:16 2012
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 7563] Silent print slips using Firefox PlugIn
jsPrintSetup and new staff client preference
Date: Wed, 25 Apr 2012 20:43:31 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============8060307491695989633=="
--===============8060307491695989633==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3D7563
--- Comment #4 from Marc V=C3=A9ron ---
Created attachment 9306
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=3D9306&action=3Ded=
it
Bug 7563 [ENH] : Silent print slips using Firefox PlugIn jsPrintSetup and new
staff client preference
Configure slip printers to print slips (silently) to a special printer using
the Firefox PlugIn jsPrintSetUp.
All other print actions are not affected. See http://jsprintsetup.mozdev.org/
for all the possibilities
(e.g. change header/footer, get a list of printers, set printer etc.).
The overall concept is to have a new staff client preference
(IntranetSlipPrinterJS) where one can enter the necessary JavaScript.
If the preference is empty, Koha falls back to te default behaviour. An examp=
le
of JavaScript can be found on:
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3D7563
Koha 3.8.0 bump
Marc Veron
modified: installer/data/mysql/updatedatabase.pl
modified: kohaversion.pl
modified: installer/data/mysql/sysprefs.sql
modified: installer/data/mysql/updatedatabase.pl
modified: =20
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_client.pref
modified: koha-tmpl/intranet-tmpl/prog/en/modules/circ/printslip.tt
modified: members/printslip.pl
--=20
You are receiving this mail because:
You are watching all bug changes.
--===============8060307491695989633==--
From bugzilla-daemon@bugs.koha-community.org Wed Apr 25 22:45:05 2012
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 7563] Silent print slips using Firefox PlugIn
jsPrintSetup and new staff client preference
Date: Wed, 25 Apr 2012 20:51:19 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============4984425538457967483=="
--===============4984425538457967483==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7563
Marc Véron changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #9306|0 |1
is obsolete| |
--
You are receiving this mail because:
You are watching all bug changes.
--===============4984425538457967483==--
From bugzilla-daemon@bugs.koha-community.org Wed Apr 25 22:48:54 2012
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 7563] Silent print slips using Firefox PlugIn
jsPrintSetup and new staff client preference
Date: Wed, 25 Apr 2012 20:55:09 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============3854222776106133670=="
--===============3854222776106133670==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7563
Marc Véron changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #9306|1 |0
is patch| |
--
You are receiving this mail because:
You are watching all bug changes.
--===============3854222776106133670==--
From bugzilla-daemon@bugs.koha-community.org Wed Apr 25 22:49:30 2012
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 7563] Silent print slips using Firefox PlugIn
jsPrintSetup and new staff client preference
Date: Wed, 25 Apr 2012 20:55:46 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1333014867362430257=="
--===============1333014867362430257==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7563
Marc Véron changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #9290|1 |0
is patch| |
--
You are receiving this mail because:
You are watching all bug changes.
--===============1333014867362430257==--
From bugzilla-daemon@bugs.koha-community.org Wed Apr 25 23:23:57 2012
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 7563] Silent print slips using Firefox PlugIn
jsPrintSetup and new staff client preference
Date: Wed, 25 Apr 2012 21:30:12 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0663188702163382924=="
--===============0663188702163382924==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3D7563
--- Comment #5 from Marc V=C3=A9ron ---
Created attachment 9307
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=3D9307&action=3Ded=
it
Bug 7563 [ENH] : Silent print slips using Firefox PlugIn jsPrintSetup and new
staff client preference
Configure slip printers to print slips (silently) to a special printer using
the Firefox PlugIn jsPrintSetUp.
All other print actions are not affected. See http://jsprintsetup.mozdev.org/
for all the possibilities
(e.g. change header/footer, get a list of printers, set printer etc.).
The overall concept is to have a new staff client preference
(IntranetSlipPrinterJS) where one can enter the necessary JavaScript.
If the preference is empty, Koha falls back to te default behaviour. An examp=
le
of JavaScript can be found on:
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3D7563
modified: installer/data/mysql/sysprefs.sql
modified: installer/data/mysql/updatedatabase.pl
modified: =20
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_client.pref
modified: koha-tmpl/intranet-tmpl/prog/en/modules/circ/printslip.tt
modified: members/printslip.pl
--=20
You are receiving this mail because:
You are watching all bug changes.
--===============0663188702163382924==--
From bugzilla-daemon@bugs.koha-community.org Wed Apr 25 23:25:42 2012
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 7563] Silent print slips using Firefox PlugIn
jsPrintSetup and new staff client preference
Date: Wed, 25 Apr 2012 21:31:57 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============6398359504727088397=="
--===============6398359504727088397==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7563
Marc Véron changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |Needs Signoff
--
You are receiving this mail because:
You are watching all bug changes.
--===============6398359504727088397==--
From bugzilla-daemon@bugs.koha-community.org Fri Jun 8 12:53:58 2012
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 7563] Silent print slips using Firefox PlugIn
jsPrintSetup and new staff client preference
Date: Fri, 08 Jun 2012 11:02:24 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============3921037680113514990=="
--===============3921037680113514990==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3D7563
--- Comment #6 from Marc V=C3=A9ron ---
Created attachment 9981
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=3D9981&action=3Ded=
it
Bug 7563 [ENH] - Silent print slips using Firefox PlugIn jsPrintSetup and new
staff client preference
Configure slip printers to print slips (silently) to a special printer using
the Firefox PlugIn jsPrintSetUp.
All other print actions are not affected. See http://jsprintsetup.mozdev.org/
for all the possibilities
(e.g. change header/footer, get a list of printers, set printer etc.).
The overall concept is to have a new staff client preference
(IntranetSlipPrinterJS) where one can enter the necessary JavaScript.
If the preference is empty, Koha falls back to te default behaviour. An examp=
le
of JavaScript can be found on:
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3D7563
i# Please enter the commit message for your changes. Lines starting
--=20
You are receiving this mail because:
You are watching all bug changes.
--===============3921037680113514990==--
From bugzilla-daemon@bugs.koha-community.org Fri Jun 8 12:54:30 2012
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 7563] Silent print slips using Firefox PlugIn
jsPrintSetup and new staff client preference
Date: Fri, 08 Jun 2012 11:02:57 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============4607624437475573811=="
--===============4607624437475573811==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7563
Marc Véron changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #9307|0 |1
is obsolete| |
--
You are receiving this mail because:
You are watching all bug changes.
--===============4607624437475573811==--
From bugzilla-daemon@bugs.koha-community.org Fri Jun 8 12:55:37 2012
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 7563] Silent print slips using Firefox PlugIn
jsPrintSetup and new staff client preference
Date: Fri, 08 Jun 2012 11:04:05 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============6050177361841611330=="
--===============6050177361841611330==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7563
--- Comment #7 from Marc Véron ---
Did not longer apply. Remade patch, would be nice to get a signoff.
--
You are receiving this mail because:
You are watching all bug changes.
--===============6050177361841611330==--
From bugzilla-daemon@bugs.koha-community.org Sun Jun 10 11:18:31 2012
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 7563] Silent print slips using Firefox PlugIn
jsPrintSetup and new staff client preference
Date: Sun, 10 Jun 2012 09:27:04 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============4156751788147214338=="
--===============4156751788147214338==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3D7563
Marc V=C3=A9ron changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #9981|0 |1
is obsolete| |
--- Comment #8 from Marc V=C3=A9ron ---
Created attachment 10063
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=3D10063&action=3De=
dit
Bug 7563 [ENH] - Silent print slips using Firefox PlugIn jsPrintSetup and new
staff client preference
Configure slip printers to print slips (silently) to a special printer using
the Firefox PlugIn jsPrintSetUp.
All other print actions are not affected. See http://jsprintsetup.mozdev.org/
for all the possibilities
(e.g. change header/footer, get a list of printers, set printer etc.).
The overall concept is to have a new staff client preference
(IntranetSlipPrinterJS) where one can enter the necessary JavaScript.
If the preference is empty, Koha falls back to te default behaviour. An examp=
le
of JavaScript can be found on:
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3D7563
i# Please enter the commit message for your changes. Lines starting
Signed-off-by: Marc Veron
--=20
You are receiving this mail because:
You are watching all bug changes.
--===============4156751788147214338==--
From bugzilla-daemon@bugs.koha-community.org Sun Jun 10 11:22:35 2012
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 7563] Silent print slips using Firefox PlugIn
jsPrintSetup and new staff client preference
Date: Sun, 10 Jun 2012 09:31:08 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============2413506787374018639=="
--===============2413506787374018639==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7563
--- Comment #9 from Marc Véron ---
Did not longer apply, redone patch.
"Signed off by " in last comment by mistake.
--
You are receiving this mail because:
You are watching all bug changes.
--===============2413506787374018639==--
From bugzilla-daemon@bugs.koha-community.org Sun Jun 10 12:05:14 2012
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 7563] Silent print slips using Firefox PlugIn
jsPrintSetup and new staff client preference
Date: Sun, 10 Jun 2012 10:13:48 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============5144392744446250688=="
--===============5144392744446250688==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3D7563
Chris Cormack changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #10063|0 |1
is obsolete| |
--- Comment #10 from Chris Cormack ---
Created attachment 10068
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=3D10068&action=3De=
dit
Bug 7563 [ENH] - Silent print slips using Firefox PlugIn jsPrintSetup and new
staff client preference
Configure slip printers to print slips (silently) to a special printer using
the Firefox PlugIn jsPrintSetUp.
All other print actions are not affected. See http://jsprintsetup.mozdev.org/
for all the possibilities
(e.g. change header/footer, get a list of printers, set printer etc.).
The overall concept is to have a new staff client preference
(IntranetSlipPrinterJS) where one can enter the necessary JavaScript.
If the preference is empty, Koha falls back to te default behaviour. An examp=
le
of JavaScript can be found on:
Signed-off-by: Marc Veron
Signed-off-by: Chris Cormack
--=20
You are receiving this mail because:
You are watching all bug changes.
--===============5144392744446250688==--
From bugzilla-daemon@bugs.koha-community.org Sun Jun 10 12:05:41 2012
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 7563] Silent print slips using Firefox PlugIn
jsPrintSetup and new staff client preference
Date: Sun, 10 Jun 2012 10:14:14 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============3867539444368603406=="
--===============3867539444368603406==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7563
Chris Cormack changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|Needs Signoff |Signed Off
CC| |chris@bigballofwax.co.nz
--
You are receiving this mail because:
You are watching all bug changes.
--===============3867539444368603406==--
From bugzilla-daemon@bugs.koha-community.org Sun Jun 10 12:23:31 2012
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 7563] Silent print slips using Firefox PlugIn
jsPrintSetup and new staff client preference
Date: Sun, 10 Jun 2012 10:32:04 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0557555363377837424=="
--===============0557555363377837424==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3D7563
Marc V=C3=A9ron changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #10068|0 |1
is obsolete| |
--- Comment #11 from Marc V=C3=A9ron ---
Created attachment 10071
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=3D10071&action=3De=
dit
Bug 7563 [ENH] - Silent print slips using Firefox PlugIn jsPrintSetup and new
staff client preference
Configure slip printers to print slips (silently) to a special printer using
the Firefox PlugIn jsPrintSetUp.
All other print actions are not affected. See http://jsprintsetup.mozdev.org/
for all the possibilities
(e.g. change header/footer, get a list of printers, set printer etc.).
The overall concept is to have a new staff client preference
(IntranetSlipPrinterJS) where one can enter the necessary JavaScript.
If the preference is empty, Koha falls back to te default behaviour. An examp=
le
of JavaScript can be found on:
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3D7563
--=20
You are receiving this mail because:
You are watching all bug changes.
--===============0557555363377837424==--
From bugzilla-daemon@bugs.koha-community.org Sun Jun 10 12:31:15 2012
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 7563] Silent print slips using Firefox PlugIn
jsPrintSetup and new staff client preference
Date: Sun, 10 Jun 2012 10:39:48 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0319475023184689849=="
--===============0319475023184689849==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3D7563
Chris Cormack changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #10071|0 |1
is obsolete| |
--- Comment #12 from Chris Cormack ---
Created attachment 10073
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=3D10073&action=3De=
dit
Bug 7563 [ENH] - Silent print slips using Firefox PlugIn jsPrintSetup and new
staff client preference
Configure slip printers to print slips (silently) to a special printer using
the Firefox PlugIn jsPrintSetUp.
All other print actions are not affected. See http://jsprintsetup.mozdev.org/
for all the possibilities
(e.g. change header/footer, get a list of printers, set printer etc.).
The overall concept is to have a new staff client preference
(IntranetSlipPrinterJS) where one can enter the necessary JavaScript.
If the preference is empty, Koha falls back to te default behaviour. An examp=
le
of JavaScript can be found on:
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3D7563
Signed-off-by: Chris Cormack
--=20
You are receiving this mail because:
You are watching all bug changes.
--===============0319475023184689849==--
From bugzilla-daemon@bugs.koha-community.org Sun Jun 10 14:55:30 2012
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 7563] Silent print slips using Firefox PlugIn
jsPrintSetup and new staff client preference
Date: Sun, 10 Jun 2012 13:04:03 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============8142250696196383031=="
--===============8142250696196383031==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3D7563
Paul Poulain changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|Signed Off |Failed QA
CC| |paul.poulain@biblibre.com
--- Comment #13 from Paul Poulain ---
QA comment:
I think this change was not really wanted:
- SetVersion($DBversion);
-}
as it result in updatedatabase not compiling:
Missing right curly or square bracket at installer/data/mysql/updatedatabase.=
pl
line 5434, at end of line
syntax error at installer/data/mysql/updatedatabase.pl line 5434, at EOF
installer/data/mysql/updatedatabase.pl had compilation errors.
--=20
You are receiving this mail because:
You are watching all bug changes.
--===============8142250696196383031==--
From bugzilla-daemon@bugs.koha-community.org Sun Jun 10 15:15:33 2012
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 7563] Silent print slips using Firefox PlugIn
jsPrintSetup and new staff client preference
Date: Sun, 10 Jun 2012 13:24:07 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============2143234290622851827=="
--===============2143234290622851827==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7563
Chris Cormack changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|Failed QA |Signed Off
--- Comment #14 from Chris Cormack ---
Fixed, was a bad merge conflict fix
--
You are receiving this mail because:
You are watching all bug changes.
--===============2143234290622851827==--
From bugzilla-daemon@bugs.koha-community.org Sun Jun 10 15:18:27 2012
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 7563] Silent print slips using Firefox PlugIn
jsPrintSetup and new staff client preference
Date: Sun, 10 Jun 2012 13:27:01 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1743745522296798079=="
--===============1743745522296798079==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3D7563
Chris Cormack changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #10073|0 |1
is obsolete| |
--- Comment #15 from Chris Cormack ---
Created attachment 10104
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=3D10104&action=3De=
dit
Bug 7563 [ENH] - Silent print slips using Firefox PlugIn jsPrintSetup and new
staff client preference
Configure slip printers to print slips (silently) to a special printer using
the Firefox PlugIn jsPrintSetUp.
All other print actions are not affected. See http://jsprintsetup.mozdev.org/
for all the possibilities
(e.g. change header/footer, get a list of printers, set printer etc.).
The overall concept is to have a new staff client preference
(IntranetSlipPrinterJS) where one can enter the necessary JavaScript.
If the preference is empty, Koha falls back to te default behaviour. An examp=
le
of JavaScript can be found on:
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3D7563
Signed-off-by: Chris Cormack
http://bugs.koha-community.org/show_bug.cgi?id=3D7653
--=20
You are receiving this mail because:
You are watching all bug changes.
--===============1743745522296798079==--
From bugzilla-daemon@bugs.koha-community.org Mon Jun 11 17:15:50 2012
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 7563] Silent print slips using Firefox PlugIn
jsPrintSetup and new staff client preference
Date: Mon, 11 Jun 2012 15:24:24 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1436947069407887280=="
--===============1436947069407887280==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3D7563
--- Comment #16 from Paul Poulain ---
QA Comment: small new feature, introduced nicely through a systempreference, =
in
a nice and extensible way I think.
It would be worth to add it also on other places where we do a window.print()
for consistency. grep -R "window.print()" * shows that we print in the
following pages:
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detailprint.tt: =20
window.print();
koha-tmpl/intranet-tmpl/prog/en/modules/members/printinvoice.tt: =20
window.print();
koha-tmpl/intranet-tmpl/prog/en/modules/members/printfeercpt.tt: =20
window.print();
koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-receipt.tt: =
window.print();
koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-print.tt: =20
window.print();
koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-print.tt: =
=20
koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-print.tt:
koha-tmpl/intranet-tmpl/prog/en/modules/circ/transfer-slip.tt:window.print();
koha-tmpl/intranet-tmpl/prog/en/modules/circ/printslip.tt:window.print();
koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing-preview-slip.tt: Print &n=
bsp;
Close
koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt:
koha-tmpl/intranet-tmpl/prog/en/xslt/oilsMARC21slim2HTML.xsl:
I hesitate failing QA because of this non consistent behaviour, I won't mark =
it
passed QA nor failed QA, to get another QA team opinion.
--=20
You are receiving this mail because:
You are watching all bug changes.
--===============1436947069407887280==--
From bugzilla-daemon@bugs.koha-community.org Tue Jun 12 11:31:35 2012
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 7563] Silent print slips using Firefox PlugIn
jsPrintSetup and new staff client preference
Date: Tue, 12 Jun 2012 09:40:13 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============3475030660262205253=="
--===============3475030660262205253==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7563
Jonathan Druart changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jonathan.druart@biblibre.co
| |m
--- Comment #17 from Jonathan Druart ---
Paul, I agree with you, this feature must be used for all occurrences of
"window.print". But it is not blocking.
I think this patch could be pushed though a followup is required asap.
I let you make the decision ;-)
--
You are receiving this mail because:
You are watching all bug changes.
--===============3475030660262205253==--
From bugzilla-daemon@bugs.koha-community.org Wed Jun 13 11:13:02 2012
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 7563] Silent print slips using Firefox PlugIn
jsPrintSetup and new staff client preference
Date: Wed, 13 Jun 2012 09:21:42 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0261011141731469112=="
--===============0261011141731469112==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3D7563
--- Comment #18 from Marc V=C3=A9ron ---
Paul and Jonathan,
Thank you for your comments. When I introduced this feature, I was aware that
it could be used at other places as well. This version is just for the use ca=
se
where a lot of printing occurs, and it was made by advice of the librarians in
our group who often work at the front desk and who told me that not having th=
is
feature could be a killer argument against Koha.
I really would appreciate if you could push it, and I will be happy to deliver
follow ups for the other use cases as well.
Thanks again
Marc
--=20
You are receiving this mail because:
You are watching all bug changes.
--===============0261011141731469112==--
From bugzilla-daemon@bugs.koha-community.org Fri Jun 22 12:01:55 2012
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 7563] Silent print slips using Firefox PlugIn
jsPrintSetup and new staff client preference
Date: Fri, 22 Jun 2012 10:11:04 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============2284245188118537106=="
--===============2284245188118537106==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7563
Marc Véron changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #10104|0 |1
is obsolete| |
--- Comment #19 from Marc Véron ---
Created attachment 10427
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10427&action=edit
[REBASED] Bug 8272 - OPAC : date expiration format
Adding TT date filter to output of expiration date
on OPAC user page.
Signed-off-by: Chris Cormack
Signed-off-by: Delaye Stephane
Signed-off-by: Paul Poulain
--
You are receiving this mail because:
You are watching all bug changes.
--===============2284245188118537106==--
From bugzilla-daemon@bugs.koha-community.org Fri Jun 22 12:11:34 2012
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 7563] Silent print slips using Firefox PlugIn
jsPrintSetup and new staff client preference
Date: Fri, 22 Jun 2012 10:20:43 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============2318935012074587479=="
--===============2318935012074587479==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7563
Marc Véron changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #10427|1 |0
is patch| |
Attachment #10427|0 |1
is obsolete| |
--- Comment #20 from Marc Véron ---
Comment on attachment 10427
--> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10427
[REBASED] Bug 8272 - OPAC : date expiration format
Something went wrong with teh attachment...
--
You are receiving this mail because:
You are watching all bug changes.
--===============2318935012074587479==--
From bugzilla-daemon@bugs.koha-community.org Fri Jun 22 12:12:24 2012
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 7563] Silent print slips using Firefox PlugIn
jsPrintSetup and new staff client preference
Date: Fri, 22 Jun 2012 10:21:33 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============2242629656406497160=="
--===============2242629656406497160==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7563
Marc Véron changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #10104|1 |0
is obsolete| |
--- Comment #21 from Marc Véron ---
Comment on attachment 10104
--> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10104
Bug 7563 [ENH] - Silent print slips using Firefox PlugIn jsPrintSetup and new
staff client preference
REstoring previous attachment...
--
You are receiving this mail because:
You are watching all bug changes.
--===============2242629656406497160==--
From bugzilla-daemon@bugs.koha-community.org Fri Jun 22 12:28:02 2012
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 7563] Silent print slips using Firefox PlugIn
jsPrintSetup and new staff client preference
Date: Fri, 22 Jun 2012 10:37:11 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============2615177696734303881=="
--===============2615177696734303881==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3D7563
Marc V=C3=A9ron changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #10104|0 |1
is obsolete| |
--- Comment #22 from Marc V=C3=A9ron ---
Created attachment 10428
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=3D10428&action=3De=
dit
[REBASED] Bug 7563 [ENH] - Silent print slips using Firefox PlugIn jsPrintSet=
up
and new staff client preference
Configure slip printers to print slips (silently) to a special printer using
the Firefox PlugIn jsPrintSetUp.
All other print actions are not affected. See http://jsprintsetup.mozdev.org/
for all the possibilities
(e.g. change header/footer, get a list of printers, set printer etc.).
The overall concept is to have a new staff client preference
(IntranetSlipPrinterJS) where one can enter the necessary JavaScript.
If the preference is empty, Koha falls back to te default behaviour. An examp=
le
of JavaScript can be found on:
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3D7563
Signed-off-by: Chris Cormack
http://bugs.koha-community.org/show_bug.cgi?id=3D7653
--=20
You are receiving this mail because:
You are watching all bug changes.
--===============2615177696734303881==--
From bugzilla-daemon@bugs.koha-community.org Fri Jun 29 09:49:57 2012
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 7563] Silent print slips using Firefox PlugIn
jsPrintSetup and new staff client preference
Date: Fri, 29 Jun 2012 07:59:26 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============3325661259205901141=="
--===============3325661259205901141==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3D7563
Marc V=C3=A9ron changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #10428|0 |1
is obsolete| |
--- Comment #23 from Marc V=C3=A9ron ---
Created attachment 10557
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=3D10557&action=3De=
dit
[REBASED] Bug 7563 [ENH] - Silent print slips using Firefox PlugIn jsPrintSet=
up
and new staff client preference
(Rebased to Koha version: 3.09.00.018)
--=20
You are receiving this mail because:
You are watching all bug changes.
--===============3325661259205901141==--
From bugzilla-daemon@bugs.koha-community.org Fri Jun 29 21:25:05 2012
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 7563] Silent print slips using Firefox PlugIn
jsPrintSetup and new staff client preference
Date: Fri, 29 Jun 2012 19:34:36 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============4000932508484746263=="
--===============4000932508484746263==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7563
Marc Véron changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #10557|0 |1
is obsolete| |
--- Comment #24 from Marc Véron ---
Created attachment 10570
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10570&action=edit
[REBASED] Bug 7563 - Silent print slips using Firefox PlugIn jsPrintSetup and
new staff client preference
...to version 3.09.00.021
--
You are receiving this mail because:
You are watching all bug changes.
--===============4000932508484746263==--
From bugzilla-daemon@bugs.koha-community.org Fri Jul 6 18:12:59 2012
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 7563] Silent print slips using Firefox PlugIn
jsPrintSetup and new staff client preference
Date: Fri, 06 Jul 2012 16:22:50 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============7874626815467052949=="
--===============7874626815467052949==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7563
Paul Poulain changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|Signed Off |Passed QA
Version|master |rel_3_10
--- Comment #25 from Paul Poulain ---
QA comment, my concern has been answered in comment #18
> Paul and Jonathan,
>
> Thank you for your comments. When I introduced this feature, I was aware
> that it could be used at other places as well. This version is just for the
> use case where a lot of printing occurs, and it was made by advice of the
> librarians in our group who often work at the front desk and who told me
> that not having this feature could be a killer argument against Koha.
>
> I really would appreciate if you could push it, and I will be happy to
> deliver follow ups for the other use cases as well.
Passed QA then
--
You are receiving this mail because:
You are watching all bug changes.
--===============7874626815467052949==--
From bugzilla-daemon@bugs.koha-community.org Fri Jul 6 18:14:43 2012
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 7563] Silent print slips using Firefox PlugIn
jsPrintSetup and new staff client preference
Date: Fri, 06 Jul 2012 16:24:35 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============5674692406554897317=="
--===============5674692406554897317==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7563
Paul Poulain changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|Passed QA |Pushed to Master
--
You are receiving this mail because:
You are watching all bug changes.
--===============5674692406554897317==--
From bugzilla-daemon@bugs.koha-community.org Fri Jul 6 18:14:58 2012
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 7563] Silent print slips using Firefox PlugIn
jsPrintSetup and new staff client preference
Date: Fri, 06 Jul 2012 16:24:49 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============5001676773766043619=="
--===============5001676773766043619==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7563
Paul Poulain changed:
What |Removed |Added
----------------------------------------------------------------------------
QA Contact|koha.sekjal@gmail.com |paul.poulain@biblibre.com
--
You are receiving this mail because:
You are watching all bug changes.
--===============5001676773766043619==--
From bugzilla-daemon@bugs.koha-community.org Sun Jul 8 06:59:47 2012
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 7563] Silent print slips using Firefox PlugIn
jsPrintSetup and new staff client preference
Date: Sun, 08 Jul 2012 05:09:42 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============3192747226695986821=="
--===============3192747226695986821==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7563
--- Comment #26 from Marc Véron ---
Thanks for QA-ing, Paul.
I will work on the follow-ups you suggested after my vacation.
Marc
--
You are receiving this mail because:
You are watching all bug changes.
--===============3192747226695986821==--
From bugzilla-daemon@bugs.koha-community.org Thu Jul 26 16:21:26 2012
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 7563] Silent print slips using Firefox PlugIn
jsPrintSetup and new staff client preference
Date: Thu, 26 Jul 2012 14:32:17 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============2728606672369847775=="
--===============2728606672369847775==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3D7563
Nicole C. Engard changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nengard@gmail.com
--- Comment #27 from Nicole C. Engard ---
I'm trying to document this and am having trouble. The preference says "Defi=
ne
at least function printThenClose()." which makes me think that this preference
must have that function in there for Koha to work. We might need to make it
clearer.
Can someone write a short description of this preference in librarianese (aka
not developer talk) so that I can edit it and put it in the manual?
Nicole
--=20
You are receiving this mail because:
You are watching all bug changes.
--===============2728606672369847775==--
From bugzilla-daemon@bugs.koha-community.org Thu Jul 26 16:30:01 2012
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 7563] Silent print slips using Firefox PlugIn
jsPrintSetup and new staff client preference
Date: Thu, 26 Jul 2012 14:40:51 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============4073593420912727181=="
--===============4073593420912727181==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7563
--- Comment #28 from Nicole C. Engard ---
via IRC:
[10:34] nengard it looks like there's two basic steps: Install the
jsPrintSetup addon, and populate the pref
[10:35] That first comment gives you an example for what to
populate the pref with in Step 4
[10:35] THANK YOU
[10:35] :)
[10:35] I was missing the whole install the add on part
[10:35] we should update the description on that preference to make
it clearer
[10:35] Hmmm... not sure about the "Choose printer using one or
more of the following functions" step
--
You are receiving this mail because:
You are watching all bug changes.
--===============4073593420912727181==--
From bugzilla-daemon@bugs.koha-community.org Thu Jul 26 16:48:28 2012
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 7563] Silent print slips using Firefox PlugIn
jsPrintSetup and new staff client preference
Date: Thu, 26 Jul 2012 14:59:19 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============6353991405890809510=="
--===============6353991405890809510==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7563
--- Comment #29 from Owen Leonard ---
Yeah, this part is cryptic:
//Choose printer using one or more of the following functions
//jsPrintSetup.getPrintersList...
//jsPrintSetup.setPrinter...
Is this something I must configure in order for this feature to work?
I installed the Firefox addon
(https://addons.mozilla.org/en-US/firefox/addon/js-print-setup/) and populated
the system preference with the JS code exactly as it appears in Step four of
comment 0. Then I went to a patron record and chose "Print quick slip." A new
tab appeared for a split second and disappeared, but no print job started.
--
You are receiving this mail because:
You are watching all bug changes.
--===============6353991405890809510==--
From bugzilla-daemon@bugs.koha-community.org Thu Jul 26 18:25:41 2012
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 7563] Silent print slips using Firefox PlugIn
jsPrintSetup and new staff client preference
Date: Thu, 26 Jul 2012 16:36:31 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0509916998131989855=="
--===============0509916998131989855==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3D7563
--- Comment #30 from Marc V=C3=A9ron ---
Created attachment 11149
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=3D11149&action=3De=
dit
Settings for Firefox Add-on JSPrintSetup
Screenshot with settings to make work Firefox add-on jsprintsetup with a
specific web site.
For security reasons, the website must be in a list of allowed sites.
The pre-installed JavaScript in the system preference should then work with t=
he
default printer.
To create more sophisticated solutions you find the function reference of
jsprintsetup at:
http://jsprintsetup.mozdev.org/reference.html
I will set up a Wiki page for this as soon as possible.
Marc
--=20
You are receiving this mail because:
You are watching all bug changes.
--===============0509916998131989855==--
From bugzilla-daemon@bugs.koha-community.org Thu Jul 26 18:30:35 2012
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 7563] Silent print slips using Firefox PlugIn
jsPrintSetup and new staff client preference
Date: Thu, 26 Jul 2012 16:41:27 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============3677172775153486340=="
--===============3677172775153486340==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7563
--- Comment #31 from Owen Leonard ---
(In reply to comment #30)
> The pre-installed JavaScript in the system preference should then work
> with the default printer.
By this do mean that the getPrintersList and setPrinter settings are not
required?
--
You are receiving this mail because:
You are watching all bug changes.
--===============3677172775153486340==--
From bugzilla-daemon@bugs.koha-community.org Thu Jul 26 18:43:56 2012
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 7563] Silent print slips using Firefox PlugIn
jsPrintSetup and new staff client preference
Date: Thu, 26 Jul 2012 16:54:47 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============9168923534276995334=="
--===============9168923534276995334==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3D7563
--- Comment #32 from Marc V=C3=A9ron ---
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 JavaScrip=
t.
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 availab=
le
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
--=20
You are receiving this mail because:
You are watching all bug changes.
--===============9168923534276995334==--
From bugzilla-daemon@bugs.koha-community.org Thu Jul 26 21:18:25 2012
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 7563] Silent print slips using Firefox PlugIn
jsPrintSetup and new staff client preference
Date: Thu, 26 Jul 2012 19:29:15 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============3607927794383056901=="
--===============3607927794383056901==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7563
--- Comment #33 from Marc Véron ---
Please refer to the following wiki page for setup and usage instructions:
http://wiki.koha-community.org/wiki/Setting_up_slip_printer_to_print_silently
--
You are receiving this mail because:
You are watching all bug changes.
--===============3607927794383056901==--