[Skip to main content](#vessel-content)

#   PDF Plugin Blank Pages

##

- **[davec](/forum/user/7092-davec "View davec's Profile")**
- [![davec's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7092-davec "View davec's Profile") Topic Author
- [ Offline](/forum/user/7092-davec)

Less More

- Posts: 447
- Thank you received: 20
-
-

6 years 5 months ago [\#319174](#319174) by [davec](/forum/user/7092-davec "View davec's Profile")  *[PDF Plugin Blank Pages](/forum/35-orders-management/899872-pdf-plugin-blank-pages#319174 "-- url of the page with the problem -- :   www.toysarama.co.uk/  -- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.18  Hi  I have installed the PDF plugin so that multiple invoices can be printed. However when you print multiple invoices you get a blank page between each one. Is there a way to prevent this?  Thanks  Dave B)")* was created by *[davec](/forum/user/7092-davec "View davec's Profile")*

-- url of the page with the problem -- : [ www.toysarama.co.uk/](https://www.toysarama.co.uk/)
-- HikaShop version -- : 4.3.0
-- Joomla version -- : 3.9.18

Hi

I have installed the PDF plugin so that multiple invoices can be printed. However when you print multiple invoices you get a blank page between each one. Is there a way to prevent this?

Thanks

Dave ![B)](/media/kunena/emoticons/9.png "B)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL29yZGVycy1tYW5hZ2VtZW50Lzg5OTg3Mi1wZGYtcGx1Z2luLWJsYW5rLXBhZ2VzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

6 years 5 months ago [\#319176](#319176) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[PDF Plugin Blank Pages](/forum/35-orders-management/899872-pdf-plugin-blank-pages#319176 "-- url of the page with the problem -- :   www.toysarama.co.uk/  -- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.18  Hi  I have installed the PDF plugin so that multiple invoices can be printed. However when you print multiple invoices you get a blank page between each one. Is there a way to prevent this?  Thanks  Dave B)")*

Hi,

Try changing the line: Code:

$content = implode('&lt;div style="page-break-before:always"&gt;&lt;/div&gt;',$pdfContent);

to: Code:

$content = implode('',$pdfContent);

in the file plugins/hikashop/attachinvoice/attachinvoice.php
I think it should work.

The following user(s) said Thank You: [davec](/forum/user/7092-davec "View davec's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL29yZGVycy1tYW5hZ2VtZW50Lzg5OTg3Mi1wZGYtcGx1Z2luLWJsYW5rLXBhZ2VzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[davec](/forum/user/7092-davec "View davec's Profile")**
- [![davec's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7092-davec "View davec's Profile") Topic Author
- [ Offline](/forum/user/7092-davec)

Less More

- Posts: 447
- Thank you received: 20
-
-

6 years 5 months ago [\#319311](#319311) by [davec](/forum/user/7092-davec "View davec's Profile")  Replied by *[davec](/forum/user/7092-davec "View davec's Profile")* on topic *[PDF Plugin Blank Pages](/forum/35-orders-management/899872-pdf-plugin-blank-pages#319311 "-- url of the page with the problem -- :   www.toysarama.co.uk/  -- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.18  Hi  I have installed the PDF plugin so that multiple invoices can be printed. However when you print multiple invoices you get a blank page between each one. Is there a way to prevent this?  Thanks  Dave B)")*

Thanks Nicolas

all worked as expected. Excellent!!

Dave

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL29yZGVycy1tYW5hZ2VtZW50Lzg5OTg3Mi1wZGYtcGx1Z2luLWJsYW5rLXBhZ2VzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.066 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
