Most of the receipts that print from the Evergreen staff client software are managed via the Print Template Editor (Administration → Workstation → Print Templates) and can be customized on an individual workstation basis. Typically, library systems will set up the receipts the way they want them to print out on one workstation at a branch, then export the settings as a file and import that file to each of the other workstations at that branch. Some library systems choose to set up different types of workstations (Circulation versus Technical Services, for example) differently depending on the type of work that needs to be done.
If Hatch is installed receipts can be forced to use a specific printer settings (Administration → Workstation → Printer Settings).
Note
|
There are a few receipts, such as the Evergreen self-checkout receipts, that are controlled through Notification Action Triggers rather than through Print Templates. Changes to the notification action triggers are set on a PINES-wide basis and restricted to PINES staff. Any requests for changes will need to be reviewed for suitability for all PINES libraries. |
-
Bills, Current: Listing of current bills on an account.
-
Bills, Historic: Listing of bills that have had payments made on them. This used on the Bill History Transaction screen.
-
Bills, Payment: Patron payment receipt.
-
Checkin: List of items that have been entered in to the check-in screen.
-
Checkout: List of items currently checked out by a patron during the transaction.
-
Hold Transit Slip: This is printed when a hold goes in-transit to another library.
-
Hold Shelf Slip: This prints when a hold is fulfilled.
-
Holds for Bib Record: Prints a list of holds on a Title record.
-
Holds for Patron: Prints a list of holds on a patron record.
-
Hold Pull List: Prints the Holds Pull List.
-
Hold Shelf List: Prints a list of hold that are waiting to be picked up.
-
In-House Use List: Prints a list of items imputed into In-house use.
-
Item Status: Prints a list of items imputed into Item Status.
-
Items Out: Prints the list of items a patron has checked out.
-
Patron Address: Prints the current patrons address.
-
Patron Note: Prints a note on a patron’s record.
-
Renew: List of items that have been renewed using the Renew Item Screen.
-
Transit List: Prints the list of items in-transit from the Transit List.
-
Transit Slip: This is printed when an items goes in-transit to another location.
Warning
|
Clearing your browser’s cache/temporary files will clear any print template customizations that you make. Be sure to export a copy of your customizations as a backup so that you can import it as needed. |
-
In Evergreen, go to Administration → Workstation → Print Templates.
-
Select the Template Name of the receipt you wish to customize.
-
If you are using Hatch, you can choose different printers for different types of receipts with the Force Content field. If not, leave that field blank.
-
Make changes in the Template field.
-
Click Save Locally.
The various pieces of data that can be printed on a receipt are limited, and vary by receipt type.
The print templates follow W3C HTML standards (see http://w3schools.com/html/default.asp) and can make use of CSS and Angular JS to a certain extent.
Print templates use variables for various pieces of information coming
from the Evergreen database. These variables deal with everything from
the library name to the due date of an item. Information from the
database is entered in the templates with curly brackets. Different
types of print templates have access to different pieces of information.
Example: {{checkout.title}}
Some print templates have sections that are repeated for each item in a list. For example, the portion of the Checkout print template below repeats every item that is checked out in HTML list format by means of the 'ng-repeat' in the li tag.
<ol>
<li ng-repeat="checkout in circulations">
<b>{{checkout.title}}</b><br/>
Barcode: {{checkout.copy.barcode}}<br/>
Due: {{checkout.circ.due_date | date:"short"}}<br/>
</li>
</ol>
Goal |
Original |
Code |
Result |
---|---|---|---|
Bold (HTML) |
hello |
|
hello |
Bold (CSS) |
hello |
|
hello |
Capitalize |
circulation |
|
Circulation |
Currency |
1 |
|
$1.00 |
If you do not format dates, they will appear in a system format which isn’t easily readable.
Code |
Result |
---|---|
|
2017-08-01T14:18:51.445Z |
|
8/1/17 10:18 AM |
|
8/1/2017 |
Add | currency
after any dollar amount that you wish to display as
currency.
Code |
Result |
---|---|
|
$2.50 |
You can use Angular JS to only print a line if the data matches. For example:
<div ng-if="hold.email_notify == 't'">Notify by email: {{patron.email}}</div>
This will only print the ``Notify by email:'' line if email notification is enabled for that hold.
To print just a substring of a variable, you can use a limitTo
function: {{variable | limitTo:limit}}
where limit is the number of
characters you want.
Original |
Code |
Result |
---|---|---|
The Sisterhood of the Traveling Pants |
|
The Sisterhood of th |
123456789 |
|
56789 |
You can use HTML and CSS to add an image to your print template if you have the image uploaded onto a publicly available web server. For example:
<img src="https://pines.georgialibraries.org/dokuwiki/lib/exe/fetch.php?media=logo.png" style="width:150px;padding:5px;">
To set up all workstations in a branch in the same way, set up one workstation’s receipt templates completely, then use the ``Export Customized Templates'' to save an external file that you can then Import into other workstations.
The web client doesn’t have a built-in option to reset the print templates to default, but they should reset if you clear your entire browser cache. You could also un-zip the file below and import the file it contains.