              <p:printer target="panelPrint" />
                    </p:commandButton>
                </h:panelGrid>


                <p:panel id="panelPrint">

                    <p:dataTable id="sum1" value="#{pharmacySaleReportController.categoryMovementReportRows}" var="i" >   
                    <!--<p:dataTable id="sum1" value="#{pharmacySaleReportController.categoryMovementReportRows}" var="i" stickyHeader="true">-->   
                        <f:facet name="header">
                            <