[LOGic] How to modify Envelope AirMail printing for use by non-USA
hams
Bill K1UQ
k1uq at comcast.net
Mon Mar 13 20:43:48 EST 2006
The envelope reports I've recently been discussing and emailing to users can
be modified for use outside the USA. So if you are in Canada, UK, etc. the
following will provide instructions on how to adapt for use in your country.
Go to "Reports" > "Modify report layout", select my "# 5K1UQ ENVELOPE.rep"
(or my "ENVELOPE #10.rep") previously emailed to you and installed by you.
Open it.
When the "Put call on address" prompt appears, press the enter key. Same for
"Print Via info" prompt. (It doesn't matter if you type "Y" or "N")
The report should open and you should see the red "AIR MAIL" on a light blue
background. Right Mouse Button (RMB) click on it and select "Properties..."
When "Label Properties" window opens, click on the "Print when" tab.
The key to recognizing USA call signs, and thereby not printing "AIR MAIL"
on envelopes destined for USA delivery, is controlled by the statement typed
into "Print only when expression is true:"
Use this expression if you are a ham in the USA:
dxcc <> "K" and DXCC <> "KH6" and dxcc <> "KL7" and left(via, 1) <> 'K' and
left(via, 1) <> 'W' and left(via, 1) <> 'A' and left(via, 1) <> 'N'
Here's how the USA version works:
dxcc <> "K" means if the DXCC field has a K (USA) entered, do not print Air
Mail. Same for KH6 (Hawaii) and KL7 (Alaska).
left(via,1) <> 'K' means if the QSL VIa field call sign's first character is
a "K", don't print Air Mail. Same for "W", "A", and "N".
Replacing the above USA expression with this allows Canadian hams to use
this envelope:
dxcc <> "VE" and DXCC <> "VO" and left(via, 2) <> 'VE' and left(via, 2) <>
'VO'
dxcc <> "VE" means if the DXCC field has VE (CANADA) entered, do not print
Air Mail. Same for VO (CANADA).
left(via,2) <> 'VE' means if the QSL Via field call sign's first two
characters are "VE", don't print Air Mail. Same for "VO".
NOTE: the report supplied by LOGic: "ENVELOPE #10 FOR VE" has an error. To
fix the error, replace with the above Canadian expression. (problem was the
quote marks).
So for the UK, you would need to replicate the Canadian version and include
all UK "DXCC" prefixes and then also include again for "QSL via" field
entries. Remember the QSL via field entries are looking for the first "n"
number of characters and note the (via,n) where the n is indicative of the
number of characters each UK prefix could begin with for example G would be
(via, 1) while MM would be (via, 2).
Once you have modified the report, save it - perhaps using a file name
suitable for your use.
Hope this helps.
Regards, Bill K1UQ
More information about the LOGic
mailing list