This might be *close* to what you're asking for, but might not exactly meet your requirements.
We just added the ability to support Liferay "Print" mode, which is vendor-specific to Liferay Portal. For more info on how to use it, see
FACES-1471.
The only file we had to fix in order to support this was
GenericLiferayFacesPortlet.java but since it hasn't been released yet you would have to copy it into your portlet project.
When a portlet supports the Print mode, there will be a decoration for it that you can click on in the portlet titlebar.
Please sign in to flag this as inappropriate.