Invoice printing: improved layout
Posted: Sun Dec 30, 2012 12:32 am
I don't know if you have changed something recently or whether we are noticing this for the first time, but our invoices are too wide to print on A4 LANDSCAPE even.
We realise that we can change some settings by using custom CSS at
Properties> Advanced> Invoice Custom CSS
and there we currently have this set:
body {text-align: left; font-size: 16px;}
#invoicepropname{position: absolute; top: 13px; left: 180px; font-size: 28px;}
#invoiceaddress{position: absolute; top: 30px; left: 140px; font-size: 18px; padding-bottom: 120px;}
#invoiceguestname{position: absolute; top: 180px; left: 60px; }
#invoiceguestaddress{position: absolute; top: 200px; left: 60px;}
#invoicenote{position: absolute; top: 310px; left: 60px; font-size: 20px; font-style: italic;}
#invoiceroomname{position: absolute; top: 430px; left: 60px; }
#invoicereference{position: absolute; top: 430px; left: 260px; }
#invoicetable{position: absolute; top: 460px; left: 60px; margin-left:auto; margin-right:auto;}
#invoicecomment{position: absolute; top: 800px; left: 60px;}
#invoiceprinttime{position: absolute; top: 180px; left: 650px; font-size: 14px; font-style: italic;}
Now we could reduce the font size and move the left hand start position closer to the left hand margin, but we do prefer the start position where it is so the printed customer name and address is visible through a standard, window envelope see-through panel.
We have the following suggestions to make:
1) remove a lot of the right hand padding of all columns - especially the description column
2) change the column heading name from "Quantity" to "No." and halve that column's width to allow 4 digits only
3) allow the description in a row to "wrap" to a second and third line (of the same row) when it becomes too long
Most people will probably want to print portrait orientation on A4 paper and I think that thought should be given as to how best to achieve this...
We realise that we can change some settings by using custom CSS at
Properties> Advanced> Invoice Custom CSS
and there we currently have this set:
body {text-align: left; font-size: 16px;}
#invoicepropname{position: absolute; top: 13px; left: 180px; font-size: 28px;}
#invoiceaddress{position: absolute; top: 30px; left: 140px; font-size: 18px; padding-bottom: 120px;}
#invoiceguestname{position: absolute; top: 180px; left: 60px; }
#invoiceguestaddress{position: absolute; top: 200px; left: 60px;}
#invoicenote{position: absolute; top: 310px; left: 60px; font-size: 20px; font-style: italic;}
#invoiceroomname{position: absolute; top: 430px; left: 60px; }
#invoicereference{position: absolute; top: 430px; left: 260px; }
#invoicetable{position: absolute; top: 460px; left: 60px; margin-left:auto; margin-right:auto;}
#invoicecomment{position: absolute; top: 800px; left: 60px;}
#invoiceprinttime{position: absolute; top: 180px; left: 650px; font-size: 14px; font-style: italic;}
Now we could reduce the font size and move the left hand start position closer to the left hand margin, but we do prefer the start position where it is so the printed customer name and address is visible through a standard, window envelope see-through panel.
We have the following suggestions to make:
1) remove a lot of the right hand padding of all columns - especially the description column
2) change the column heading name from "Quantity" to "No." and halve that column's width to allow 4 digits only
3) allow the description in a row to "wrap" to a second and third line (of the same row) when it becomes too long
Most people will probably want to print portrait orientation on A4 paper and I think that thought should be given as to how best to achieve this...