Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Joshua 6 posts 76 karma points
    Nov 07, 2016 @ 11:08
    Joshua
    0

    xslt

    I am using xslfo for designing my template Layout

    I want to print my company logo in second page header left Top, Can you please help me by assisting with code

  • Eric Petersson 33 posts 117 karma points
    Nov 07, 2016 @ 12:16
    Eric Petersson
    0

    Do you mean that you would like to have the oppertunity to share a print button somewhere on a page that in its place prints the logotype of the company?

    In that case you could create a macro to insert on the page in need and in the macro itself open the print dialog:

    <a href="javascript:window.print()">Print my logotype</a>
    
  • Joshua 6 posts 76 karma points
    Nov 08, 2016 @ 10:30
    Joshua
    0

    Hi Eric,

    I have used this below code

    I have declared my Logo in Left Top

    enter image description here

    I have used header-first and header-rest as region-name in simple-page-master

    And I refered those simple-page-master master-name in page-sequence-master

    enter image description here

    enter image description here

    enter image description here

    When I use header-rest along with header-first ,my logo is printing in first page and also in all pages in left top of header,so currently I am commenting LefTop variable in header-rest

    But I want my logo to print only in first and second page of leftTop header and not in rest of the pages

    For Page numbers I am using this code

    enter image description here

    Is there any conditions based on page numbers for printing logo only in first and second pages

    Could you please help me to reach out this..

Please Sign in or register to post replies

Write your reply to:

Draft