How to use Navbar logo in Print format?

Create a print format with NinjaTemplate and ensure the navbar setting logo is visible in the print format. or If I have an image, provide the code for integrating it into the NinjaTemplate.

@nelson_d try this :

{% set img = frappe.get_doc("Navbar Settings").app_logo %}
<img src="{{img}}" alt="app_logo" width="500" height="600">