[GNC] Assigning invoice style sheet

rmomxtx at gmail.com rmomxtx at gmail.com
Sat Jul 5 12:21:22 EDT 2025


To John Rawls answer:

 

I finally figured out what you were talking about. There is a dropdown option to select a stylesheet on the general tab of the reports options. It’s set at default. There is no mention of the stylesheet when you “Save Config” or “Save Config as…” 90% of fixing these details is finding what you are looking for in a menu somewhere. Ha! I did find what you are talking about but still don’t see how to make that those changes automatic or permanent on the default stylesheet. If I picked a different stylesheet doesn’t change the default as the go to version when you hit the print button on the invoice toolbar. Maybe it can’t be done.

 

I notice at the bottom of the Layout tab in reports options there is a section labeled CSS. It has several lines of code. Wondering if something in there might do the trick.

 

Thanks,

Roger

 

From: sunfish62 at yahoo.com <sunfish62 at yahoo.com> 
Sent: Saturday, July 5, 2025 9:14 AM
To: Roger Oliver <rmomxtx at gmail.com>
Cc: John Ralls <jralls at ceridwen.us>; Hossein via gnucash-user <gnucash-user at gnucash.org>
Subject: Re: [GNC] Assigning invoice style sheet

 

On point 1: the Options toolbar button brings up report options. 

On point 2: if you save a report, you have to call it up by selecting Saved Report Configurations and choosing the report there. It would be advisable, when you save a configuration, to give it a distinctive name for ease of retrieval. 

David T. 

On Jul 4, 2025, at 10:11 PM, Roger Oliver <rmomxtx at gmail.com <mailto:rmomxtx at gmail.com> > wrote:

Thanks John,

I'm not clear on how to follow your instructions here: "There’s a
stylesheet option on the General page of all reports options and that
should be included when you save the report configuration."

Is the general page of all reports options on the reports menu, the edit
menu or elsewhere?

Also, I don't see how to make changes I make to the layout of the invoice
on the print page permanent. For example, I want the date of the invoice on
the left of line 3 in the header and the opposite side of line 3 empty,
today's date nowhere. I can save that configuration but don't see how to
tell the system to use that configuration always. The next time I want to
print an invoice it has reverted back to the default with today's date
only.

Roger

On Fri, Jul 4, 2025, 3:22 PM John Ralls <jralls at ceridwen.us <mailto:jralls at ceridwen.us> > wrote:

 

 On Jul 4, 2025, at 04:44, rmomxtx at gmail.com <mailto:rmomxtx at gmail.com>  wrote:

 GnuCash version 5.5 Windows 11 Build 5.5+ (2023-12-16)



 I can't remember how to assign a custom style sheet to the print

 function.




 How to assign a saved configuration to the print function so it comes out
 the same every time? The placement of items on the invoice is not part of
 the style sheet edits. I can access options, save configuration and save
 configuration as but there isn't a way to recall the saved configuration
 that I can find to print out the invoice as I would like to see it.



 There’s a stylesheet option on the General page of all reports options and
 that should be included when you save the report configuration.

 There’s no separate style sheet for printing: We display in a
 WebKitWebView and use the WebKitWebView’s print function to print it and
 save it as a PDF.

 Regards,
 John Ralls

 


  _____  


gnucash-user mailing list
gnucash-user at gnucash.org <mailto: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