
How to convert PPT to PDF using PowerPointīefore converting a presentation to a PDF file, we recommend saving it as a PPT or PPTX file. This article explains how to convert a PowerPoint presentation to a PDF file and also how to share a presentation without sacrificing interactivity. High-resolution PDFs are ideal for sharing and printing static slides that have no multimedia or animation effects. In last step, we have to create view file " you want to make your PowerPoint presentation universal, printer-friendly and compact, then converting it to PDF may be a good idea. Public function pdfview(Request $request) this controller will manage data and genarate pdf file, so put bellow content in controller file: Make sure you should have items table with some data. Ok, now we should create new controller as ItemController in this path app/Http/Controllers/ItemController.php. so open your app/Http/routes.php file and add following Also: Laravel 5 import export to excel and csv using maatwebsite example.

In this is step we need to add route for generate view. Now open config/app.php file and add service provider and aliase. So first run bellow command in your terminal:

In first step we have to download laravel-dompdf plugin for generate pdf file from view blade file. So, finally you have to just follow few step and get pdf generate and download, first you have fresh project of Laravel 5 or Laravel 5.3 etc with work. In this example i have a one table "items" and i will download pdf file of items table data with tabular format, You can also write your own css on view file for pdf, so you can make batter pdf file.

In this post i use laravel-dompdf package for create pdf file and this package also provide to download function. In this tutorial i give you very simple way to create pdf file and give to download that pdf step by step for beginners. Normally, if we work on big ERP level project on laravel, we require to generate PDF file for data from database table.
