If you enable temporary debug config setting in the Configuration manager, then you can do a dump of the html code.
You trigger the dump of html instead of a pdf by adding:
- &debughtml=text for readable text
- or &debughtml=html for html that is rendered in the browser
The @TPLBASE@ is defined as:
'@TPLBASE@' => DOKU_BASE . 'lib/plugins/dw2pdf/tpl/' . $this->tpl . '/'
So it includes already the tpl-directory that is active for the exported page.