L
L
lagudal2020-06-10 13:57:52
css
lagudal, 2020-06-10 13:57:52

Is it possible to hide a blank page from printing with css?

In a nutshell, when printing individual elements of the IM - in my case, this is Magento 2 - orders, invoices, etc. , very often the last page is empty, I can’t say exactly what it is connected with. Well, if someone decides to print on paper, then it does not matter - you can mark the necessary pages that need to be printed. The problem is that these documents are generated in PDF and automatically sent to clients. Well, it’s not very good when the last page is empty. Not always, but nonetheless.
Styles for printing in M2 are separate, maybe it is possible to solve this problem with purely styles?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
hzzzzl, 2020-06-10
@hzzzzl

Well, I guess there is @media print, maybe it will help somehow

5ee0c7c9c0f4b205117425.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question