Different header for PDF

Hi all,

i am trying to put a different header to one of my action which will create pdf. i am using wickedPDF

this is my code for wicked_pdf.rb

WickedPdf.config = {
:wkhtmltopdf => ‘/opt/wkhtmltopdf’,
:layout => “pdf.html”,
:margin => { :top=> 40,
:bottom => 20,
:left=> 30,
:right => 30},
:header => {:html => { :template=> ‘layouts/pdf_header.html’}},
:footer => {:html => { :template=> ‘layouts/pdf_footer.html’}}
#:exe_path => ‘/usr/bin/wkhtmltopdf’

to all my pdf i get same header and footer but for one specific pdf i need a different header. how can i do that. can any one help me out…