i have tried the Code for link callback and to render the pdf i used my function print_issue_vouchers. i am using xhtml2pdf to render the pdf.
def print_i