Print

1                   Add typoscript in Folder “Typoscript” [main typoscript ]

Typoscript :
print = PAGE
print {
bodyTag = <body onload=“window.print();”>
typeNum = 98
10 = USER
10.userFunc = tx_templavoila_pi1->main_page
}

 

2                   Typoscript for print :

lib.printlink < plugin.tx_cronprintlink_pi1
lib.printlink.typolink.additionalParams = &print=1

lib.printlink.linkContent = IMAGE
lib.printlink.linkContent.file = fileadmin/templates/img/buttons/read_more.gif

3                   Install Ext :  “Static Templates “

4                   A tag parameter should be “type=98&print=1”

Advertisements