We use pdfmake to generate the PDFs. From the following issue it looks like you can set the page size by setting a pageSize property on the dd variable (document definition).
We don’t support using variables in the footer. You may be able to make it work by customizing the design but it would be a non-trivial endeavor.
The list of fields will be added in a future release, here a sample:
Too bad the footer is not really customizable.
As to your second comment (“list of fields”), does that mean accessibility to those fields will be added to the footer in a future release? Or just “exposed” in the docs so as to make other customization development simpler?
Feature request:
I hope the footer will become significantly more customizable.
What I would like to achieve is to make a remittance “tear strip” at the bottom 3 inches of a US Legal formatted invoice. This leaves a standard US Letter sized page for the client’s files and lets them send in a tearstrip with invoice and account information with their payment. [ This sort of arrangement is fairly customary in the US for utility companies and other “sophisticated” billers. ]
On the (footer) tearstrip I would like to repeat (at minimum) the following fields:
invoice number (I usually set this field in a 3of9 font for quick scanning, so that functionality would be nice too!
amount due (invoice)
my business name and remittance address
client name and address / contact info
an additional field which could be useful is amount due on client account (is this “balance” in InvoiceNinja parlance, or is “balance” what remains on a particular invoice by itself? – I am just starting to learn IN)
By the way, what unfortunately can add further “complexity”: this arrangement (generally) should put the tearstrip only on page 1 (or last page). The other pages (in the case of a multi-page invoice) are all of the size-tearstrip (in the US case, only 1 page is “legal” the others “letter”)
One additional consideration: perhaps the tearstrip should be separate from the “footer” – this way the footer (page number, for example, and other fields?) can be repeated on all pages and the tearstrip occurs just once.
I though of how long they have this feature available, I am thinking to use it but some minor issues raises an impact for my interest. But I am still looking forward that I could use the platform.
InvoiceNinja has really improved in the years since I last played with it in any depth. Good for you!
blockquote (still doesn’t seem to work) “This feature has been implemented, you can set the page size on Settings > Invoice Design”
Is there any ability to “easily” add a remittance tearstrip as I urged further above in the thread? (one example is here, the dotted line is where the page is perforated)
If you could add the ability to add (any and all relevant) fields to such a “tear strip” invoice element or (less perfect) footer – as there are in the other sections of the invoice – the ability to achieve this would be immediately met.
In the interim, I’d be happy to handcode this if you could provide a bit of guidance.
Between this issue and Purchase Orders I’m quite certain I could get you at least a dozen more clients (Whitelabel and/or hosted). Of course that’s probably not enough incentive (by itself) to add these features . . .