How to print pdf ??

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
ram.mahaseth
Forum Newbie
Posts: 5
Joined: Mon Aug 03, 2009 4:18 am

How to print pdf ??

Post 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 ?
User avatar
jackpf
DevNet Resident
Posts: 2119
Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK

Re: How to print pdf ??

Post by jackpf »

You could use javascript to open the print prompt box.

I'm not sure about php...
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Re: How to print pdf ??

Post by onion2k »

Post Reply