Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    Zip Code Is Appended To All Address Lines In Patron Printouts

    • 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
    • Was this article helpful?