 .print{


   @page {
          width: auto;
          height: auto;
          page-break-after: always;
          }

 .printstop{


   @page {
          width: auto;
          height: auto;
          page-break-after: avoid
          }

