API to send pdf
$pdf = PDF::loadView($view, $data)->setPaper(‘a4’, ‘portrait’);
$pdf_encoded = $pdf->stream(‘abc.pdf’);
return $pdf_encoded;
how to read pdf file and then down in angular2??
API to send pdf
$pdf = PDF::loadView($view, $data)->setPaper(‘a4’, ‘portrait’);
$pdf_encoded = $pdf->stream(‘abc.pdf’);
return $pdf_encoded;
how to read pdf file and then down in angular2??