How to change default print orientation in print view - InfoPath Dev
in

InfoPath Dev

How to change default print orientation in print view

Last post 10-16-2008 02:58 AM by Graeme. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 10-10-2008 12:48 PM

    • Jeff S
    • Not Ranked
    • Joined on 08-13-2008
    • Posts 2

    How to change default print orientation in print view

    I was reading some of the postings in Infopath Dev when I came across a posting that indicated the default print orientation of the form can be changed programmatically. I just recently started working with InfoPath and have not identified a good programming reference for Infopath 2007. Do you have an example of this code?This is what I am trying to accomplish. I have a paper form that is 2 pages. The first page is in portrait orientation and the second page is in landscape orientation.  I plan on building a form template that has three views. The default view will be used for the data entry for both pages and will be in portrait orientation. The second view will be a print view of page 1 and this will also be in portrait orientation. The third view will be a print view of page 2 and this will be formatted for landscape orientation. I have an application that I use for automating the printing of the forms as TIF files. It locates all the forms that are ready to be printed and then prints each form using the PrintOut command. If I could change the forms print orientation before printing the third view this would solve my problem. Do you know if this is possible using managed code?Any help or suggestions would be greatly appreciated.

     

    Filed under: , ,
  • 10-13-2008 01:56 AM In reply to

    Re: How to change default print orientation in print view

    Hi,

    Can you go through the below link

    http://www.infopathdev.com/forums/t/3023.aspx

    I hope it might help you.

     

    Thanks,
    Sandhya


  • 10-16-2008 02:58 AM In reply to

    Re: How to change default print orientation in print view

    I have a similar issue but your link doesn't really answer the posters question.

    I think the question is how to change the orientation at run time, not by editing the xsf file in notepad...

    I would like to be able to print one page within a form view as landscape and all the others as portrait. Any takers?

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