FA reports that use the Header2 report template header are:

107 - Print Invoices
108 - Print Statements
109 - Print Sales Orders
110 - Print Deliveries / Packing Lists
111 - Print Sales Quotations
112 - Print Receipts
113 - Print Credit Notes 
209 - Print Purchase Orders
210 - Print Remittances 
409 - Print Work Orders

The lines that provide this template are:

$rep->SetHeaderType('Header2');
$rep->Info($params, $cols, null, $aligns);
  • Note that the third parameter in the Info() method is NULL since all headers are provided for within the template
  • The 'Header2' argument includes the includes/doctext.inc and includes/header2.inc files in that order
  • The header data is taken from includes/doctext.inc
  • The skeletal lines and background colours / fixed text along with headings / logos are provided by includes/header2.inc
  • Hardcoded logo size is prorata width (max 660 for A4) at 40 pixels height on line 75: $this->AddImage($logo, $ccol, $this->row, 0, 40);