Skip to main content
ExLibris

Knowledge Assistant

BETA
 
  • Subscribe by RSS
  • Back
    Aleph

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Aleph
    3. Knowledge Articles
    4. Zip Code Is Appended To All Address Lines In Patron Printouts

    Zip Code Is Appended To All Address Lines In Patron Printouts

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    1. Problem Symptoms:
    2. Resolution:
    3. Additional Information
    • Article Type: General
    • Product: Aleph
    • Version: 21, 22, 23

    Problem Symptoms:


    Zip code is appended to all address lines in patron printouts

    Cause:
    Empty Space in patron address lines causes zip code data to be appended per settings in XXX01/form_lng/global.trn
     

    Resolution:

    1. Make a backup of XXX01/form_lng/global.trn
    2. Add the following lines to XXX01/form_lng/global.trn:

    z302-address-0 AP-ZIP-CAN S z302-zip z302-address-1 z302-address-2 z302-address-3 z302-address-4
    z302-address-1 AP-ZIP-CAN S z302-zip z302-address-2 z302-address-3 z302-address-4
    z302-address-2 AP-ZIP-CAN S z302-zip z302-address-3 z302-address-4
    z302-address-3 AP-ZIP-CAN S z302-zip z302-address-4
    z302-address-4 AP-ZIP-CAN S z302-zip
    z302-zip TO-BLANK S

    z304-address-0 AP-ZIP-CAN S z304-zip z304-address-1 z304-address-2 z304-address-3 z304-address-4
    z304-address-1 AP-ZIP-CAN S z304-zip z304-address-2 z304-address-3 z304-address-4
    z304-address-2 AP-ZIP-CAN S z304-zip z304-address-3 z304-address-4
    z304-address-3 AP-ZIP-CAN S z304-zip z304-address-4
    z304-address-4 AP-ZIP-CAN S z304-zip
    z304-zip TO-BLANK S

     

    After adding the above lines, the zip code will be appended only to the last line of a patron address

    Additional Information

     

    The ZIP code are 3 format:
    AP-ZIP,AP-ZIP-USA and AP-ZIP-CAN

     

    From the Syslib Guide - Printing part:

     

    AP-ZIP – This routine is used to append the zip code to the displayed address. The
    translate routine receives two parameters. The first is the zip code that is to be
    appended to the formatted tag, and the second is the condition field. Only if the
    condition field is empty will the zip code (in the first parameter) be added to the
    formatted tag.

     

    AP-ZIP-USA – This routine is similar to AP-ZIP. The only difference is that the ZIP
    code is also formatted in USA format, that is, the first five characters are separated
    from the rest by a hyphen (xxxxx-yyy).

     

    AP-ZIP-CAN – This routine is similar to AP-ZIP. The only difference is that the ZIP
    code is also formatted in Canadian format, that is, the first three characters are
    separated from the rest by a space (xxx yyy).

     

     

     

     


    • Article last edited:  6/13/2017
    View article in the Exlibris Knowledge Center
    1. Back to top
      • Zeroing encumbrances for VC and LC closed orders
      • Zotero and Aleph OPAC
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      1. Circulation (500)
      2. contype:kba
      3. Printing
      4. Prod:Aleph
      5. Type:General
    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