@@ -, +, @@
- In Patron card creator > Templates, prepare a 1 up template (1 column / 1 row) that
fits to a single card. Give it a name like 'Duplex card template'
(Attention, Card with and Card height seem to have wrong labels, that will go
to a separate bug).
- In Patron card creator > Layouts create a layout for the front side and one for
the back side. Give them names to easily remember (Card front layout, Card back layout)
- Go to Patron card creator > Batches and test both layouts together with the
1 up template. Save and keepp both test files as reference.
- Apply patch. Restart memcached and plack.
- Go to Patron card creator > Batches
- Click "Export" for a batch
- In the following screen, note the new field "Select a layout for the back side"
with a hint what it is used for
- Leave it on 'Back side layout not used', export and compare output with test ooutput
from preparation. It should be the same
- Select the layout you prepared for the back side.
- Export - this file should contain 2 PDF pages per patron, one first with the
front side, second with the back side.
---
.../prog/en/modules/help/patroncards/manage.tt | 3 ++-
.../prog/en/modules/patroncards/print.tt | 17 ++++++++++++---
patroncards/create-pdf.pl | 25 +++++++++++++++++-----
patroncards/print.pl | 5 +++++
4 files changed, 41 insertions(+), 9 deletions(-)
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/help/patroncards/manage.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/help/patroncards/manage.tt
@@ -11,6 +11,7 @@
Templates
A template is the label/card stock you are using. This might be Avery 5160 for address labels, Gaylord 47-284 for spine labels or Avery 28371 for your patron cards, just to give a couple of examples. These labels will include all of the information you will need for setting up a Koha, this information may be on the packaging, and if not it can usually be found on the vendor's website.
+
To print to a duplex card printer you need a '1 up template' (1 row / 1 column) and for both card sides a separate layout.
Batches
@@ -18,4 +19,4 @@
See the full documentation for the Patron Card Creator in the manual (online).
-[% INCLUDE 'help-bottom.inc' %]
+[% INCLUDE 'help-bottom.inc' %]
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/print.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/print.tt
@@ -26,17 +26,17 @@
[% IF ( batche.label_ids ) %]