Print multiple pages with different page layouts - InfoPath Dev
in

InfoPath Dev

Print multiple pages with different page layouts

Last post 04-08-2008 07:39 AM by Veronka. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 04-07-2008 01:01 PM

    Print multiple pages with different page layouts

    I am trying to accomplish following task, through InfoPath 2007 client Automation.

    Fill out a form, automatically. Then, depending on user option, Print
    OR/AND Email. Email has to be done as a PDF attachement.

    The form is a 2 page form. First page setup has to be Landscape, second one
    has to be Portrait.

    What I did:

    1) Design 2 Views for the 2 pages
    2) Write C# external application to fill out the form
    3) Swhich between views to print out the 2 different pages

    I want to save both views into 1 single PDF document. How do I do this?
    Any ather approach to do this?

     

     

    Filed under:
  • 04-07-2008 01:52 PM In reply to

    Re: Print multiple pages with different page layouts

    You probably need a third view, which is the combine print out of both (has both pages seperated by a page break). Make this the default print view for both pages and then print this to PDF.

    You can create an email submit to generate the attached or embedded email version.

  • 04-08-2008 04:53 AM In reply to

    Re: Print multiple pages with different page layouts

    I tried this already... I cannot set different page layouts(one Portrait, one Landscape) on the third view. Am I missing something?

  • 04-08-2008 07:24 AM In reply to

    Re: Print multiple pages with different page layouts

    Ahh yes that is true.

    So you would need seperate print views.

    So possibly you would need to print and then switch views and then print the other. And also keep your pdf writer open so that they are on the same page.

    Or maybe pritn to file and then have another print process that prints them both again.  That is the only way I can think of to get them together in one PDF.

  • 04-08-2008 07:39 AM In reply to

    Re: Print multiple pages with different page layouts

    Clay Fox:
    And also keep your pdf writer open so that they are on the same page

    Not sure I understand... What PDF Writer are you refering to? (Is this another .dll which require another licence? -- if yes, any other workaround?)

    Right now to export the default view to PDF I use 

                             myXDoc.View.Export(strFormName, "PDF");

    Thanks,

    - Veronka

     

     

Page 1 of 1 (5 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.