Skip to content

A5 size invoice which made in laravel. you can download these as well as print via printer. file is in PDF format.

Notifications You must be signed in to change notification settings

mohammadsadique/Print-Invoice-In-Laravel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Print-Invoice-In-Laravel

A5 size invoice which made in laravel. you can download these as well as print via printer. file is in PDF format.

niklasravnsborg/laravel-pdf (Package)

Blade Page

page size you can set like these:
@page { sheet-size: A5; } ( in your CSS )

Controller

$pdf = PDF::loadView(blade page name);
return $pdf->stream(pdfname.pdf);  
return $pdf->download(pdfname.pdf); 
$pdf->save('path of folder/'.$pdffilenameWithextension); // $pdffilenameWithextension = pdfname.pdf;

Using :
stream : you can directly view pdf.
download : As his name said all the things you can download the pdf file.
save : Save pdf file in your project folder.

Having Any Dought Contact Me

I try to answer you as soon as posible.

Email: mdsadiquedeveloper@gmail.com
WhatsApp Web (91) 97705-99354
WhatsApp Mobile (91) 97705-99354

About

A5 size invoice which made in laravel. you can download these as well as print via printer. file is in PDF format.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published