Library Name
- %LIBRARY% — Library Name (Example: Lynnfield)
- %SHORTNAME% — Library Short Name (Example: LFD)
You could combine a code and words, for example: %LIBRARY% Public Library, but it might be simpler to just remove the library code and enter the name of the library in the format you prefer.
Staff Name
- %STAFF_FIRSTNAME% — First Name (Example: Jane)
- %STAFF_LASTNAME% — Last Name (Example: Smith)
(Staff names are probably not useful for Circulation Desk receipts if you’re using generic circ-desk logins.)
Patron Information
- %PATRON_FIRSTNAME% — First Name (Example: Jane)
- %PATRON_LASTNAME% — Last Name (Example: Smith)
- %PATRON_MIDDLENAME% — Middle Name (Example: Q.)
- %PATRON_BARCODE% — Barcode (Example: 21234000123456)
Substrings
- %SUBSTR(-4)%%PATRON_BARCODE%%SUBSTR_END% — Last four digits of barcode (Example: 3456)
- %SUBSTR(0,1)%%PATRON_MIDDLENAME%%SUBSTR_END% — First character in Middle Name (Example: Q)
Date Formats
- %TODAY_m% — Month (mm) : 04
- %TODAY_d% — Day (dd): 15
- %TODAY_Y% — Year (yyyy):2012
- %TODAY_H% — Hour (hh): 21
- %TODAY_M% — Minutes: 05
- %TODAY_F% — 2012-04-15 (This format matches the format of the checkout date)
- %TODAY_D% — 04/15/12
- %TODAY_m%/%TODAY_d%/%TODAY_Y% — 04/15/2012
Line Items
This information is used to create the list of items checked out, renewed, etc.
- %author% — Author (Example: Smith, Betty)
- %title% — Title (Example: A tree grows in Brooklyn
- %barcode% — Barcode (Example: 31392001234567)
- %prefix% — Call Number Prefix (Example: Large Type)
- %call_number% — Call Number (Example: DC 97.5 .T82 1978)
- %suffix% — Call Number Suffix (Example: Oversize)
- %due_date% — Due Date (Example: 2012-09-06)
Formatting Code
You can use basic HTML or CSS code to provide basic style to your receipts.
Line Breaks: Add <br />
Bold: To make text bold, surround the text or template macros with <strong></strong>
Example:
Template: <strong>Due: %due_date%</strong>
Prints as this: Due: 2012-09-06