# Header in print mode, When the number of pages increases, the header size increases

**URL:** <https://community.dhis2.org/t/header-in-print-mode-when-the-number-of-pages-increases-the-header-size-increases/64489>\
**Category:** Support - Assistance technique\
**Created:** [12 April 2025 08:08 UTC](https://community.dhis2.org/t/header-in-print-mode-when-the-number-of-pages-increases-the-header-size-increases/64489 "2025-04-12T08:08:22Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eng.Ali\_Hameed](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/eng.ali_hameed/32/33280_2.png) [@Eng.Ali\_Hameed](https://community.dhis2.org/u/Eng.Ali_Hameed)\
**Post date:** [12 April 2025 08:08 UTC](https://community.dhis2.org/t/header-in-print-mode-when-the-number-of-pages-increases-the-header-size-increases/64489/1 "2025-04-12T08:08:22Z")

</div>

Hello

I’m using {  
“app\_name”: “Dashboard”,  
“app\_version”: “101.2.1”,  
“dhis2\_version”: “2.41.3”,  
“dhis2\_revision”: “9c942a6”  
}

When the number of pages increases, the header size increases.

Here are some screenshots and an illustrative PDF file.

I don’t know why the recent dhis2 update has been causing so many problems.

```auto
[Dashboard _ DHIS2-2.pdf|attachment](upload:// ubQFGqLBzG6PPE4x8XUt3ZGywhy.pdf) (221.6 KB)

```

 ![2025-04-12_104113](https://dhis2.b-cdn.net/uploads/default/original/3X/b/3/b3b726c42a63c5990a20c96b757e43991924b64d.png)

---

<div class="post-metadata">

**Author:** ![Gassim](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/gassim/32/35347_2.png) [@Gassim](https://community.dhis2.org/u/Gassim)\
**Post date:** [14 April 2025 18:49 UTC](https://community.dhis2.org/t/header-in-print-mode-when-the-number-of-pages-increases-the-header-size-increases/64489/2 "2025-04-14T18:49:20Z")

</div>

Hi @Eng.Ali_Hameed

Thanks for your posts and for sharing with the community. By default the Dashboard name (Title/heading) will appear in the first page seperately.

I checked out the PDF you shared and I don’t see an issue with the heading, so would you please like to clarify further?

Thank you!

---

<div class="post-metadata">

**Author:** ![Eng.Ali\_Hameed](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/eng.ali_hameed/32/33280_2.png) [@Eng.Ali\_Hameed](https://community.dhis2.org/u/Eng.Ali_Hameed)\
**Post date:** [15 April 2025 06:16 UTC](https://community.dhis2.org/t/header-in-print-mode-when-the-number-of-pages-increases-the-header-size-increases/64489/3 "2025-04-15T06:16:49Z")

</div>

In the PDF, open page 19 and you’ll notice that the header size is larger than it was on the first few pages.

---

<div class="post-metadata">

**Author:** ![Gassim](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/gassim/32/35347_2.png) [@Gassim](https://community.dhis2.org/u/Gassim)\
**Post date:** [15 April 2025 07:53 UTC](https://community.dhis2.org/t/header-in-print-mode-when-the-number-of-pages-increases-the-header-size-increases/64489/4 "2025-04-15T07:53:42Z")

</div>

Hi @Eng.Ali_Hameed

Would you please double check from your side that we’re looking at the same PDF because it appears the same to me? Here’s a screenshot:

 ![image](https://dhis2.b-cdn.net/uploads/default/original/3X/4/5/45471b6b267de6328b7b0d926e6a99364e0e06b9.png)

Thanks!

---

<div class="post-metadata">

**Author:** ![Eng.Ali\_Hameed](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/eng.ali_hameed/32/33280_2.png) [@Eng.Ali\_Hameed](https://community.dhis2.org/u/Eng.Ali_Hameed)\
**Post date:** [15 April 2025 15:10 UTC](https://community.dhis2.org/t/header-in-print-mode-when-the-number-of-pages-increases-the-header-size-increases/64489/5 "2025-04-15T15:10:50Z")

</div>

Hi @Gassim

Yes, this is the file. When focusing on the header, it is smaller on the first pages than on the last pages.  
I made a black line on the header size to clarify.

 ![20250415_180821](https://dhis2.b-cdn.net/uploads/default/original/3X/8/9/890fe7712a24df33e659d1435143b6a82b4be882.jpeg)

Thank you

---

<div class="post-metadata">

**Author:** ![Eng.Ali\_Hameed](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/eng.ali_hameed/32/33280_2.png) [@Eng.Ali\_Hameed](https://community.dhis2.org/u/Eng.Ali_Hameed)\
**Post date:** [15 April 2025 15:13 UTC](https://community.dhis2.org/t/header-in-print-mode-when-the-number-of-pages-increases-the-header-size-increases/64489/6 "2025-04-15T15:13:31Z")

</div>

Hi @Gassim

This is another file I downloaded from (dhis2 play v2.41.3.1)  
I named it test.  
You will notice that the header is not equal between the first and last pages.

Thanks

```auto
[Dashboard _ DHIS2 from dhis2 play v2.41.3.1.pdf|attachment](upload://zm3GPRs6pCdaYa7BiSysHNgXbvS.pdf) (2.0 MB)

```

---

<div class="post-metadata">

**Author:** ![Gassim](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/gassim/32/35347_2.png) [@Gassim](https://community.dhis2.org/u/Gassim)\
**Post date:** [23 April 2025 13:51 UTC](https://community.dhis2.org/t/header-in-print-mode-when-the-number-of-pages-increases-the-header-size-increases/64489/7 "2025-04-23T13:51:59Z")

</div>

Hi @Eng.Ali_Hameed  
Thanks for the clarification! Yes, I noticed that the top margin (heading space) is getting bigger and bigger. ~~Would you kindly create a jira bug issue on [jira.dhis2.org](http://jira.dhis2.org)?~~

```auto
Update
--
I've created the ticket on your behalf, please watch to receive notifications.

```

[Dashboard print PDF - top margin keeps getting bigger and bigger in each page - DHIS2-19524](https://dhis2.atlassian.net/browse/DHIS2-19524)

Thanks!
