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

    ill-patron-letter-i Under Same print.ini Control as Other Patron Letters

    • Article Type: General
    • Product: Aleph
    • Product Version: 18.01

    Description:
    In the ILL2 print.ini, all the patron letter types are controlled by one line (PatronLetter -- patlet.prn).
    This is fine for all but the ill-patron-letter-i.
    We use that letter primarily to get a printed copy of the Request for special inter-office handling like Additonal searching. However, if we set the print.ini for email, this letter is also emailed instead of being printed.
    We feel that separate print.ini lines for each letter type are necessary in order to provide needed control of printing / emailing handling options for the various letter types.

    Resolution:
    You can use the form-print-method = NONE setting in xxx40/form_eng/ill-patron-letter-i.trn to prevent this one form from emailing.

    FORM-PRINT-METHOD – Determines the method in which the printout will be output. Only one form-print-method tag can be defined in an individual .trn file. The options are:
    !Tag Type Parameters
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!-!!!!!!!!!!-!-!!!!!!!!!!!!!!!!!!!!->
    form-print-method EMAIL
    form-print-method SAVEAS
    form-print-method DISPLAY
    form-print-method NONE
    form-print-method EMAIL-ONLY S no_email,MESSAGE
    Options:
    EMAIL – creates the following XML tag in the XML file's header (part of section-01):
    <email-address>Y</email-address>
    EMAIL-ONLY (v17 rep_ver 9171 & KB5166 – Dec-05, not published) – Previously, a form produced to be sent or printed was located under $data_print (unless SERVER-EXECUTE was specified, in which case it would be transferred to another directory under $data_print and not able to be printed or sent by mail.
    This option to directs the XML to $data_print (so that it will be sent via email) only if the header includes the XML tag <email-address>. If there is no such tag, then the file will be directed to a specified directory under $data_print (like with SERVER-EXECUTE).
    The above example shows the setting needed to place the form under $data_print only if the XML's header includes <email-address>...</email-address> tags. If there is no such tag in the header, it will be located in the $data_print/no_email directory.
    SAVEAS – creates the following XML tag in the XML file's header:
    <saveas>Y</saveas>
    Use this option to save as a local file. The system will offer a standard Windows "Save As" dialog box.
    DISPLAY – creates the following XML tag in the XML file's header:
    <display>Y</display>
    Use this option to force a print preview before printing no matter what the print configuration setting.
    NONE – prevents <email-address>, <saveas> or <display> tags creation in the XML file header. global.trn has the EMAIL option by default. However, there may be some printouts that should not be sent via e-mail. Use the NONE option in these printouts' .trn files. The local .trn file's NONE definition will override the global.trn file's EMAIL definition, causing the form to be printed.

    (all the trn settings appear in SKB-8192-7447)


    • Article last edited: 10/8/2013
    • Was this article helpful?