Receipt Customizations

Customizing the receipts is fairly simple once you realize what can be placed in each of the sections of the receipts. One thing to remember when customizing receipts to always 'Save Locally'. Checkouts, Hold Slip, Hold Transit Slip are customized below.

Tip

Always remember to 'Save Locally'.

Print Holds Slip with Landscape Layout

This feature enables you to use Mozilla-specific CSS to print holds with a landscape layout. To use the landscape layout:

  1. Click AdminWorkstation AdministrationReceipt Template Editor.
  2. Select hold transit slip from the Template Name drop down menu.
  3. Enter <div> before and after the block of text that you wish to rotate.
  4. Enter the stylesheet text in the <div> bracket that appears before the block of text that you wish to rotate:

    <div style="moz-transform: rotate(90deg);">
  5. When you click out of this box, notice that the text in the Preview box on the left side of the screen has rotated 90 degrees.
  6. You can further customize the look of the text by adjusting its height and width. The height and width that you specify will be unique to your printer.

    For example, you could add the following height and width to your rotated text:

    <div style="moz-transform: rotate(90deg);height: 300px; width: 200px;">
    Print_Holds_Slip1
  7. The holds slip will print with the configured text in a landscape layout:

    Print_Holds_Slip2

Checkout

This is the receipt that prints when items are checked out to individuals. Item you can customize are adding the library logo, adding information about renewals on the bottom of the receipt. If you notice at the end of the Footer the <br/>.<br/>, the allows an auto cut printer a little extra room so it will not cut the phone number off. The period is needed so the extra lines are added.

Header

<img align="center" src="http://www.library.org/images/logo.jpg"><br/>
Welcome to %LIBRARY%!<br/>
You checked out the following items:
<hr/>
<ol>

Line Item

<li>%title%<br/>
By: %author%<br/>
Barcode: %barcode%<br/>
Due: %due_date%

Footer

</ol>
<hr />
%SHORTNAME% %TODAY_TRIM%<br/>
You were helped by %STAFF_FIRSTNAME%<br/>
<br/>
<center>If you want to renew your materials please visit<br/>
www.library.org<br/>
or call us at ###-###-####</center>
<br/>
<br/>
.<br/>

Hold_Slip #1

This is the slip that prints when a hold is fulfilled. Things to customize are the patrons name at the top of the slip, Bold the %hold_for_msg%, among others.

Header

<font size="6"><b>%PATRON_LASTNAME%, %PATRON_FIRSTNAME%</b>
</font><br/><br/><br/><br/>
This item needs to be routed to <b>%route_to%</b>:<br/>
Barcode: %item_barcode%<br/>
Title: %item_title%<br/>
<br/>
<b>%hold_for_msg%</b><br/>
Barcode: %PATRON_BARCODE%<br/>
Notify by phone: %notify_by_phone%<br/>
Notify by email: %notify_by_email%<br/>

Line Item

<em>%formatted_note%</em><br/>

Footer

Request date: %request_date%<br/>
<br/>
Slip Date: %TODAY_D% %TODAY_I%:%TODAY_M%<br/>
Printed by %STAFF_FIRSTNAME% at %SHORTNAME%<br/>.<br/>

Hold_Slip #2

This is the slip that prints when a hold is fulfilled. This slip uses the SUBSTR macro to truncate the Patrons Last name to the first 4 characters and the patron’s barcode to the last 5 digits. This slip is designed for libraries that use self-serve holds. So, you will notice a lot of information about the hold is left off of the receipt.

Header

<p style="padding-top:80px; padding-bottom:80px">
<font size="6"><b>
%SUBSTR(0,4)%%PATRON_LASTNAME%%SUBSTR_END%
&nbsp;%SUBSTR(-5)%%PATRON_BARCODE%%SUBSTR_END%
</b></font></p>
</font><br/><br/><br/><br/>
This item needs to be routed to <b>%route_to%</b>:<br/>
Barcode: %item_barcode%<br/>
Title: %item_title%<br/>
<br/>
Notify by phone: %notify_by_phone%<br/>

Line Item

<em>%formatted_note%</em><br/>

Footer

Request date: %request_date%<br/>
<hr style="border: 1px dotted"/><br/>
Slip Date: %TODAY_TRIM%<br/>
Printed by %STAFF_FIRSTNAME% at %SHORTNAME%<br/>.<br/>

Hold_transit_slip

This is the slip that is printed when an Item is needed at another library for a hold. In this customization, the address of the library is removed, The library’s shortname size is increased, and made a little more notable at top, and the patron’s phone number and email address is removed from the slip.

Header

<font size="5">Route to %route_to%</font><br/><br/><br/>
This item needs to be routed to <b>%route_to%</b>:<br/>
%route_to_org_fullname%<br/><br/>
Barcode: %item_barcode%<br/>
Title: %item_title%<br/>
Author: %item_author%<br><br/>
%hold_for_msg%<br/>
Barcode: %PATRON_BARCODE%<br/>

Line Item

<em>%formatted_note%</em><br/>

Footer

<br/>Request date: %request_date%<br/>
Slip Date: %TODAY_TRIM%<br/>
Printed at %SHORTNAME%<br/>
<br/><br/>.<br/>