перенаправление после печати JavaScript
window.print();
window.onafterprint = function(event) {
window.location.href = 'index.php'
};
Horrible Hyena
window.print();
window.onafterprint = function(event) {
window.location.href = 'index.php'
};