Page 1 of 1

How to print pdf ??

Posted: Tue Aug 04, 2009 12:34 am
by ram.mahaseth
Hello there,
I am working on ERP application for a company.It requires reports (like purchase report,expense etc) to be generated in pdf.I already did that using FPDF class. Now I want that on the click of button "print pdf report" same report should be printed from the printer attached locally to computer. I don't want the user has to open
" file>print " to do the task.
what class should I use ?
How should I utilise the already generated pdf report ?

Re: How to print pdf ??

Posted: Tue Aug 04, 2009 7:31 am
by jackpf
You could use javascript to open the print prompt box.

I'm not sure about php...

Re: How to print pdf ??

Posted: Tue Aug 04, 2009 7:42 am
by onion2k