[GNC] Invoice Header Logo Image Size

Robert Heller heller at deepsoft.com
Tue Mar 18 15:34:42 EDT 2025


As has been pointed out in another post.  GnuCash's formatting facilities are 
limited to a few standard things. In my case, I needed to add a second image 
elsewhere in the invoice -- GnuCash only allows for a header/logo and as you 
have discovered, even that is limited.

Using an outside program like LaTeX allows far greater options in formatting 
Invoices.  Invoice formatting is always going to be something that GnuCash is 
never going to be able to satisfy every user -- often Invoice formatting is 
something that will be "unique" to every business and many business will have 
have partitular needs that GnuCash is just not going to satisify.

Fortunately, GnuCash does have a scripting API just for this sort of 
situation.  My script just uses the Python API to access the GnuCash data file 
and generates a LaTeX source file and then runs pdflatex to create a PDF.

At Tue, 18 Mar 2025 12:13:24 -0700 Mark Iams-McGuire <mark at flairtones.com> wrote:

> 
> Sounds like an option and I guess if you have a script it's not too much 
> extra work. It still seems like there should be a way to modify the 
> image size within Gnucash.
> 
> On 3/18/2025 6:11 AM, Robert Heller wrote:
> > This probably does not help you much, but what I did was abandon using GnuCash
> > to generate *printed/printable PDF* invoices directly.  Instead, I wrote a
> > simple Python script to extract the invoice information and generate a LaTeX
> > source file and then used LaTeX to create PDFs that I could send to my
> > customers.
> >
> > At Mon, 17 Mar 2025 18:52:10 -0700 Mark Iams-McGuire <mark at flairtones.com> wrote:
> >
> >> Where can I change the invoice header image pixel size? I looked through
> >> several style sheets with no luck. Is there an html file that sets the
> >> img scr for the header image? Where would I find it? I need better
> >> resolution for my logo. TIA.
> >> Mark
> >> _______________________________________________
> >> gnucash-user mailing list
> >> gnucash-user at gnucash.org
> >> To update your subscription preferences or to unsubscribe:
> >> 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.
> >>
> >>                                                                                                      
> >>
> 
>  
> 

-- 
Robert Heller             -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software        -- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
heller at deepsoft.com       -- Webhosting Services
                                                                                                                  


More information about the gnucash-user mailing list