Skip to main content
ExLibris

Knowledge Assistant

BETA
 
  • Subscribe by RSS
  • Back
    Alma

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Alma
    3. Community Knowledge
    4. Automatically Printing Alma Loan Receipt Letters to a Thermal Receipt Printer

    Automatically Printing Alma Loan Receipt Letters to a Thermal Receipt Printer

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    No headers
    Created By: James (Jim) Robinson
    Created on: 5/01/2019



    At Tarrant County College, we use the Epson TM-T88VI receipt printers in our library, but each printer is connected to a PC via USB. This is the same Windows 10 PC used to monitor gate alarms, so the computer must be running during open hours whether we print receipts or not.

    Alma Loan Receipt Letter emails are sent to an account that is received by a Thunderbird email client, then we use the PrintingTools add-on and the FiltaQuilla add-on to automatically print to the receipt printer based on Sender and Subject. This works well for us because if there is a printing error, we have the email in the Thunderbird client and it's a simple process to reprint from Thunderbird if necessary.

    We did revise our Loan Receipt Letters to fit the 80mm thermal printer paper.

    We removed the header from the FulLoanReceiptLetter.xsl and reproduced a minimal header without the logo. Unfortunately, the logo prints anyway.

    Here is the full text of FulLoanReceiptLetter.xsl that we are using:

    <?xml version="1.0" encoding="utf-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
        <xsl:template match="/">
            <html>
                <head>
                </head>
                <body>
                    <table cellspacing="0" cellpadding="2" border="0">
                        <tbody>
                            <tr>
                                <td>
                                    <xsl:value-of select="notification_data/organization_unit/name" />
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <xsl:value-of select="notification_data/organization_unit/address/line2" />
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <xsl:value-of select="notification_data/organization_unit/address/city" />, <xsl:value-of select="notification_data/organization_unit/address/state_province" /> <xsl:value-of select="notification_data/organization_unit/address/postal_code" />
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <xsl:value-of select="notification_data/organization_unit/phone/phone" />
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    https://library.tccd.edu
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <br />
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <b>
                                        <xsl:value-of select="notification_data/user_for_printing/name" />
                                    </b>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <br />
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <xsl:value-of select="notification_data/general_data/current_date" />
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <br />
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <b>
                                        Loans
                                    </b>
                                </td>
                            </tr>
                            <xsl:for-each select="notification_data/loans_by_library/library_loans_for_display">
                                <xsl:for-each select="item_loans/overdue_and_lost_loan_notification_display/item_loan">
                                    <tr>
                                        <td>
                                            Title: <xsl:value-of select="physical_item/title" />
                                            <xsl:if test="physical_item/author != ''">
                                                by <xsl:value-of select="physical_item/author" />
                                            </xsl:if>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            Barcode: <xsl:value-of select="barcode" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <b>
                                                Due: <xsl:value-of select="new_due_date_str" />
                                            </b>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <br />
                                        </td>
                                    </tr>
                                </xsl:for-each>
                            </xsl:for-each>
                        </tbody>
                    </table>
                </body>
            </html>
        </xsl:template>
    </xsl:stylesheet>

    Instructions for installing and configuring Epson TM-T88VI printers and Thunderbird email client to automatically print Loan Receipt Letters can be found at https://library.tccd.edu/code/TCC_Li...ublication.pdf

     




    Report
    View article in the Exlibris Knowledge Center
    1. Back to top
      • Analytics- How to create a button that redirects a presentation variable prompt search to Primo
      • Automating the addition of subjects for use as Database categories
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Community Content Type
      How To
      Content Type
      Documentation
      Language
      English
      Product
      Alma
    2. Tags
      This page has no tags.
    1. © Copyright 2025 Ex Libris Knowledge Center
    2. Powered by CXone Expert ®
    • Term of Use
    • Privacy Policy
    • Contact Us
    2025 Ex Libris. All rights reserved