Add footer in all print pages

Hi,

To add footer in all print pages, i have write the below code

CSS code

@media print {
            html, body {
                      width: 100%;
                      height: 100%;
                      margin: 0;
                      padding: 0;
            }

            #footer {
                     position: absolute;
                     bottom: 0;
                     display: table-footer-group;   
            }
     }

HTML code

<div id="footer">
<img src="/files/Footer.png" />
</div>

But it's working only for first page, for more details please find attachment
Is there any another way to add footer in all print pages?

Thanks, Rohit




Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/23149784-0eee-4556-956e-f9917f3533ac%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
Hi,

Apologies for duplicate mail.

On 30th july i have post this issue, but due to some issue it's not get reflected on forum and that's the reason, i have posted it again on the forum but found same issue. So please ignore this mails.

Sorry and Thanking you,


On Wed, Jul 30, 2014 at 1:53 PM, Rohit Waghchaure <ro...@indictranstech.com> wrote:
Hi,

To add footer in all print pages, i have write the below code

CSS code

@media print {
html, body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}

#footer {
position: absolute;
bottom: 0;
display: table-footer-group;
}
}

HTML code

<div id="footer">
<img src="/files/Footer.png" />
</div>

But it's working only for first page, for more details please find attachment
Is there any another way to add footer in all print pages?

Thanks, Rohit




Note:



If you are posting an issue,


  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.

  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.

  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email

  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.



    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/23149784-0eee-4556-956e-f9917f3533ac%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.




--
Thanks & Regards,

Rohit


Rohit Waghchaure

Software Developer

New Indictrans Technologies Pvt. Ltd. - Pune

Office: +91-20-65700800 | Mobile: +91-9011857174

www.indictranstech.com | Lat: 18.501994 Lon: 73.79766



This e-mail has arrived in your e-mail Inbox from New Indictrans Technologies Private Limited, Pune. Please do visit http://www.indictranstech.com/ to know more about New Indictrans Private Limited. This email is not spam. We follow 'US Unsolicited Electronic Mail Act of 2000', which states that an e-mail cannot be considered SPAM if it contains contact/removal information, which this e-mail does. This e-mail may contain proprietary and confidential information and is sent for the intended recipient(s) only. If, by an addressing or transmission error, this mail has been misdirected to you, you are requested to delete this mail immediately. You are also hereby notified that any use, any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication of this e-mail message, contents or it's attachment(s) other than by its intended recipient(s) is strictly prohibited. Any opinions expressed in this email are those of the individual and not necessarily of the organisation. Before opening attachment(s), please scan the attachment for viruses.". In case & if you do not wish to receive e-mail (the way you have received it today for what so ever cause or reasons) in near future? Reply back to this email saying "Remove e-mail ID". Within two working days your ID will be removed



Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/CAFsi8V0A%2BA8yZWkp67msi0xEtQXn%3DQE8Ek-tKK5F_S9%2BpNwQoQ%40mail.gmail.com.

    For more options, visit https://groups.google.com/d/optout.
Hi Rohit,

This is problem is not specific to erpnext and a better forum to ask this about is Stackoverflow. You will get more interesting answers.

Thanks,
Anand.


On Mon, Aug 4, 2014 at 10:53 AM, Rohit Waghchaure <ro...@indictranstech.com> wrote:
Hi,

Apologies for duplicate mail.

On 30th july i have post this issue, but due to some issue it's not get reflected on forum and that's the reason, i have posted it again on the forum but found same issue. So please ignore this mails.

Sorry and Thanking you,


On Wed, Jul 30, 2014 at 1:53 PM, Rohit Waghchaure <ro...@indictranstech.com> wrote:
Hi,

To add footer in all print pages, i have write the below code

CSS code

@media print {
html, body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}

#footer {
position: absolute;
bottom: 0;
display: table-footer-group;
}
}

HTML code

<div id="footer">
<img src="/files/Footer.png" />
</div>

But it's working only for first page, for more details please find attachment
Is there any another way to add footer in all print pages?

Thanks, Rohit




Note:



If you are posting an issue,


  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.

  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.

  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email

  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.



    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/23149784-0eee-4556-956e-f9917f3533ac%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.




--
Thanks & Regards,

Rohit


Rohit Waghchaure

Software Developer

New Indictrans Technologies Pvt. Ltd. - Pune

Office: +91-20-65700800 | Mobile: +91-9011857174

www.indictranstech.com | Lat: 18.501994 Lon: 73.79766



This e-mail has arrived in your e-mail Inbox from New Indictrans Technologies Private Limited, Pune. Please do visit http://www.indictranstech.com/ to know more about New Indictrans Private Limited. This email is not spam. We follow 'US Unsolicited Electronic Mail Act of 2000', which states that an e-mail cannot be considered SPAM if it contains contact/removal information, which this e-mail does. This e-mail may contain proprietary and confidential information and is sent for the intended recipient(s) only. If, by an addressing or transmission error, this mail has been misdirected to you, you are requested to delete this mail immediately. You are also hereby notified that any use, any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication of this e-mail message, contents or it's attachment(s) other than by its intended recipient(s) is strictly prohibited. Any opinions expressed in this email are those of the individual and not necessarily of the organisation. Before opening attachment(s), please scan the attachment for viruses.". In case & if you do not wish to receive e-mail (the way you have received it today for what so ever cause or reasons) in near future? Reply back to this email saying "Remove e-mail ID". Within two working days your ID will be removed



Note:



If you are posting an issue,


  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.

  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.

  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email

  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.



    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/CAFsi8V0A%2BA8yZWkp67msi0xEtQXn%3DQE8Ek-tKK5F_S9%2BpNwQoQ%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.



Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/CAAQzbF1Rz1QJX%3Dnf899kYH69j5%3Dm-66Vf77kjcsde_3ZvGF3Vw%40mail.gmail.com.

    For more options, visit https://groups.google.com/d/optout.

Hi,
Have your resolved this ? I’ve the similar issue here. Mind to share how you solve it ?

@alan

In Print Settings, enabled field Repeat Header and Footer in PDF