Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Header and Footer for Canvas Printing

    Hi Team,

    While printing a canvas in which we have a ListGrid can we print some header and footer along with it?

    If yes can you give us some sample so that we need to give it a try.

    We are working on the below environment:
    SmartClient version : Isomorphic SmartClient/SmartGWT Framework (9.1p_2014-10-26/PowerEdition Deployment 2014-10-26)

    Browser : IE9

    Thanks in advance.

    #2
    The ListGrid already prints headers as part of normal printing functionality, as you can see in many samples.

    Please be more specific.

    Comment


      #3
      Header and Footer while printing the Canvas.

      Hi Team,

      While printing I want the logo of my company and name of the company and some other details like legal information to be part of each page as the header.

      Is it possible to do this using smartclient?

      Similar is the case with footer too.
      I want to include the signature , date and other official information with which the user can take printout and then use it as a filing document.

      Note that these info like header and footer will not be shown in the UI rather it should get printed automatically when user tries to print and should even show in the Print Preview if possible.

      Comment


        #4
        Presumably you're using the canvas.showPrintPreview() API?
        This method can take an array of components as the first argument.
        So, if you create components to hold your custom header / footer text, but never draw them within your app, you could have the 'showPrintPreview()' call pass in the header, the other UI you want to print, and then the footer as an array of options.
        This should cause the header/footer to show up in the print view but not in the normal app view.

        Regards
        Isomorphic Software

        Comment

        Working...
        X