code: private function writePrintSettings($objWriter)
      {
          $objWriter->startElement('c:printSettings');
  
          $objWriter->startElement('c:headerFooter');
          $objWriter->endElement();
  
          $objWriter->startElement('c:pageMargins');
          $objWriter->writeAttribute('footer', 0.3);
          $objWriter->writeAttribute('header', 0.3);
          $objWriter->writeAttribute('r', 0.7);
          $objWriter->writeAttribute('l', 0.7);
          $objWriter->writeAttribute('t', 0.75);
          $objWriter->writeAttribute('b', 0.75);
          $objWriter->endElement();
  
          $objWriter->startElement('c:pageSetup');
          $objWriter->writeAttribute('orientation', 'portrait');
          $objWriter->endElement();
  
          $objWriter->endElement();
      }
docs: Write Printer Settings.
  
  @param XMLWriter $objWriter XML Writer