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

#   Invoice Printing Question

##

- **[joelstad](/forum/user/1677-joelstad "View joelstad's Profile")**
- [![joelstad's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1677.png)](/forum/user/1677-joelstad "View joelstad's Profile") Topic Author
- [ Offline](/forum/user/1677-joelstad)

Less More

- Posts: 38
- Thank you received: 0
-
-
-
-

15 years 6 months ago [\#16086](#16086) by [joelstad](/forum/user/1677-joelstad "View joelstad's Profile")  *[Invoice Printing Question](/forum/4-how-to/16086-invoice-printing-question#16086 "I've noticed when I print invoices, the system appears to be automatically inserting more white space between item number 15 and 16 (I assume to manage the page break).  I changed my invoices and removed a lot of extra stuff at the top moving this extra space up.  Now when I print work orders, one of the products is cut off or in half and didn't print correctly. Is there a way to fix this?  --Joel")* was created by *[joelstad](/forum/user/1677-joelstad "View joelstad's Profile")*

I've noticed when I print invoices, the system appears to be automatically inserting more white space between item number 15 and 16 (I assume to manage the page break).

I changed my invoices and removed a lot of extra stuff at the top moving this extra space up.

Now when I print work orders, one of the products is cut off or in half and didn't print correctly. Is there a way to fix this?

--Joel

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE2MDg2LWludm9pY2UtcHJpbnRpbmctcXVlc3Rpb24/dG1wbD1tYXJrZG93bg==) 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: 86561
- Thank you received: 14307
-
-

15 years 6 months ago [\#16096](#16096) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Invoice Printing Question](/forum/4-how-to/16086-invoice-printing-question#16096 "I've noticed when I print invoices, the system appears to be automatically inserting more white space between item number 15 and 16 (I assume to manage the page break).  I changed my invoices and removed a lot of extra stuff at the top moving this extra space up.  Now when I print work orders, one of the products is cut off or in half and didn't print correctly. Is there a way to fix this?  --Joel")*

HikaShop does not handle the printing but just tells the browser to print the page of the invoice. What you could do though is to use the HTML tag below in order to tell to the browser to start a new page :
&lt;div style="page-break-after:always"&gt;&lt;/div&gt;

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

- **[joelstad](/forum/user/1677-joelstad "View joelstad's Profile")**
- [![joelstad's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1677.png)](/forum/user/1677-joelstad "View joelstad's Profile") Topic Author
- [ Offline](/forum/user/1677-joelstad)

Less More

- Posts: 38
- Thank you received: 0
-
-
-
-

15 years 6 months ago [\#16100](#16100) by [joelstad](/forum/user/1677-joelstad "View joelstad's Profile")  Replied by *[joelstad](/forum/user/1677-joelstad "View joelstad's Profile")* on topic *[Re: Invoice Printing Question](/forum/4-how-to/16086-invoice-printing-question#16100 "I've noticed when I print invoices, the system appears to be automatically inserting more white space between item number 15 and 16 (I assume to manage the page break).  I changed my invoices and removed a lot of extra stuff at the top moving this extra space up.  Now when I print work orders, one of the products is cut off or in half and didn't print correctly. Is there a way to fix this?  --Joel")*

Will this work in the loop of listing the order to be printed? The problem I'm having is if there is an order of 14 products, it prints fine. If there are 15, it prints ok as well. But if someone orders 16 products, it cuts the 16th product in half and it displays some of the product information on one page and some of it on the next.

Remember I added the bar codes to the invoices? It cuts those in half as well...

--Joel

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE2MDg2LWludm9pY2UtcHJpbnRpbmctcXVlc3Rpb24/dG1wbD1tYXJrZG93bg==) 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: 86561
- Thank you received: 14307
-
-

15 years 6 months ago [\#16102](#16102) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Invoice Printing Question](/forum/4-how-to/16086-invoice-printing-question#16102 "I've noticed when I print invoices, the system appears to be automatically inserting more white space between item number 15 and 16 (I assume to manage the page break).  I changed my invoices and removed a lot of extra stuff at the top moving this extra space up.  Now when I print work orders, one of the products is cut off or in half and didn't print correctly. Is there a way to fix this?  --Joel")*

Why not add a small check in your foreach of products ? You could count the number of products and when reaching the 16th, you would close the table, add that HTML tag and open a new table before starting the display of the product.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE2MDg2LWludm9pY2UtcHJpbnRpbmctcXVlc3Rpb24/dG1wbD1tYXJrZG93bg==) 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.047 seconds

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