[GNC] Invoice Header Logo Image Size
Mark Iams-McGuire
mark at flairtones.com
Wed Mar 19 13:51:58 EDT 2025
GNC appears to be controlling the invoice header size based on pixels.
My invoice logo image should come out to about 5" wide. At 300dpi its
1495px. To get the image to be 5" wide in the GNC invoice output, I had
to reduce it to 513px which becomes an unacceptable 72dpi image. I think
I used the "fancy" style sheet template to create my new renamed style
sheet. I have played around with all of the included style sheets with
the same results. This is why I want to find and adjust the come html
code for GNC invoice output. BTW - I'm using GNC version 5.10
On 3/18/2025 7:37 PM, Jediator wrote:
> If all you need is to adjust the logo image size/pixel resolution, you
> may want to use an image editor to adjust the size before you load it
> to the build-in style sheet editor. Which style sheet did you use in
> your invoice report?
>
> -- ND
>
> On 3/18/25 7:39 PM, Mark Iams-McGuire wrote:
>> Thanks ND,
>> Modifying the style sheet is my first desired approach. So far I have
>> not been able to find the right CSS file and/or html file to modify.
>> GNC seems to have file scattered everywhere.
>>
>>
>> On 3/18/2025 2:36 PM, Jediator wrote:
>>> Although LaTex is quite powerful, but not without steep learning
>>> curve. An easy way would be to modify or create your own CSS style
>>> sheet in GNC and generate the report in HTML before you print...
>>>
>>> -- ND
>>>
>>> On 3/18/25 3:20 PM, Mark Iams-McGuire wrote:
>>>> I'm not familiar with LaTex but I may need to check it out since
>>>> you're the second person to mention it. I don't expect a lot of
>>>> fancy graphics from Gnucash, but it seems like throwing a simple
>>>> not pixelated graphic should be simple enough. The rest of the
>>>> program works fine. I'm looking for simplicity while still looking
>>>> professional. Thanks.
>>>>
>>>> On 3/18/2025 7:35 AM, Michael or Penny Novack via gnucash-user wrote:
>>>>> On 3/18/2025 9: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.
>>>>>
>>>>> That is how to do it. If you want "pretty printed" output, have
>>>>> gnucash "print" to a file, and then use a full powered compositing
>>>>> program to modify that output to your heart's content.
>>>>>
>>>>> Think about it for a moment. Why should an accounting program
>>>>> include all the capabilities of something like LaTex?
>>>>>
>>>>>
>>>>> Michael D Novack
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> 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.
>>>>
>>>> _______________________________________________
>>>> 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.
>>>
>>> _______________________________________________
>>> 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.
>>
>
> _______________________________________________
> 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.
More information about the gnucash-user
mailing list