diff --git a/frappe/print/page/print_format_builder/print_format_builder.js b/frappe/print/page/print_format_builder/print_format_builder.js
index 89d5b722bb..21fc6e8fc3 100644
--- a/frappe/print/page/print_format_builder/print_format_builder.js
+++ b/frappe/print/page/print_format_builder/print_format_builder.js
@@ -457,6 +457,9 @@ frappe.PrintFormatBuilder = Class.extend({
},
setup_edit_heading: function() {
var me = this;
+ if (!me.print_heading_template) {
+ $(this.page.main.find(".print-heading")).html('
'+me.print_format.doc_type+'
{{ doc.name }}
')
+ }
this.page.main.find(".edit-heading").on("click", function() {
var $heading = $(this).parents(".print-format-builder-header:first")
.find(".print-format-builder-print-heading");
diff --git a/frappe/print/page/print_format_builder/print_format_builder_layout.html b/frappe/print/page/print_format_builder/print_format_builder_layout.html
index 713bf1643a..0d9c9293a7 100644
--- a/frappe/print/page/print_format_builder/print_format_builder_layout.html
+++ b/frappe/print/page/print_format_builder/print_format_builder_layout.html
@@ -8,8 +8,11 @@
{%= __("Edit Heading") %}