home search

ESP Letterwriter

Documents created with the ESP Elite Letterwriter can encompass a wide range of functions and commands in order to generate personalised, letters, reports and e-mails.

 

The details below outline the key points in using the Letter Writer.

 

Once you have a letter open, the document will look similar to the one shown below.

 

%N This Template is used to automatically complete the header section and ending«

%N when a New letter is being created. It's File name is Template. It is eight (8)«

%N characters long. You may create you own Templates but each one MUST have«

%N a Unique name.«

%W66%FL%T10«

%JR«

%DO04@TODAY«

%JL«

«

%(«

@MB#TIT @MB#FIR @MB#SUR«

@MB#AD1«

@MB#AD2«

@MB#AD3«

@MB#TOW«

@MB#COU @MB#POS«

%)«

«

Dear @MB#DEA«

«

(Letter Text Here)«

«

«

%IF @MB#DEA =  "Sir" | @MB#DEA = "Madam";Yours faithfully,«

%IF @MB#DEA !=  "Sir" & @MB#DEA != "Madam";Yours sincerely,«

«

«

J. Bloggs«

Manager«

 

 

What are the ' « ' for?

At the end of each line/paragraph, you will notice that there is a «

When producing documents you must ensure that there is a carriage return at the end of each line/paragraph, otherwise the text will be ignored.  To enter a carriage return at the end of the line, hold down the SHIFT key whilst pressing the ENTER (RETURN) key.

 

 

%N

Any line which has %N at the start of it is a Note.  All text which follows the %N until the end of the line (carriage return) will be ignored.

 

 

%W66

The Command W  is for Width, so we are saying to the computer to set the Printed Width of the letter to 66 characters.

 

 

%FL

The Command FL tells the computer to IGNORE Trailing Spaces.

 

 

%T10

The Command T is for Top Margin. This tells the computer that a margin of 10 lines is to be left when printing. This is to prevent any pre-printed Letterhead being overprinted. You may need to increase this figure if your Letterhead is larger than normal, or indeed, decrease it.

 

 

%JR.

This is the JUSTIFY Command.  This means that the text that follows is to be printed at a specific place on the page.  The second letter determines just where the text should be printed.  Options available for justification are:

 

%JR

Justified to the RIGHT Margin

%JL

Justified to the LEFT Margin  

%JC

Justified to the CENTRE of the page

%JB

Justified to BOTH Right and Left Margins.

 

 

%D04@TODAY

This is the command to print Today's Date along with the Date format.  There are Six date formats available:

 

@TODAY

17/04/99        [  DD/MM/YY ]

%D01@TODAY

04/17/99        [  MM/DD/YY ]

%D02@TODAY

17/04/1999        [  DD/MM/YY ]

%D03@TODAY

04/17/1999        [  MM/DD/YY ]

%D04@TODAY

17th  Apr 1997

%D05@TODAY

17th  April 1997

 

 

%( and %)

These commands can be used together so that any blank lines encountered between this command '%(' and '%)' are to be ignored or removed from the final document.  The normal place for these commands is before and after the address fields. These two '%(' and '%)' make a pair.

 

%(

Switches the command ON

%)

Switches the command OFF

 

@MB#TIT, @MB#FIR, @MB#SUR, .....

These are the field identifiers for specific fields within the Elite Database.  This will enable you to create mass mailings which are personalised to each individual.

 

For further information on Field Identifiers, please see Field Identifiers.

 

 

%IF @02#009 =  "Sir" | @02#009 = "Madam";Yours faithfully,

%IF @02#009 !=  "Sir" & @02#009 != "Madam";Yours sincerely,

These two lines are Boolean statements.  The first line tells the computer to check if the Dear field IS Sir' or 'Madam' then print ' Yours faithfully'.

The second line says if Field 9 IS NOT 'Sir' or 'Madam' then print 'Yours sincerely'.