print action

how to add print action in filament ?
6 Replies
awcodes
awcodes6mo ago
Action::make(‘print’)->alpineClickHandler(‘window.print()’)
alonemz
alonemzOP6mo ago
yes but this makes print the current page i want print like invoice kinda
Dennis Koch
Dennis Koch6mo ago
What you want is to generate a PDF. That’s not Filament specific , was asked here some times so you should find some info otherwise there should be Laravel tutorials for it.
alonemz
alonemzOP6mo ago
Oh yah ok Sir i have add new question sir related to filament can you see that https://discord.com/channels/883083792112300104/1244701110586048613
awcodes
awcodes6mo ago
Sorry, thought that’s what you were asking for.
Want results from more Discord servers?
Add your server