[Vuejs]-Is there an a way to print value of input In certain places of the a4 paper via html javascript?

0👍

You can use print media to specify the content you are willing to print from the input.
The following example can help you to solve the problem.

   /* paste your input tages inside the media print */
    @media print {
        a:after {
            content:" (" attr(href) ") ";
            color: $primary;
        }
    }
  
/* print styles */
@media print {

  body {
    margin: 0;
    color: #000;
    background-color: #fff;
  }

/* page setup */

@page {
    margin-top: 2cm;
    margin-bottom: 2cm;
    margin-left: 2cm;
    margin-right: 2cm;
}

Leave a comment