how to print data from select when option is selected with submit button and where id

how to print data from select when option is selected with submit button and where id

hello, how to retrieve data from the select option we throw to the button
i have select option

// code

<div class="col-md-5">

      <div class="form-group">

                                    <label for=""></label>

                                    <select name="" id="company" " class="form-control">

                                        <option value="">--- select company ---</option>

                                        @foreach ($customer as $c)

                                            <option value="{{ $c[0] }}">{{ $c[1] }}</option>

                                        @endforeach

                                    </select>

                                </div>

                                <button class="btn btn-primary btn-sm" onchange="printQr(this.value)" target="_blank" type="submit"><i class="fa fa-print"></i> Print</button>

                            </div>

 if I select the select option, the button can take the value and be made as a parameter for the action. and that dynamically


 

please hepl me!