1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha › Tools › Labels › Label Printing/Exporting</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 <script type="text/JavaScript" language="JavaScript">
7 window.location = "<!-- TMPL_VAR NAME="referer" -->";
11 <style type="text/css">#custom-doc {width:47.23em; *width:46.04em; min-width:610px; margin:auto; margin-top:0.4em;}</style>
14 <div id="custom-doc" class="yui-t2">
16 <!-- TMPL_IF NAME="batches" -->
20 <h2>Click on the following link(s) to download the exported batch(es).</h2>
23 <fieldset class="rows">
24 <table class="borderless">
25 <!-- TMPL_LOOP NAME="batches" -->
27 <!-- TMPL_IF NAME="label_ids" -->
28 <td class="borderless">
29 <!-- TMPL_VAR NAME="label_count" --> Single Labels
31 <td class="borderless">
33 <a href="/cgi-bin/koha/labels/<!-- TMPL_VAR NAME="create_script" -->?batch_id=<!-- TMPL_VAR NAME="batch_id" -->&template_id=<!-- TMPL_VAR NAME="template_id" -->&layout_id=<!-- TMPL_VAR NAME="layout_id" -->&start_label=<!-- TMPL_VAR NAME="start_label" --><!-- TMPL_VAR NAME="label_ids" -->">label_single_<!-- TMPL_VAR NAME="label_count" -->.pdf</a>
36 <td class="borderless">
38 <a href="/cgi-bin/koha/labels/label-create-csv.pl?batch_id=<!-- TMPL_VAR NAME="batch_id" -->&template_id=<!-- TMPL_VAR NAME="template_id" -->&layout_id=<!-- TMPL_VAR NAME="layout_id" --><!-- TMPL_VAR NAME="label_ids" -->">label_single_<!-- TMPL_VAR NAME="label_count" -->.csv</a>
41 <td class="borderless">
43 <a href="/cgi-bin/koha/labels/label-create-xml.pl?batch_id=<!-- TMPL_VAR NAME="batch_id" -->&template_id=<!-- TMPL_VAR NAME="template_id" -->&layout_id=<!-- TMPL_VAR NAME="layout_id" --><!-- TMPL_VAR NAME="label_ids" -->">label_single_<!-- TMPL_VAR NAME="label_count" -->.xml</a>
46 <!-- TMPL_ELSIF NAME="item_numbers" -->
47 <td class="borderless">
48 <!-- TMPL_VAR NAME="label_count" --> Single Labels
50 <td class="borderless">
52 <a href="/cgi-bin/koha/labels/<!-- TMPL_VAR NAME="create_script" -->?template_id=<!-- TMPL_VAR NAME="template_id" -->&layout_id=<!-- TMPL_VAR NAME="layout_id" -->&start_label=<!-- TMPL_VAR NAME="start_label" --><!-- TMPL_VAR NAME="item_numbers" -->">label_single_<!-- TMPL_VAR NAME="label_count" -->.pdf</a>
55 <td class="borderless">
57 <a href="/cgi-bin/koha/labels/label-create-csv.pl?batch_id=<!-- TMPL_VAR NAME="batch_id" -->&template_id=<!-- TMPL_VAR NAME="template_id" -->&layout_id=<!-- TMPL_VAR NAME="layout_id" --><!-- TMPL_VAR NAME="item_numbers" -->">label_single_<!-- TMPL_VAR NAME="label_count" -->.csv</a>
60 <td class="borderless">
62 <a href="/cgi-bin/koha/labels/label-create-xml.pl?batch_id=<!-- TMPL_VAR NAME="batch_id" -->&template_id=<!-- TMPL_VAR NAME="template_id" -->&layout_id=<!-- TMPL_VAR NAME="layout_id" --><!-- TMPL_VAR NAME="item_numbers" -->">label_single_<!-- TMPL_VAR NAME="label_count" -->.xml</a>
66 <td class="borderless">
67 Label Batch Number <!-- TMPL_VAR NAME="batch_id" -->
69 <td class="borderless">
71 <a href="/cgi-bin/koha/labels/label-create-pdf.pl?batch_id=<!-- TMPL_VAR NAME="batch_id" -->&template_id=<!-- TMPL_VAR NAME="template_id" -->&layout_id=<!-- TMPL_VAR NAME="layout_id" -->&start_label=<!-- TMPL_VAR NAME="start_label" -->">label_batch_<!-- TMPL_VAR NAME="batch_id" -->.pdf</a>
74 <td class="borderless">
76 <a href="/cgi-bin/koha/labels/label-create-csv.pl?batch_id=<!-- TMPL_VAR NAME="batch_id" -->&template_id=<!-- TMPL_VAR NAME="template_id" -->&layout_id=<!-- TMPL_VAR NAME="layout_id" -->">label_batch_<!-- TMPL_VAR NAME="batch_id" -->.csv</a>
79 <td class="borderless">
81 <a href="/cgi-bin/koha/labels/label-create-xml.pl?batch_id=<!-- TMPL_VAR NAME="batch_id" -->&template_id=<!-- TMPL_VAR NAME="template_id" -->&layout_id=<!-- TMPL_VAR NAME="layout_id" -->">label_batch_<!-- TMPL_VAR NAME="batch_id" -->.xml</a>
89 <fieldset class="action">
90 <div style="margin: 10px 10px 10px 0px;">
91 <span class="yui-button yui-link-button"><span class="first-child"><input type="button" id="done" onclick="parent.parent.GB_hide();" value="Done"></span></span>
98 <!-- TMPL_IF NAME="label_ids" -->
99 <h2>Exporting <!-- TMPL_VAR NAME="label_count" --> label(s).</h2>
100 <!-- TMPL_ELSIF NAME="item_numbers"-->
101 <h2>Exporting <!-- TMPL_VAR NAME="item_count" --> label(s).</h2>
103 <h2><!-- TMPL_VAR NAME="multi_batch_count" --> batch(es) to export.</h2>
107 <form name="exporting" method="post" action="/cgi-bin/koha/labels/label-print.pl">
108 <input type="hidden" name="op" value="export" />
109 <input type="hidden" name="referer" value="<!-- TMPL_VAR NAME="referer" -->" />
110 <!-- TMPL_LOOP NAME="batch_ids" -->
111 <input type="hidden" name="batch_id" value="<!-- TMPL_VAR NAME="batch_id" -->" />
113 <!-- TMPL_LOOP NAME="label_ids" -->
114 <input type="hidden" name="label_id" value="<!-- TMPL_VAR NAME="label_id" -->" />
116 <!-- TMPL_LOOP NAME="item_numbers" -->
117 <input type="hidden" name="item_number" value="<!-- TMPL_VAR NAME="item_number" -->" />
119 <fieldset class="rows">
120 <table class="borderless">
122 <td class="borderless">
123 <label for="template">Select a template to be applied: </label>
125 <td class="borderless">
126 <select name="template_id">
127 <!-- TMPL_LOOP NAME="templates" -->
128 <option value="<!-- TMPL_VAR NAME="template_id" -->"><!-- TMPL_VAR NAME="template_code" --></option>
134 <td class="borderless">
135 <label for="layout">Select a layout to be applied: </label>
137 <td class="borderless">
138 <select name="layout_id">
139 <!-- TMPL_LOOP NAME="layouts" -->
140 <option value="<!-- TMPL_VAR NAME="layout_id" -->"><!-- TMPL_VAR NAME="layout_name" --></option>
146 <td class="borderless">
147 <label for="start_label">Enter starting label number: </label>
149 <td class="borderless">
150 <input type="text" size="5" id="start_label" name="start_label" class="focus" title="Starting label number" value="1"/>
155 <fieldset class="action">
156 <div style="margin: 10px 10px 10px 0px;">
157 <span class="yui-button yui-link-button"><span class="first-child"><input type="submit" value="Export" /></span></span>
158 <span class="yui-button yui-link-button"><span class="first-child"><input type="button" id="done" onclick="parent.parent.GB_hide();" value="Cancel"></span></span>
164 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->