Serve Print formats: letterhead and pagination?

Hi guys, 

The new Server print formats is really much better than the Client version (given that I am familiar with jinja).
Ok but looking through the sample , there are two things missing:
- How to add letterhead to the custom Print Format (cos I try and it's not there, automatically)
- How to deal with pagination when the items grow out of space ? 

Just some quick pointer will do.
Thank you!!!


  1. Please be kind and don't send large attachments
  2. For issues, features requests use https://github.com/frappe/erpnext/issues



    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/252a98e0-1bba-40cd-aff7-d69fa5f8b1cd%40googlegroups.com.

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


On 24-Sep-2014, at 9:50 am, Nguyen Do Le Bao <na...@gmail.com> wrote:

Hi guys, 

The new Server print formats is really much better than the Client version (given that I am familiar with jinja).
Ok but looking through the sample , there are two things missing:
- How to add letterhead to the custom Print Format (cos I try and it's not there, automatically)

Letter head is just "letter_head" (check these properties)

https://github.com/frappe/frappe/blob/develop/frappe/templates/pages/print.py#L77

- How to deal with pagination when the items grow out of space ? 

Hard problem!!

There is a "page_break" field in most tables that will manually allow you to add "page-break-after"

Please share if you come up with a good idea.


Just some quick pointer will do.
Thank you!!!


  1. Please be kind and don’t send large attachments
  2. For issues, features requests use https://github.com/frappe/erpnext/issues



    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/252a98e0-1bba-40cd-aff7-d69fa5f8b1cd%40googlegroups.com.

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


  1. Please be kind and don't send large attachments
  2. For issues, features requests use https://github.com/frappe/erpnext/issues



    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/08F56DFD-CEBB-4DF5-82CE-355CCE90F807%40gmail.com.

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