r18581 - gnucash/trunk - Bug #607522: Add ADDRESS to check printing

Christian Stimming cstim at code.gnucash.org
Sat Jan 23 16:39:24 EST 2010


Author: cstim
Date: 2010-01-23 16:39:21 -0500 (Sat, 23 Jan 2010)
New Revision: 18581
Trac: http://svn.gnucash.org/trac/changeset/18581

Added:
   gnucash/trunk/checks/voucher.chk
Modified:
   gnucash/trunk/checks/Makefile.am
   gnucash/trunk/checks/gnomeprint/quicken.chk
   gnucash/trunk/checks/gnomeprint/quicken_wallet.chk
   gnucash/trunk/checks/quicken.chk
   gnucash/trunk/checks/quicken_wallet.chk
   gnucash/trunk/src/gnome/dialog-print-check.c
   gnucash/trunk/src/gnome/glade/print.glade
Log:
Bug #607522: Add ADDRESS to check printing

Patch by Thomas Troesch: The patch does three things:

1.  Adds the ability to print an address on checks.  The Print Check dialog is
changed to have 5 address lines.
The first field is filled in with the same data as the PAYEE check item.  The
other lines are blank.  The check format keys
have a new check-item type 'ADDRESS'.  It behaves like other text check-item
types.  The address fields on the dialog are set 'not-sensitive'
if the current format does not have an ADDRESS check item defined.  The Custom
Field tab has a new line for the address
location.

2.  Added new check format key - Blocking_Chars.  This is to put the blocking
character feature into the check format file.  It is currently
only in the preferences dialog in the printing tab, and therefore currently
applies (or not) to all text fields in th_e check format.  By
adding the key Blocking_Chars_n to the check format, the blocking characters
can be applied to text type check-items individually.  Its
really useful when printing stubs and so on.  (NOTE:  blocking characters are
printed around a field to protect against alteration
e.g.  ***$100.00***  vs     $100.00)

3. Included a Voucher check template.  This is a full page check with the check
on top and which has two stubs below.  There
are other voucher formats ( middle and bottom ) , but the check printing
functionality would require separate templates for
the different formats.  Also changed the Quicken/Quickbooks US-Letter check
format to include the ADDRESS check item and blocking
around the AMOUNT_NUMBER field.  I made a change to the Quicken-wallet check to
add blocking characters around the
AMOUNT_NUMBER field, and I added a clipping rectangle definition to the NOTES
and PAYEE fields the were placed in the
check stub area ( if the fields were too long, they would print into the check
area ).



More information about the gnucash-patches mailing list