Strugling with Invoice printing

Elizabeth Dodd edodd at billiau.net
Thu Dec 31 23:54:15 EST 2009


On Fri, 1 Jan 2010, Zhang Weiwu wrote:
> 在 2009-12-30三的 20:24 +0200,Manfred Jung写道:
> 
> > 2. The options for the template changes are very limited. I need to
> > increase the margins Is there a file that one can edit.
> 
> Hi. I also find options for the invoice templates are very limited.
> Luckily what I need in addition are simple text fields, which is to add
> the bank account my customer should transfer money to. Knowing what I
> did is probably not what you want to do too, I believe I should post it
> anyway for other people who google to this thread with intention close
> to mine.
> 
> Here is what I did:
> > diff -u /usr/share/gnucash/guile-modules/gnucash/report/invoice.scm.dist
> > /usr/share/gnucash/guile-modules/gnucash/report/invoice.scm
> 
> ---
>  /usr/share/gnucash/guile-modules/gnucash/report/invoice.scm.dist	2009-11-2
> 2 20:11:15.000000000 +0800 +++
>  /usr/share/gnucash/guile-modules/gnucash/report/invoice.scm	2009-11-22
>  20:24:13.000000000 +0800 @@ -322,7 +322,14 @@
>     (gnc:make-text-option
>      (N_ "Display") (N_ "Extra Notes")
>       "u" (N_ "Extra notes to put on the invoice")
> -     (_ "Thank you for your patronage")))
> +     (_ "Bank:	中信银行北京万柳支行
> +Account number:	71140 1018 26000 13451
> +Account holder:	锐业软服(北京)信息技术有限公司
> +
> +Thank you very much for your order!
> +Best regards
> +Zhang Weiwu
> +CEO, Real SoftService ")))
> 
>    (gnc:register-inv-option
>     (gnc:make-string-option
> 
> If the change above is too difficult to read for you, it means to modify
> a file named "invoice.scm" in the "report" folder and just change some
> text in this file when I see fit. What I changed is to change from
> "Thank you for your patronage" to a much longer piece of text of a few
> lines.
> 
> I guess if you want more change than just replacing text, you need to
> have knowledge of the programming language that compose the invoice, or
> hire someone who do.
> 
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
> 
I persuaded my son to make a fix for this last year and posted it to the list, 
and it seems that fix hasn't made it into the main gnucash.
Derek would you like a copy of the altered Fancy Invoice again??

-- 
A horse!  A horse!  My kingdom for a horse!
		-- Wm. Shakespeare, "Richard III"


More information about the gnucash-user mailing list