tags:

views:

155

answers:

2

Hi, I have a webpage with header footer and all. when i print that page , i need to print with custom header and footer and specific page size also.. what all should i take into effect for this..

which one is better. by using php or using jquery plugins. i want more control on page layout

+3  A: 

you should use CSS maybe, and a special stylesheet for printable versions :

<link rel="stylesheet" type="text/css" media="print" href="print.css" />
darma
@darma - how do i disable the browser settings .like the file name which comes at beginning and bottom the date and page number?
pradeep
A: 

If you have your data using PHP from a DB you can use FPDF

Adnan