The Plone Client connector allows you to define your own resource directories containing
First you need your own policy - e.g. zopyx.theme. Inside the configure.zcml file of your zopyx.theme you need to register a sub-directory using the smartprintng:resourceDirectory directive:
<configure
xmlns="http://namespaces.zope.org/zope"
xmlns:zcml="http://namespaces.zope.org/zcml"
xmlns:smartprintng="http://namespaces.zopyx.com/smartprintng"
>
<smartprintng:resourceDirectory
name="zopyx_resource"
directory="resources_pdf"
/>
</configure>
The registered resources_pdf directory must contain all resource files as flat structure (no sub-directories). The name parameter relates to the optional resource URL parameter as use for the @@asPlainPDF browser view.