B
B
bernex2015-07-02 21:48:10
JavaScript
bernex, 2015-07-02 21:48:10

How to print to the printer page by page from the browser?

You can (for example) issue a print job in chrome (he is interested) at once and know that this cast will be on the first page, this one on the second. It can be done?
Are there any specific chromium builds for print management or extensions?
It turns out that he can do everything, but there is no controlled printing!
Conditions: kiosk mode.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Moskus, 2015-07-03
@Moskus

Hmm, why do you need any builds or plug-ins, if in general, to break pages when printing from a browser, it is enough to use a style like

@media print {
.page  {
    page-break-inside: avoid;
     page-break-after: always;
}
}

for the elements in which each individual page will be wrapped. You may need to fiddle with -webkit properties like -webkit-region-break-inside: avoid;.
Also, of course, you should monitor the positioning inside the page so that nothing crawls out of it.
There were other tricks, I don't know if they are relevant for Chromium.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question