User Tools

Site Tools


pergamonmystic:reportformatting

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
pergamonmystic:reportformatting [2021/07/13 11:12]
admin
pergamonmystic:reportformatting [2021/09/09 16:06] (current)
admin
Line 13: Line 13:
 Note that typically, the main focus of the report is added to the PDF by Mystic automatically and does not need the use of macros - e.g. In a Warning Letters report, use the reader macros to embeds the reader details in the cover text as required, but the book listing of items overdue will be added automatically. Note that typically, the main focus of the report is added to the PDF by Mystic automatically and does not need the use of macros - e.g. In a Warning Letters report, use the reader macros to embeds the reader details in the cover text as required, but the book listing of items overdue will be added automatically.
  
-===== How to use Macros =====+===== How to use Macros =====
  
 Macros are embedded in the text by placing them in the most appropriate location and surrounded by left and right square braces (i.e. [ and ]). Macros are embedded in the text by placing them in the most appropriate location and surrounded by left and right square braces (i.e. [ and ]).
Line 26: Line 26:
 ===== Formatting Macros ===== ===== Formatting Macros =====
  
-The following formatting macros are available:+The following formatting macros are available ​for reports being sent to hard-copy or PDF files (i.e. not for use with email text):
  
   * [b]...[/b] - Bold text   * [b]...[/b] - Bold text
Line 34: Line 34:
   * [bq]...[bq] - Blockquoted text   * [bq]...[bq] - Blockquoted text
   * [s:#] - Font size   * [s:#] - Font size
-  * [f:#] - Font name (can be courier new, arial, times new Roman, symbol, zapfdingbats or wingdings +  * [f:#] - Font name (can be courier_new, arial, times new_roman, symbol, zapfdingbats or wingdings) 
-  * [h] - ??? +
-  * +
 ===== Reader Macros ===== ===== Reader Macros =====
  
Line 46: Line 45:
   * [NAME-FIRST] - The current reader'​s first name only   * [NAME-FIRST] - The current reader'​s first name only
   * [NAME-LAST] - The current reader'​s surname only   * [NAME-LAST] - The current reader'​s surname only
 +  * [ADDRESS] - The recorded address of the reader¹
 +  * [EMAIL] - The recorded email address of the reader¹
 +  * [FAX] - The recorded fax address of the reader¹
 +  * [MOBILE] - The recorded mobile telephone number of the reader¹
 +  * [NOTES] - Any notes attached to the reader'​s contact card¹
 +  * [POSTCODE] - The recorded postcode / zip code of the reader¹
 +  * [TELEPHONE] - The recorded telephone number of the reader¹
 +  * [VOIP] - The recorded VoIP number / address of the reader (e.g. Skype)¹
  
 +¹ These macros required the Contacts facility to be turned on.
  
 +The following auto-generated text macros are available only when used within an EMail report and where a reader HID (barcode) is available:
 +
 +  * [READER_CIRCULATIONS] - All of the current readers live circulations
 +  * [READER_OVERDUES] - All of the current readers live overdue circulations
 +  * [READER_HISTORY] - All of the current readers circulations history (live and archived)
  
 ===== Example Usage ===== ===== Example Usage =====
Line 67: Line 80:
 Which produces the following output: Which produces the following output:
  
 +{{ :​pergamonmystic:​warningletteroutput.jpg |}}
        
        
pergamonmystic/reportformatting.1626174741.txt.gz · Last modified: 2021/07/13 11:12 by admin